arm64: dts: meson: g12a: Add AO Clock + Reset Controller support
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 18 Mar 2019 09:58:44 +0000 (10:58 +0100)
committerKevin Hilman <khilman@baylibre.com>
Fri, 22 Mar 2019 22:43:09 +0000 (15:43 -0700)
Add nodes and properties for the AO Clocks and Resets.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
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 dcc821cf35bb8a535fb0f995b02e213cb124804d..abfa167751afc62e2ec8a338bc4f1f4dc6d31886 100644 (file)
                        #size-cells = <2>;
                        ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>;
 
+                       rti: sys-ctrl@0 {
+                               compatible = "amlogic,meson-gx-ao-sysctrl",
+                                            "simple-mfd", "syscon";
+                               reg = <0x0 0x0 0x0 0x100>;
+                               #address-cells = <2>;
+                               #size-cells = <2>;
+                               ranges = <0x0 0x0 0x0 0x0 0x0 0x100>;
+
+                               clkc_AO: clock-controller {
+                                       compatible = "amlogic,meson-g12a-aoclkc";
+                                       #clock-cells = <1>;
+                                       #reset-cells = <1>;
+                                       clocks = <&xtal>, <&clkc CLKID_CLK81>;
+                                       clock-names = "xtal", "mpeg-clk";
+                               };
+                       };
+
                        sec_AO: ao-secure@140 {
                                compatible = "amlogic,meson-gx-ao-secure", "syscon";
                                reg = <0x0 0x140 0x0 0x140>;