OSDN Git Service

arm64: dts: meson-axg: add clock DT info for Meson AXG SoC
authorQiufang Dai <qiufang.dai@amlogic.com>
Mon, 11 Dec 2017 14:13:47 +0000 (22:13 +0800)
committerKevin Hilman <khilman@baylibre.com>
Fri, 15 Dec 2017 19:56:37 +0000 (11:56 -0800)
Try to add Hiubus DT info, and also enable clock DT info
for the Amlogic's Meson-AXG SoC.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Qiufang Dai <qiufang.dai@amlogic.com>
Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-axg.dtsi

index e7213eb..01beb21 100644 (file)
                        #address-cells = <0>;
                };
 
+               hiubus: bus@ff63c000 {
+                       compatible = "simple-bus";
+                       reg = <0x0 0xff63c000 0x0 0x1c00>;
+                       #address-cells = <2>;
+                       #size-cells = <2>;
+                       ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>;
+
+                       clkc: clock-controller@0 {
+                               compatible = "amlogic,axg-clkc";
+                               #clock-cells = <1>;
+                               reg = <0x0 0x0 0x0 0x320>;
+                       };
+               };
+
                mailbox: mailbox@ff63dc00 {
                        compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
                        reg = <0 0xff63dc00 0 0x400>;