From f9f68ea747ff058b4cd382bc21987a943d9f6c04 Mon Sep 17 00:00:00 2001 From: Kever Yang Date: Wed, 13 Nov 2019 11:14:09 +0800 Subject: [PATCH] arm64: dts: rk3399-rock960: add vdd_log and its init value Add vdd_log node according to rock960 schematic V13. This patch affect two boards: - Rock960 Model A - Ficus Signed-off-by: Kever Yang Acked-by: Manivannan Sadhasivam --- arch/arm/dts/rk3399-rock960-u-boot.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/rk3399-rock960-u-boot.dtsi b/arch/arm/dts/rk3399-rock960-u-boot.dtsi index 4850deb..82f2c31 100644 --- a/arch/arm/dts/rk3399-rock960-u-boot.dtsi +++ b/arch/arm/dts/rk3399-rock960-u-boot.dtsi @@ -10,4 +10,17 @@ chosen { u-boot,spl-boot-order = &sdhci, &sdmmc; }; + + vdd_log: vdd-log { + compatible = "pwm-regulator"; + pwms = <&pwm2 0 25000 1>; + regulator-name = "vdd_log"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <1400000>; + regulator-init-microvolt = <950000>; + vin-supply = <&vcc5v0_sys>; + }; + }; -- 2.7.4