arm64: dts: meson: g12a: add peripheral clock controller
authorJerome Brunet <jbrunet@baylibre.com>
Fri, 8 Feb 2019 10:14:05 +0000 (11:14 +0100)
committerKevin Hilman <khilman@baylibre.com>
Fri, 8 Feb 2019 17:31:50 +0000 (09:31 -0800)
Add the peripheral clock controller to the g12a SoC DT

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi

index 3be649e..191d31d 100644 (file)
                                #address-cells = <2>;
                                #size-cells = <2>;
                                ranges = <0x0 0x0 0x0 0x3c000 0x0 0x1400>;
+
+                               hhi: system-controller@0 {
+                                       compatible = "amlogic,meson-gx-hhi-sysctrl",
+                                                    "simple-mfd", "syscon";
+                                       reg = <0 0 0 0x400>;
+
+                                       clkc: clock-controller {
+                                               compatible = "amlogic,g12a-clkc";
+                                               #clock-cells = <1>;
+                                               clocks = <&xtal>;
+                                               clock-names = "xtal";
+                                       };
+                               };
                        };
                };