]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: amlogic: t7: add power domain controller node
authorxianwei.zhao <xianwei.zhao@amlogic.com>
Mon, 11 Sep 2023 02:52:23 +0000 (10:52 +0800)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 11 Sep 2023 15:07:19 +0000 (17:07 +0200)
Add power domain controller node for Amlogic T7 SoC

Signed-off-by: "xianwei.zhao" <xianwei.zhao@amlogic.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Tested-by: Lucas Tanure <tanure@linux.com>
Link: https://lore.kernel.org/r/20230911025223.3433776-7-xianwei.zhao@amlogic.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi

index 6e34d11214b7614dab45cfd44bfe479f27f19309..dae3465bd39b93d2b3cfbcfba7044a34825a5ae2 100644 (file)
@@ -4,6 +4,7 @@
  */
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/power/amlogic,t7-pwrc.h>
 
 / {
        interrupt-parent = <&gic>;
 
        sm: secure-monitor {
                compatible = "amlogic,meson-gxbb-sm";
+
+               pwrc: power-controller {
+                       compatible = "amlogic,t7-pwrc";
+                       #power-domain-cells = <1>;
+               };
        };
 
        soc {