From: Roman Yeryomin Date: Sun, 29 Oct 2017 23:19:32 +0000 (+0200) Subject: ipq806x: ipq4019: dts: fix maximum cpu speed X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a22e2bd37db28b084f01a567ef8706fefa0be667;p=openwrt%2Fstaging%2Fhauke.git ipq806x: ipq4019: dts: fix maximum cpu speed 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 --- 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@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 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@666000000 { +- opp-hz = /bits/ 64 <666000000>; ++ opp@716800000 { ++ opp-hz = /bits/ 64 <716800000>; + clock-latency-ns = <256000>; + }; + };