From: Nishanth Menon Date: Tue, 19 Mar 2013 17:53:04 +0000 (-0500) Subject: ARM: dts: OMAP36xx: Add CPU OPP table X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3027e26737adc591fea2d88c2804ffeeb1acdd8c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ARM: dts: OMAP36xx: Add CPU OPP table Add DT OPP table for OMAP36xx/37xx 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 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: Nishanth Menon Cc: Kevin Hilman Cc: Jon Hunter Cc: Santosh Shilimkar Cc: Shawn Guo Cc: Keerthy Signed-off-by: Benoit Cousson --- diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi index 96bf0287cb9f..b89233e43b0f 100644 --- a/arch/arm/boot/dts/omap36xx.dtsi +++ b/arch/arm/boot/dts/omap36xx.dtsi @@ -15,6 +15,19 @@ serial3 = &uart4; }; + cpus { + /* OMAP3630/OMAP37xx 'standard device' variants OPP50 to OPP130 */ + cpu@0 { + operating-points = < + /* kHz uV */ + 300000 975000 + 600000 1075000 + 800000 1200000 + >; + clock-latency = <300000>; /* From legacy driver */ + }; + }; + ocp { uart4: serial@49042000 { compatible = "ti,omap3-uart";