diff mbox series

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

Message ID 05a8be865b0686a916d7ec7ba8fbc64ecb33ad14.1706517351.git.namcao@linutronix.de
State Accepted
Commit 92802e12ef07f054153ad8379c93db4d144ab401
Delegated to: Andes
Headers show
Series Add device tree nodes needed by OpenSBI on Visionfive 2 | expand

Commit Message

Nam Cao Jan. 29, 2024, 8:43 a.m. UTC
JH7110 has a power management unit controller node. Add this node.

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

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

Comments

Leo Liang Jan. 31, 2024, 8:49 a.m. UTC | #1
On Mon, Jan 29, 2024 at 09:43:08AM +0100, Nam Cao wrote:
> JH7110 has a power management unit controller node. Add this node.
> 
> This device is used by OpenSBI during board reset/shutdown.
> 
> Signed-off-by: Nam Cao <namcao@linutronix.de>
> ---
>  arch/riscv/dts/jh7110.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
diff mbox series

Patch

diff --git a/arch/riscv/dts/jh7110.dtsi b/arch/riscv/dts/jh7110.dtsi
index ec237a46ff..56e34fd560 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