]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: berlin: dts: add the cpufreq-dt bindings on the BG2
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Thu, 17 Sep 2015 10:15:03 +0000 (12:15 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Mon, 21 Sep 2015 20:55:47 +0000 (22:55 +0200)
The BG2 uses cpugreq-dt. Add the corresponding bindings.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm/boot/dts/berlin2.dtsi

index 40cf2623c4f961f950b590e209113597c97c257a..11e446e5fb0b70b48e83d75f33988bdd014821b1 100644 (file)
@@ -63,6 +63,16 @@ cpu@0 {
                        device_type = "cpu";
                        next-level-cache = <&l2>;
                        reg = <0>;
+
+                       clocks = <&chip_clk CLKID_CPU>;
+                       clock-latency = <100000>;
+                       operating-points = <
+                               /* kHz    uV */
+                               1200000 1200000
+                               1000000 1200000
+                               800000  1200000
+                               600000  1200000
+                       >;
                };
 
                cpu@1 {