]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: imx7d: move CPU operating points to imx7d.dtsi
authorStefan Agner <stefan@agner.ch>
Fri, 12 Aug 2016 00:11:06 +0000 (17:11 -0700)
committerShawn Guo <shawnguo@kernel.org>
Wed, 17 Aug 2016 14:34:32 +0000 (22:34 +0800)
Only i.MX 7Dual SoC supports CPU frequencies of up to 1GHz. The i.MX
7Solo can run with up to 800MHz and does so without making use of DVFS
usually. While the device tree clearly specified a too fast operating
point for i.MX 7Solo, the kernel did not used it in practise so far
because the CPUfreq driver does not get loaded on i.MX 7Solo devices
(since the fsl,imx7s compatible string is not in the list of devices
making use of the cpufreq-dt driver...).

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7d.dtsi
arch/arm/boot/dts/imx7s.dtsi

index 3d77d95bbc9d2d4f2add6be67762f62a6414a94f..d0b199c2e0dfcd85d5e62487842c30d9d0c56613 100644 (file)
 
 / {
        cpus {
+               cpu0: cpu@0 {
+                       operating-points = <
+                               /* KHz  uV */
+                               996000  1075000
+                               792000  975000
+                       >;
+               };
+
                cpu1: cpu@1 {
                        compatible = "arm,cortex-a7";
                        device_type = "cpu";
index be80156d8061013b8f692e9cd0450059f425db0c..75e9d1b5599482e7a19a1896b9d55a07ee2b3911 100644 (file)
                        compatible = "arm,cortex-a7";
                        device_type = "cpu";
                        reg = <0>;
-                       operating-points = <
-                               /* KHz  uV */
-                               996000  1075000
-                               792000  975000
-                       >;
                        clock-latency = <61036>; /* two CLK32 periods */
                        clocks = <&clks IMX7D_CLK_ARM>;
                };