arm: dts: mt7623: add power domain controller device node
authorJohn Crispin <john@phrozen.org>
Wed, 26 Apr 2017 09:25:49 +0000 (17:25 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 15 May 2017 08:47:08 +0000 (10:47 +0200)
Add power domain controller node (scpsys) for MT7623.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm/boot/dts/mt7623.dtsi

index 54cff6a..adb2393 100644 (file)
@@ -15,6 +15,7 @@
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/clock/mt2701-clk.h>
+#include <dt-bindings/power/mt2701-power.h>
 #include <dt-bindings/reset/mt2701-resets.h>
 #include "skeleton64.dtsi"
 
                #reset-cells = <1>;
        };
 
+       scpsys: scpsys@10006000 {
+               compatible = "mediatek,mt7623-scpsys",
+                            "mediatek,mt2701-scpsys",
+                            "syscon";
+               #power-domain-cells = <1>;
+               reg = <0 0x10006000 0 0x1000>;
+               infracfg = <&infracfg>;
+               clocks = <&topckgen CLK_TOP_MM_SEL>,
+                        <&topckgen CLK_TOP_MFG_SEL>,
+                        <&topckgen CLK_TOP_ETHIF_SEL>;
+               clock-names = "mm", "mfg", "ethif";
+       };
+
        watchdog: watchdog@10007000 {
                compatible = "mediatek,mt7623-wdt",
                             "mediatek,mt6589-wdt";