Commit 1e633d71 authored by Nishanth Menon's avatar Nishanth Menon Committed by Benoit Cousson

ARM: dts: OMAP34xx/35xx: Add CPU OPP table

Add DT OPP table for OMAP34xx/35xx family of devices. This data is
decoded by OF with of_init_opp_table() helper function.

OPP data here is based on existing opp3xxx_data.c

Since the omap36xx OPP tables would be different from OMAP34xx/35xx,
introduce an new omap34xx.dtsi for 34xx/35xx specific entries and use
existing omap3.dtsi as the common dtsi file for all OMAP3 platforms.

This is in preparation to use generic cpufreq-cpu0 driver for device
tree enabled boot. Legacy non device tree enabled boot continues to
use omap-cpufreq.c and opp3xxx_data.c.
Signed-off-by: default avatarNishanth Menon <nm@ti.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Jon Hunter <jon-hunter@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: Keerthy <j-keerthy@ti.com>
Signed-off-by: default avatarBenoit Cousson <benoit.cousson@linaro.org>
parent 5dad5ec5
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
*/ */
/dts-v1/; /dts-v1/;
/include/ "omap3.dtsi" /include/ "omap34xx.dtsi"
/ { / {
model = "TI AM3517 EVM (AM3517/05)"; model = "TI AM3517 EVM (AM3517/05)";
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
*/ */
/dts-v1/; /dts-v1/;
/include/ "omap3.dtsi" /include/ "omap34xx.dtsi"
/ { / {
model = "TeeJet Mt.Ventoux"; model = "TeeJet Mt.Ventoux";
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
*/ */
/dts-v1/; /dts-v1/;
/include/ "omap3.dtsi" /include/ "omap34xx.dtsi"
/ { / {
model = "TI OMAP3 BeagleBoard"; model = "TI OMAP3 BeagleBoard";
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
*/ */
/dts-v1/; /dts-v1/;
/include/ "omap3.dtsi" /include/ "omap34xx.dtsi"
/ { / {
model = "TimLL OMAP3 Devkit8000"; model = "TimLL OMAP3 Devkit8000";
compatible = "timll,omap3-devkit8000", "ti,omap3"; compatible = "timll,omap3-devkit8000", "ti,omap3";
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
*/ */
/dts-v1/; /dts-v1/;
/include/ "omap3.dtsi" /include/ "omap34xx.dtsi"
/ { / {
model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)"; model = "TI OMAP3 EVM (OMAP3530, AM/DM37x)";
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
*/ */
/dts-v1/; /dts-v1/;
/include/ "omap3.dtsi" /include/ "omap34xx.dtsi"
/ { / {
memory { memory {
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
*/ */
/dts-v1/; /dts-v1/;
/include/ "omap3.dtsi" /include/ "omap34xx.dtsi"
/ { / {
pwmleds { pwmleds {
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
*/ */
/dts-v1/; /dts-v1/;
/include/ "omap3.dtsi" /include/ "omap34xx.dtsi"
/ { / {
model = "TI OMAP3430 SDP"; model = "TI OMAP3430 SDP";
......
/*
* Device Tree Source for OMAP34xx/OMAP35xx SoC
*
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of any
* kind, whether express or implied.
*/
/include/ "omap3.dtsi"
/ {
cpus {
cpu@0 {
/* OMAP343x/OMAP35xx variants OPP1-5 */
operating-points = <
/* kHz uV */
125000 975000
250000 1075000
500000 1200000
550000 1270000
600000 1350000
>;
clock-latency = <300000>; /* From legacy driver */
};
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment