mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
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>
This commit is contained in:
parent
6cff705b2d
commit
ac79e0ef41
3 changed files with 48 additions and 0 deletions
|
@ -53,6 +53,18 @@ memory {
|
|||
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 @@ &mmc1 { /* wifi */
|
|||
disable-wp;
|
||||
};
|
||||
|
||||
&pwm3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -52,6 +52,18 @@ memory {
|
|||
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: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "sdmmc-supply";
|
||||
|
@ -194,6 +206,10 @@ phy_int: phy-int {
|
|||
};
|
||||
};
|
||||
|
||||
&pwm3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -74,6 +74,18 @@ button@0 {
|
|||
};
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
|
||||
vsys: vsys-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vsys";
|
||||
|
@ -431,6 +443,10 @@ &pwm2 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&pwm3 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&saradc {
|
||||
vref-supply = <&vcc_25>;
|
||||
status = "okay";
|
||||
|
|
Loading…
Reference in a new issue