ipq806x: ipq4019: dts: fix maximum cpu speed
authorRoman Yeryomin <roman@advem.lv>
Sun, 29 Oct 2017 23:19:32 +0000 (01:19 +0200)
committerJohn Crispin <john@phrozen.org>
Sun, 29 Oct 2017 23:19:32 +0000 (01:19 +0200)
Supported frequencies of all ipq40xx chips are 48, 200, 500 and 716.8 MHz.
Previous 666MHz setting was most likely related to instability of early
chips/boards made before mass production.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
target/linux/ipq806x/patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch [new file with mode: 0644]

index 9b14280695ad43d6d72b9f76880cb98e3d0fb738..f7b9e2c1614d35ff3a62c3151a5fac6d8395813f 100644 (file)
                };
        };
 };
-
-&cpu0_opp_table {
-       /delete-node/ opp@666000000;
-
-       opp@710000000 {
-               opp-hz = /bits/ 64 <710000000>;
-               clock-latency-ns = <256000>;
-       };
-};
diff --git a/target/linux/ipq806x/patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch b/target/linux/ipq806x/patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch
new file mode 100644 (file)
index 0000000..33f7f04
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
++++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
+@@ -108,8 +108,8 @@
+                       opp-hz = /bits/ 64 <500000000>;
+                       clock-latency-ns = <256000>;
+               };
+-              opp@666000000 {
+-                      opp-hz = /bits/ 64 <666000000>;
++              opp@716800000 {
++                      opp-hz = /bits/ 64 <716800000>;
+                       clock-latency-ns = <256000>;
+               };
+       };