[PATCH 1/2] riscv: dts: starfive: add regulator device

Nam Cao namcao at linutronix.de
Wed Jan 17 12:15:25 CET 2024


Add the axp15060 regulator device. OpenSBI uses this device to perform
board reset and shutdown.

Signed-off-by: Nam Cao <namcao at linutronix.de>
---
 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 e94f9fe826..388d29727f 100644
--- a/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
+++ b/arch/riscv/dts/jh7110-starfive-visionfive-2.dtsi
@@ -127,6 +127,11 @@
 	pinctrl-0 = <&i2c5_pins>;
 	status = "okay";
 
+	pmic at 36 {
+		compatible = "stf,axp15060-regulator";
+		reg = <0x36>;
+	};
+
 	eeprom at 50 {
 		compatible = "atmel,24c04";
 		reg = <0x50>;
-- 
2.39.2



More information about the U-Boot mailing list