diff mbox series

[2/2] riscv: dts: jh7110: add power management unit controller node

Message ID 3a9cd87553130b5e359910dcc931037a7c171714.1705489598.git.namcao@linutronix.de
State Superseded
Delegated to: Andes
Headers show
Series [1/2] riscv: dts: starfive: add regulator device | expand

Commit Message

Nam Cao Jan. 17, 2024, 11:15 a.m. UTC
JH7110 has a power management unit controller node. Add this node.

This device is used by OpenSBI during board reset and shutdown.

Signed-off-by: Nam Cao <namcao@linutronix.de>
---
 arch/riscv/dts/jh7110.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi
index 6d2675d6ce..2cdc683d49 100644
--- a/arch/riscv/dts/jh7110.dtsi
+++ b/arch/riscv/dts/jh7110.dtsi
@@ -473,6 +473,12 @@ 
 			status = "disabled";
 		};
 
+		power-controller@17030000 {
+			compatible = "starfive,jh7110-pmu";
+			reg = <0x0 0x17030000 0x0 0x10000>;
+			interrupts = <111>;
+		};
+
 		qspi: spi@13010000 {
 			compatible = "cdns,qspi-nor";
 			reg = <0x0 0x13010000 0x0 0x10000