rk3288: add dvfs dts config

This commit is contained in:
陈亮
2014-03-18 23:46:26 -07:00
parent 4aaa6182b7
commit b6352b91da
2 changed files with 93 additions and 0 deletions

View File

@@ -334,6 +334,43 @@
status = "okay";
};
&clk_core_dvfs_table {
operating-points = <
/* KHz uV */
312000 1100000
504000 1100000
816000 1100000
1008000 1100000
>;
};
&clk_gpu_dvfs_table {
operating-points = <
/* KHz uV */
200000 1200000
300000 1200000
400000 1200000
>;
};
&clk_ddr_dvfs_table {
operating-points = <
/* KHz uV */
200000 1200000
300000 1200000
400000 1200000
>;
freq_table = <
/*status freq(KHz)*/
SYS_STATUS_NORMAL 400000
SYS_STATUS_SUSPEND 200000
SYS_STATUS_VIDEO 300000
SYS_STATUS_DUALVIEW 500000
>;
};
/include/ "rk808.dtsi"
&rk808 {
gpios =<&gpio0 GPIO_A4 GPIO_ACTIVE_HIGH>,<&gpio0 GPIO_B3 GPIO_ACTIVE_LOW>;

View File

@@ -690,6 +690,62 @@
pinctrl-0 = <&pwm3_pin>;
status = "disabled";
};
dvfs {
vd_arm:
vd_arm {
regulator_name="vdd_arm";
suspend_volt=<1000>; //mV
pd_a12 {
clk_core_dvfs_table:
clk_core {
operating-points = <
/* KHz uV */
312000 1100000
504000 1100000
816000 1100000
1008000 1100000
>;
status = "okay";
};
};
};
vd_logic:
vd_logic {
regulator_name="vdd_logic";
suspend_volt=<1000>; //mV
pd_ddr {
clk_ddr_dvfs_table:
clk_ddr {
operating-points = <
/* KHz uV */
200000 1200000
300000 1200000
400000 1200000
>;
status = "disable";
};
};
};
vd_gpu:
vd_gpu {
regulator_name="vdd_gpu";
suspend_volt=<1000>; //mV
pd_gpu {
clk_gpu_dvfs_table:
clk_gpu {
operating-points = <
/* KHz uV */
200000 1200000
300000 1200000
400000 1200000
>;
status = "okay";
};
};
};
};
ion {
compatible = "rockchip,ion";