diff options
author | Andy Yan <andy.yan@rock-chips.com> | 2016-01-15 16:26:18 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2016-01-25 01:28:23 +0300 |
commit | ac79e0ef419681206ddb5aec502d2486090575a9 (patch) | |
tree | a9678684190f924dc4ff29e7783bde644f4c61b8 /arch/arm/boot/dts/rk3066a-bqcurie2.dts | |
parent | 6cff705b2dd944a14768e6a63c0773831583488e (diff) | |
download | linux-ac79e0ef419681206ddb5aec502d2486090575a9.tar.xz |
ARM: dts: rockchip: enable pwm3 as pwm regulator for rk3066a based boards
Rayeager/Bqcurie2/Marsboard use pwm3 modulate the vdd_logic voltage,
so enable it.
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3066a-bqcurie2.dts')
-rw-r--r-- | arch/arm/boot/dts/rk3066a-bqcurie2.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3066a-bqcurie2.dts b/arch/arm/boot/dts/rk3066a-bqcurie2.dts index 38c91a839795..8a58bb3d7b6b 100644 --- a/arch/arm/boot/dts/rk3066a-bqcurie2.dts +++ b/arch/arm/boot/dts/rk3066a-bqcurie2.dts @@ -53,6 +53,18 @@ reg = <0x60000000 0x40000000>; }; + vdd_log: vdd-log { + compatible = "pwm-regulator"; + pwms = <&pwm3 0 1000>; + regulator-name = "vdd_log"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-always-on; + voltage-table = <1000000 100>, + <1200000 42>; + status = "okay"; + }; + vcc_sd0: fixed-regulator { compatible = "regulator-fixed"; regulator-name = "sdmmc-supply"; @@ -203,6 +215,10 @@ disable-wp; }; +&pwm3 { + status = "okay"; +}; + &uart0 { status = "okay"; }; |