From 700874fe469cf72da49590317e56db515c787237 Mon Sep 17 00:00:00 2001 From: shengfei Xu Date: Mon, 23 Mar 2020 10:34:17 +0800 Subject: [PATCH] ARM: dts: rockchip: rv11xx-evb-v10: Add pwm regulator node Signed-off-by: shengfei Xu Change-Id: Ic20950434d1420888a3e0146a0a0c7c5b477e23c --- arch/arm/boot/dts/rv11xx-evb-v10.dtsi | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/rv11xx-evb-v10.dtsi b/arch/arm/boot/dts/rv11xx-evb-v10.dtsi index e43d2de8d157..b01250d981f3 100644 --- a/arch/arm/boot/dts/rv11xx-evb-v10.dtsi +++ b/arch/arm/boot/dts/rv11xx-evb-v10.dtsi @@ -83,6 +83,34 @@ regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; }; + + vdd_npu: vdd-npu { + compatible = "pwm-regulator"; + pwms = <&pwm0 0 5000 1>; + regulator-name = "vdd_npu"; + regulator-min-microvolt = <650000>; + regulator-max-microvolt = <950000>; + regulator-init-microvolt = <800000>; + regulator-always-on; + regulator-boot-on; + regulator-settling-time-up-us = <250>; + pwm-supply = <&vcc5v0_sys>; + status = "okay"; + }; + + vdd_vepu: vdd-vepu { + compatible = "pwm-regulator"; + pwms = <&pwm1 0 5000 1>; + regulator-name = "vdd_vepu"; + regulator-min-microvolt = <650000>; + regulator-max-microvolt = <9500000>; + regulator-init-microvolt = <800000>; + regulator-always-on; + regulator-boot-on; + regulator-settling-time-up-us = <250>; + pwm-supply = <&vcc5v0_sys>; + status = "okay"; + }; }; &emmc { @@ -432,6 +460,18 @@ }; }; +&pwm0 { + status = "okay"; + pinctrl-names = "active"; + pinctrl-0 = <&pwm0m0_pins_pull_down>; +}; + +&pwm1 { + status = "okay"; + pinctrl-names = "active"; + pinctrl-0 = <&pwm1m0_pins_pull_down>; +}; + &rkvenc { status = "okay"; };