Add device tree nodes needed by OpenSBI on Visionfive 2
v2 cover Add device tree nodes needed by OpenSBI on Visionfive 2
This series adds 2 device tree nodes. These are needed by OpenSBI to perform reset/shutdown of the board.
v2:
- rename "compatible" property to match the one in Linux.
- extra clarification in commit messages.
Nam Cao (2):
riscv: dts: jh7110: add power management unit controller node
riscv: dts: starfive: add regulator device
arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 5 +++++ arch/riscv/dts/jh7110.dtsi | 6 ++++++ 2 files changed, 11 insertions(+)
Signature · 1 line
2.39.2
PATCH v2 1/2 riscv: dts: jh7110: add power management unit controller node
JH7110 has a power management unit controller node. Add this node.
This device is used by OpenSBI during board reset/shutdown.
--- arch/riscv/dts/jh7110.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/riscv/dts/jh7110.dtsi +6 -0
@@ -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
Signature · 1 line
2.39.2
PATCH v2 2/2 riscv: dts: starfive: add regulator device
In reply to Nam CaoAdd the axp15060 regulator device. OpenSBI uses this device to perform board reset and shutdown.
---
v2: "stf,axp15060-regulator" -> "x-powers,axp15060" to match Linux.
arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi +5 -0
@@ -122,6 +122,11 @@ pinctrl-0 = <&i2c5_pins>; status = "okay"; + pmic@36 { + compatible = "x-powers,axp15060"; + reg = <0x36>; + }; + eeprom@50 { compatible = "atmel,24c04"; reg = <0x50>;
Signature · 1 line
2.39.2
Re: [PATCH v2 1/2] riscv: dts: jh7110: add power management unit controller node
In reply to Nam CaoQuoted 8 lines · Nam Cao
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 <[email protected]>--- arch/riscv/dts/jh7110.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
Re: [PATCH v2 2/2] riscv: dts: starfive: add regulator device
In reply to Nam CaoQuoted 9 lines · Nam Cao
Add the axp15060 regulator device. OpenSBI uses this device to perform board reset and shutdown.
Signed-off-by Nam Cao <[email protected]>---
v2: "stf,axp15060-regulator" -> "x-powers,axp15060" to match Linux.arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 5 +++++ 1 file changed, 5 insertions(+)