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 9b14280..f7b9e2c 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>;
+               };
+       };