arm64: allwinner: a64: Add PLL_PERIPH0 clock to the R_CCU
authorChen-Yu Tsai <wens@csie.org>
Wed, 31 May 2017 07:58:24 +0000 (15:58 +0800)
committerChen-Yu Tsai <wens@csie.org>
Sat, 3 Jun 2017 02:04:49 +0000 (10:04 +0800)
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

index c7f669f5884f910c6e4be44ac1dd09a216cb97f0..166c9ef884dc6e52432e0030d06f1b7036d2c428 100644 (file)
                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>;
                };