Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / am3517.dtsi
index bf3002009b002faafe0d9ddc8338248d7a145f9d..76f819f4ba48b150a0bd2d5ce1d6403ff53ed307 100644 (file)
                can = &hecc;
        };
 
                can = &hecc;
        };
 
+       cpus {
+               cpu: cpu@0 {
+                       /* Based on OMAP3630 variants OPP50 and OPP100 */
+                       operating-points-v2 = <&cpu0_opp_table>;
+
+                       clock-latency = <300000>; /* From legacy driver */
+               };
+       };
+
+       cpu0_opp_table: opp-table {
+               compatible = "operating-points-v2-ti-cpu";
+               syscon = <&scm_conf>;
+               /*
+                * AM3517 TRM only lists 600MHz @ 1.2V, but omap36xx
+                * appear to operate at 300MHz as well. Since AM3517 only
+                * lists one operating voltage, it will remain fixed at 1.2V
+                */
+               opp50-300000000 {
+                       opp-hz = /bits/ 64 <300000000>;
+                       opp-microvolt = <1200000>;
+                       opp-supported-hw = <0xffffffff 0xffffffff>;
+                       opp-suspend;
+               };
+
+               opp100-600000000 {
+                       opp-hz = /bits/ 64 <600000000>;
+                       opp-microvolt = <1200000>;
+                       opp-supported-hw = <0xffffffff 0xffffffff>;
+               };
+       };
+
        ocp@68000000 {
                am35x_otg_hs: am35x_otg_hs@5c040000 {
                        compatible = "ti,omap3-musb";
        ocp@68000000 {
                am35x_otg_hs: am35x_otg_hs@5c040000 {
                        compatible = "ti,omap3-musb";