riscv: dts: starfive: Add PMU controller node
authorWalker Chen <walker.chen@starfivetech.com>
Mon, 17 Apr 2023 03:47:28 +0000 (11:47 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Sun, 7 May 2023 22:00:22 +0000 (23:00 +0100)
Add the pmu controller node for the StarFive JH7110 SoC. The PMU needs
to be used by other modules, e.g. VPU,ISP,etc.

Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Walker Chen <walker.chen@starfivetech.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/starfive/jh7110.dtsi

index 4c5fdb905da8040174e2f223017af0829039b23c..30e1f34d5cf8dc63ec05f17707fb9b7e0b39713f 100644 (file)
                        gpio-controller;
                        #gpio-cells = <2>;
                };
+
+               pwrc: power-controller@17030000 {
+                       compatible = "starfive,jh7110-pmu";
+                       reg = <0x0 0x17030000 0x0 0x10000>;
+                       interrupts = <111>;
+                       #power-domain-cells = <1>;
+               };
        };
 };