ARM: sunxi: h3-h5: Add PLL_PERIPH0 clock to the R_CCU
authorChen-Yu Tsai <wens@csie.org>
Wed, 31 May 2017 07:58:22 +0000 (15:58 +0800)
committerChen-Yu Tsai <wens@csie.org>
Sat, 3 Jun 2017 02:04:48 +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/arm/boot/dts/sunxi-h3-h5.dtsi

index d0067fec99dec65fe7d357a7413ae95e38a24273..d4f600dbb7eb8dc7b5f922e9334c5dddf3528296 100644 (file)
                r_ccu: clock@1f01400 {
                        compatible = "allwinner,sun8i-h3-r-ccu";
                        reg = <0x01f01400 0x100>;
-                       clocks = <&osc24M>, <&osc32k>, <&iosc>;
-                       clock-names = "hosc", "losc", "iosc";
+                       clocks = <&osc24M>, <&osc32k>, <&iosc>,
+                                <&ccu 9>;
+                       clock-names = "hosc", "losc", "iosc", "pll-periph";
                        #clock-cells = <1>;
                        #reset-cells = <1>;
                };