rk3128-box:add pwm_regulator,lcdc,dvfs dts support

This commit is contained in:
luowei
2014-08-07 13:57:06 +08:00
parent b4b6670bf9
commit 9253caccd6
2 changed files with 84 additions and 6 deletions

View File

@@ -4,3 +4,81 @@
compatible = "rockchip,rk3128";
};
&clk_core_dvfs_table {
operating-points = <
/* KHz uV */
/*408000 1250000
600000 1250000
696000 1250000
*/
816000 1250000
1008000 1250000
>;
status="okay";
};
&clk_gpu_dvfs_table {
operating-points = <
/* KHz uV */
200000 1250000
300000 1250000
>;
status="okay";
};
&clk_ddr_dvfs_table {
operating-points = <
/* KHz uV */
200000 950000
300000 950000
400000 1000000
533000 1050000
>;
freq-table = <
/*status freq(KHz)*/
SYS_STATUS_NORMAL 400000
SYS_STATUS_SUSPEND 200000
SYS_STATUS_VIDEO_1080P 240000
SYS_STATUS_VIDEO_4K 400000
SYS_STATUS_PERFORMANCE 528000
SYS_STATUS_DUALVIEW 400000
SYS_STATUS_BOOST 324000
SYS_STATUS_ISP 533000
>;
auto-freq-table = <
240000
324000
396000
528000
>;
auto-freq=<0>;
status="disable";
};
&pwm_regulator1 {
status = "okay";
};
&pwm_regulator2 {
status = "okay";
};
&pwm1 {
status = "okay";
};
&pwm2 {
status = "okay";
};
&lcdc {
status = "okay";
};
&i2c2 {
status = "disabled";
};

View File

@@ -21,7 +21,7 @@
rockchip,usb_irq_wakeup;
};
pwm_regulator1 {
pwm_regulator1:pwm-regulator1 {
compatible = "rockchip_pwm_regulator";
pwms = <&pwm1 0 25000>;
rockchip,pwm_id= <1>;
@@ -30,8 +30,8 @@
rockchip,pwm_min_voltage= <950000>;
rockchip,pwm_max_voltage= <1450000>;
rockchip,pwm_suspend_voltage= <1250000>;
rockchip,pwm_coefficient= <475>;
status = "okay";
rockchip,pwm_coefficient= <550>;
status = "disabled";
regulators {
#address-cells = <1>;
#size-cells = <0>;
@@ -46,7 +46,7 @@
};
};
pwm_regulator2 {
pwm_regulator2:pwm-regulator2 {
compatible = "rockchip_pwm_regulator";
pwms = <&pwm2 0 25000>;
rockchip,pwm_id= <2>;
@@ -55,8 +55,8 @@
rockchip,pwm_min_voltage= <950000>;
rockchip,pwm_max_voltage= <1450000>;
rockchip,pwm_suspend_voltage= <1250000>;
rockchip,pwm_coefficient= <475>;
status = "okay";
rockchip,pwm_coefficient= <550>;
status = "disabled";
regulators {
#address-cells = <1>;
#size-cells = <0>;