[PATCH V3 6/6] arm64: dts: amlogic: t7: add power domain controller node

Xianwei Zhao xianwei.zhao at amlogic.com
Mon Aug 28 19:04:04 PDT 2023


From: "xianwei.zhao" <xianwei.zhao at amlogic.com>

Add power domain controller node for Amlogic T7 SoC

Signed-off-by: xianwei.zhao <xianwei.zhao at amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
Tested-by: Lucas Tanure <tanure at linux.com>
---
V2 -> V3: modify subject.
V1 -> V2: None
---
 arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
index 1423d4a79156..23cdad1b425b 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi
@@ -4,6 +4,7 @@
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/power/amlogic,t7-pwrc.h>
 
 / {
 	interrupt-parent = <&gic>;
@@ -118,6 +119,11 @@ psci {
 
 	sm: secure-monitor {
 		compatible = "amlogic,meson-gxbb-sm";
+
+		pwrc: power-controller {
+			compatible = "amlogic,t7-pwrc";
+			#power-domain-cells = <1>;
+		};
 	};
 
 	soc {
-- 
2.37.1




More information about the linux-amlogic mailing list