2019-09-19 14:29:31

by Jianxin Pan

[permalink] [raw]
Subject: [PATCH 3/3] arm64: dts: meson: a1: add secure power domain controller

Enable power domain controller for Meson A1 SoC.

Signed-off-by: Jianxin Pan <[email protected]>
Signed-off-by: Zhiqiang Liang <[email protected]>
---
arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
index 7210ad0..d689e5c 100644
--- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi
@@ -93,6 +93,12 @@
clock-names = "xtal", "pclk", "baud";
status = "disabled";
};
+
+ pwrc: power-controller {
+ compatible = "amlogic,meson-a1-pwrc";
+ #power-domain-cells = <1>;
+ status = "okay";
+ };
};

gic: interrupt-controller@ff901000 {
--
2.7.4