aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnilKumar Ch <anilkumar@ti.com>2012-08-31 05:37:20 -0400
committerBenoit Cousson <b-cousson@ti.com>2012-10-29 11:56:25 -0400
commitefeedcf2a9137c9be0b833cb76b05315fe231197 (patch)
treef1edfe7ba688fe75e8ac0815b040eaf59c038826
parent5a8095e9d02da19f3bab738e82c0520ecd62d6af (diff)
ARM: dts: AM33XX: Add device tree OPP table
Add DT OPP table for AM33XX family of devices. This data is decoded by OF with of_init_opp_table() helper function. Also adds cpu0 supply name to the corresponding dts files. cpu0-supply name is used by cpufreq-cpu0 driver to get the regulator pointer for voltage modifications. Signed-off-by: AnilKumar Ch <anilkumar@ti.com> Signed-off-by: Benoit Cousson <b-cousson@ti.com>
-rw-r--r--arch/arm/boot/dts/am335x-bone.dts6
-rw-r--r--arch/arm/boot/dts/am335x-evm.dts6
-rw-r--r--arch/arm/boot/dts/am33xx.dtsi15
3 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-bone.dts b/arch/arm/boot/dts/am335x-bone.dts
index c634f87e230e..91eee97371ea 100644
--- a/arch/arm/boot/dts/am335x-bone.dts
+++ b/arch/arm/boot/dts/am335x-bone.dts
@@ -13,6 +13,12 @@
13 model = "TI AM335x BeagleBone"; 13 model = "TI AM335x BeagleBone";
14 compatible = "ti,am335x-bone", "ti,am33xx"; 14 compatible = "ti,am335x-bone", "ti,am33xx";
15 15
16 cpus {
17 cpu@0 {
18 cpu0-supply = <&dcdc2_reg>;
19 };
20 };
21
16 memory { 22 memory {
17 device_type = "memory"; 23 device_type = "memory";
18 reg = <0x80000000 0x10000000>; /* 256 MB */ 24 reg = <0x80000000 0x10000000>; /* 256 MB */
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 185d6325a458..4707cda9e4fe 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -13,6 +13,12 @@
13 model = "TI AM335x EVM"; 13 model = "TI AM335x EVM";
14 compatible = "ti,am335x-evm", "ti,am33xx"; 14 compatible = "ti,am335x-evm", "ti,am33xx";
15 15
16 cpus {
17 cpu@0 {
18 cpu0-supply = <&vdd1_reg>;
19 };
20 };
21
16 memory { 22 memory {
17 device_type = "memory"; 23 device_type = "memory";
18 reg = <0x80000000 0x10000000>; /* 256 MB */ 24 reg = <0x80000000 0x10000000>; /* 256 MB */
diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
index bb31bff01998..b4e3e4793b95 100644
--- a/arch/arm/boot/dts/am33xx.dtsi
+++ b/arch/arm/boot/dts/am33xx.dtsi
@@ -25,6 +25,21 @@
25 cpus { 25 cpus {
26 cpu@0 { 26 cpu@0 {
27 compatible = "arm,cortex-a8"; 27 compatible = "arm,cortex-a8";
28
29 /*
30 * To consider voltage drop between PMIC and SoC,
31 * tolerance value is reduced to 2% from 4% and
32 * voltage value is increased as a precaution.
33 */
34 operating-points = <
35 /* kHz uV */
36 720000 1285000
37 600000 1225000
38 500000 1125000
39 275000 1125000
40 >;
41 voltage-tolerance = <2>; /* 2 percentage */
42 clock-latency = <300000>; /* From omap-cpufreq driver */
28 }; 43 };
29 }; 44 };
30 45