Enable power domain controller for Meson A1 SoC.

Signed-off-by: Jianxin Pan <jianxin....@amlogic.com>
---
 arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi 
b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
index 7210ad0..081bc31 100644
--- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
@@ -5,6 +5,7 @@
 
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/power/meson-a1-power.h>
 
 / {
        compatible = "amlogic,a1";
@@ -93,6 +94,13 @@
                                clock-names = "xtal", "pclk", "baud";
                                status = "disabled";
                        };
+
+                       pwrc: power-controller {
+                               compatible = "amlogic,meson-a1-pwrc";
+                               #power-domain-cells = <1>;
+                               secure-monitor = <&sm>;
+                               status = "okay";
+                       };
                };
 
                gic: interrupt-controller@ff901000 {
-- 
2.7.4

Reply via email to