arm64: dts: rockchip: add vdd_npu_s0 regulator to rock-5a
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 10 Jul 2023 16:52:25 +0000 (18:52 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 11 Jul 2023 13:24:30 +0000 (15:24 +0200)
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>
arch/arm64/boot/dts/rockchip/rk3588s-rock-5a.dts

index 91a6219..505e3c0 100644 (file)
 &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>;