mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
3b88f74bbe
This backports some more patches from kernel 4.11 adding more devices to the device tree of the A64 SoC. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From f74994a94063bc85ac1d6ad677ed06b5279c101f Mon Sep 17 00:00:00 2001
|
|
From: Chen-Yu Tsai <wens@csie.org>
|
|
Date: Wed, 31 May 2017 15:58:24 +0800
|
|
Subject: arm64: allwinner: a64: Add PLL_PERIPH0 clock to the R_CCU
|
|
|
|
The AR100 clock within the R_CCU (PRCM) has the PLL_PERIPH0 as one of
|
|
its parents.
|
|
|
|
This adds the reference in the device tree describing this relationship.
|
|
This patch uses a raw number for the clock index to ease merging by
|
|
avoiding cross tree dependencies.
|
|
|
|
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
|
|
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
|
|
---
|
|
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
@@ -403,8 +403,9 @@
|
|
r_ccu: clock@1f01400 {
|
|
compatible = "allwinner,sun50i-a64-r-ccu";
|
|
reg = <0x01f01400 0x100>;
|
|
- clocks = <&osc24M>, <&osc32k>, <&iosc>;
|
|
- clock-names = "hosc", "losc", "iosc";
|
|
+ clocks = <&osc24M>, <&osc32k>, <&iosc>,
|
|
+ <&ccu 11>;
|
|
+ clock-names = "hosc", "losc", "iosc", "pll-periph";
|
|
#clock-cells = <1>;
|
|
#reset-cells = <1>;
|
|
};
|