arm64: dts: rockchip: define vdd_log on rk3399-puma
authorHeiko Stuebner <heiko@sntech.de>
Mon, 27 Dec 2021 23:45:28 +0000 (00:45 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 18 Feb 2022 23:14:03 +0000 (00:14 +0100)
vdd_log supplied a lot of the logic parts of the soc and is
supplied through pwm2.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20211227234529.1970281-1-heiko@sntech.de
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi

index fb67db4..b91fb0b 100644 (file)
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
        };
+
+       vdd_log: vdd-log {
+               compatible = "pwm-regulator";
+               pwms = <&pwm2 0 25000 1>;
+               pwm-supply = <&vcc5v0_sys>;
+               regulator-name = "vdd_log";
+               regulator-min-microvolt = <800000>;
+               regulator-max-microvolt = <1400000>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
 };
 
 &cpu_b0 {