* [PATCH v2 0/2] Add device tree nodes needed by OpenSBI on Visionfive 2
@ 2024-01-29 8:43 Nam Cao
2024-01-29 8:43 ` [PATCH v2 1/2] riscv: dts: jh7110: add power management unit controller node Nam Cao
2024-01-29 8:43 ` [PATCH v2 2/2] riscv: dts: starfive: add regulator device Nam Cao
0 siblings, 2 replies; 5+ messages in thread
From: Nam Cao @ 2024-01-29 8:43 UTC (permalink / raw)
To: Rick Chen, Leo, Tom Rini, Yanhong Wang, Minda Chen, Torsten Duwe,
Nam Cao, Xingyu Wu, Mason Huo, Hal Feng, Chanho Park, u-boot
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(+)
--
2.39.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/2] riscv: dts: jh7110: add power management unit controller node
2024-01-29 8:43 [PATCH v2 0/2] Add device tree nodes needed by OpenSBI on Visionfive 2 Nam Cao
@ 2024-01-29 8:43 ` Nam Cao
2024-01-31 8:49 ` Leo Liang
2024-01-29 8:43 ` [PATCH v2 2/2] riscv: dts: starfive: add regulator device Nam Cao
1 sibling, 1 reply; 5+ messages in thread
From: Nam Cao @ 2024-01-29 8:43 UTC (permalink / raw)
To: Rick Chen, Leo, Tom Rini, Yanhong Wang, Minda Chen, Torsten Duwe,
Nam Cao, Xingyu Wu, Mason Huo, Hal Feng, Chanho Park, u-boot
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(+)
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
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH v2 1/2] riscv: dts: jh7110: add power management unit controller node
2024-01-29 8:43 ` [PATCH v2 1/2] riscv: dts: jh7110: add power management unit controller node Nam Cao
@ 2024-01-31 8:49 ` Leo Liang
0 siblings, 0 replies; 5+ messages in thread
From: Leo Liang @ 2024-01-31 8:49 UTC (permalink / raw)
To: Nam Cao
Cc: Rick Chen, Tom Rini, Yanhong Wang, Minda Chen, Torsten Duwe,
Xingyu Wu, Mason Huo, Hal Feng, Chanho Park, u-boot
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] riscv: dts: starfive: add regulator device
2024-01-29 8:43 [PATCH v2 0/2] Add device tree nodes needed by OpenSBI on Visionfive 2 Nam Cao
2024-01-29 8:43 ` [PATCH v2 1/2] riscv: dts: jh7110: add power management unit controller node Nam Cao
@ 2024-01-29 8:43 ` Nam Cao
2024-01-31 8:49 ` Leo Liang
1 sibling, 1 reply; 5+ messages in thread
From: Nam Cao @ 2024-01-29 8:43 UTC (permalink / raw)
To: Rick Chen, Leo, Tom Rini, Yanhong Wang, Minda Chen, Torsten Duwe,
Nam Cao, Xingyu Wu, Mason Huo, Hal Feng, Chanho Park, u-boot
Add the axp15060 regulator device. OpenSBI uses this device to perform
board reset and shutdown.
Signed-off-by: Nam Cao <namcao@linutronix.de>
---
v2: "stf,axp15060-regulator" -> "x-powers,axp15060" to match Linux.
arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
index e40f57a150..fe4b3e71ae 100644
--- a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
+++ b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
@@ -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>;
--
2.39.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH v2 2/2] riscv: dts: starfive: add regulator device
2024-01-29 8:43 ` [PATCH v2 2/2] riscv: dts: starfive: add regulator device Nam Cao
@ 2024-01-31 8:49 ` Leo Liang
0 siblings, 0 replies; 5+ messages in thread
From: Leo Liang @ 2024-01-31 8:49 UTC (permalink / raw)
To: Nam Cao
Cc: Rick Chen, Tom Rini, Yanhong Wang, Minda Chen, Torsten Duwe,
Xingyu Wu, Mason Huo, Hal Feng, Chanho Park, u-boot
On Mon, Jan 29, 2024 at 09:43:09AM +0100, Nam Cao wrote:
> Add the axp15060 regulator device. OpenSBI uses this device to perform
> board reset and shutdown.
>
> Signed-off-by: Nam Cao <namcao@linutronix.de>
> ---
> v2: "stf,axp15060-regulator" -> "x-powers,axp15060" to match Linux.
>
> arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-01-31 8:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-29 8:43 [PATCH v2 0/2] Add device tree nodes needed by OpenSBI on Visionfive 2 Nam Cao
2024-01-29 8:43 ` [PATCH v2 1/2] riscv: dts: jh7110: add power management unit controller node Nam Cao
2024-01-31 8:49 ` Leo Liang
2024-01-29 8:43 ` [PATCH v2 2/2] riscv: dts: starfive: add regulator device Nam Cao
2024-01-31 8:49 ` Leo Liang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.