[LEDE-DEV] [PATCH 8/8] ipq806x: ipq4019: dts: fix maximum cpu speed

Roman Yeryomin roman at advem.lv
Sun Oct 29 16:19:32 PDT 2017


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 at advem.lv>
---
 .../files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts  |  9 ---------
 .../patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch  | 13 +++++++++++++
 2 files changed, 13 insertions(+), 9 deletions(-)
 create mode 100644 target/linux/ipq806x/patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch

diff --git a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
index 9b14280695..f7b9e2c161 100644
--- a/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
+++ b/target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts
@@ -215,12 +215,3 @@
 		};
 	};
 };
-
-&cpu0_opp_table {
-	/delete-node/ opp at 666000000;
-
-	opp at 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
index 0000000000..33f7f04f3c
--- /dev/null
+++ b/target/linux/ipq806x/patches-4.9/864-06-dts-ipq4019-fix-max-cpu-speed.patch
@@ -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 at 666000000 {
+-			opp-hz = /bits/ 64 <666000000>;
++		opp at 716800000 {
++			opp-hz = /bits/ 64 <716800000>;
+ 			clock-latency-ns = <256000>;
+ 		};
+ 	};
-- 
2.11.0




More information about the Lede-dev mailing list