ARM: dts: augment Ux500 to use DT cpufreq
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Aug 2017 07:28:20 +0000 (09:28 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 22 Aug 2017 13:29:15 +0000 (15:29 +0200)
This adds the operating points to the Ux500 device tree and
deletes the old special-purpose cpufreq node, as we can now
use the generic DT cpufreq driver.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/ste-dbx5x0.dtsi

index 6c5affe2d0f556eab1d3415718bd5e8fcf36842a..2310a4e97768c222ca19fe8f125c5aede36be8d1 100644 (file)
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
                        reg = <0x300>;
+                       /* cpufreq controls */
+                       operating-points = <998400 0
+                                           800000 0
+                                           400000 0
+                                           200000 0>;
+                       clocks = <&prcmu_clk PRCMU_ARMSS>;
+                       clock-names = "cpu";
+                       clock-latency = <20000>;
                };
                CPU1: cpu@301 {
                        device_type = "cpu";
                                reg = <0x80157450 0xC>;
                        };
 
-                       cpufreq {
-                               compatible = "stericsson,cpufreq-ux500";
-                               clocks = <&prcmu_clk PRCMU_ARMSS>;
-                               clock-names = "armss";
-                               status = "disabled";
-                       };
-
                        thermal@801573c0 {
                                compatible = "stericsson,db8500-thermal";
                                reg = <0x801573c0 0x40>;