diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-07-10 19:52:25 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2023-07-11 16:24:30 +0300 |
commit | afc3925f694a1a16f38ce66dfc7dcf88cc77b8ee (patch) | |
tree | 236ed62c4d84cce90b637bd00fc74cd8666358e1 | |
parent | 89c880808cff8bc6f1ea6e1b5edc603e6232310e (diff) | |
download | linux-afc3925f694a1a16f38ce66dfc7dcf88cc77b8ee.tar.xz |
arm64: dts: rockchip: add vdd_npu_s0 regulator to rock-5a
Add the NPU regulator.
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230710165228.105983-11-sebastian.reichel@collabora.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts b/arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts index 91a62195d1fa..505e3c0a1dc5 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 @@ &i2c2 { status = "okay"; + vdd_npu_s0: regulator@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@50 { compatible = "belling,bl24c16a", "atmel,24c16"; reg = <0x50>; |