[PATCH v1 10/13] arm64: dts: rockchip: rock-5a: add vdd_npu_s0 regulator
Sebastian Reichel
sebastian.reichel at collabora.com
Mon Jul 10 09:52:25 PDT 2023
Add the NPU regulator.
Signed-off-by: Sebastian Reichel <sebastian.reichel at collabora.com>
---
.../arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
index 0b18d4230eef..c4471dfe574f 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts
@@ -166,6 +166,23 @@ regulator-state-mem {
&i2c2 {
status = "okay";
+ vdd_npu_s0: rk8602 at 42 {
+ compatible = "rockchip,rk8602";
+ reg = <0x42>;
+ fcs,suspend-voltage-selector = <1>;
+ regulator-name = "vdd_npu_s0";
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <550000>;
+ regulator-max-microvolt = <950000>;
+ regulator-ramp-delay = <2300>;
+ vin-supply = <&vcc5v0_sys>;
+
+ regulator-state-mem {
+ regulator-off-in-suspend;
+ };
+ };
+
eeprom: eeprom at 50 {
compatible = "belling,bl24c16a", "atmel,24c16";
reg = <0x50>;
--
2.40.1
More information about the Linux-rockchip
mailing list