diff mbox

[RFC] ARM: dts: am3517 OPP info

Message ID 20180507050253.10594-1-aford173@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Adam Ford May 7, 2018, 5:02 a.m. UTC
Based on the contents of mach-omap3/opp3xx, there are 5
clock speeds for OMAP3430 which are different than 3630.

The Datasheet for the AM3517, however only shows the voltage
can be 1.2V.  This patch sets the 5 OPP options with all being
1.2V.

Signed-off-by: Adam Ford <aford173@gmail.com>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi
index ca294914bbb1..4043c7b2ed1a 100644
--- a/arch/arm/boot/dts/am3517.dtsi
+++ b/arch/arm/boot/dts/am3517.dtsi
@@ -16,6 +16,21 @@ 
 		can = &hecc;
 	};
 
+	cpus {
+		cpu: cpu@0 {
+			/* OMAP343x/OMAP35xx variants OPP1-5 */
+			operating-points = <
+				/* kHz    uV */
+				125000  1200000
+				250000  1200000
+				500000  1200000
+				550000  1200000
+				600000  1200000
+			>;
+			clock-latency = <300000>; /* From legacy driver */
+		};
+	};
+
 	ocp@68000000 {
 		am35x_otg_hs: am35x_otg_hs@5c040000 {
 			compatible = "ti,omap3-musb";