add pwm init voltage and id for uboot.
fix up the pwms node and add pwm polarity.
Change-Id: I4159c97ae498411ab958c2b1e1223139ac670452
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
};
};
+&vdd_log {
+ rockchip,pwm_id= <2>;
+ rockchip,pwm_voltage = <900000>;
+};
+
+&vdd_center {
+ rockchip,pwm_id= <3>;
+ rockchip,pwm_voltage = <900000>;
+};
+
&fb {
status = "okay";
};
vdd_log: vdd-log {
compatible = "pwm-regulator";
- pwms = <&pwm2 0 1000>;
+ pwms = <&pwm2 0 25000 0>;
regulator-name = "vdd_log";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1400000>;
regulator-always-on;
+ regulator-boot-on;
status = "okay";
};
vdd_center: vdd-center {
compatible = "pwm-regulator";
- pwms = <&pwm3 0 1000>;
+ pwms = <&pwm3 0 25000 0>;
regulator-name = "vdd_center";
regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1400000>;
regulator-always-on;
+ regulator-boot-on;
status = "okay";
};