[openwrt/openwrt] ipq806x: fix missing 1.4ghz cache freq for ipq8065 SoC

LEDE Commits lede-commits at lists.infradead.org
Wed Jun 30 14:24:18 PDT 2021


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/014aac7944ab9c6d5f33f57491acea5698d77f3b

commit 014aac7944ab9c6d5f33f57491acea5698d77f3b
Author: Ansuel Smith <ansuelsmth at gmail.com>
AuthorDate: Thu May 20 23:39:36 2021 +0200

    ipq806x: fix missing 1.4ghz cache freq for ipq8065 SoC
    
    With the new implementation of the dedicated cpufreq driver,
    the 1.4 Ghz was only dropped and not added to the ipq8065 SoC.
    Fix this to improve performance.
    
    Signed-off-by: Ansuel Smith <ansuelsmth at gmail.com>
---
 .../linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi   | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
index 9c3a24f600..a0312686a0 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
@@ -77,6 +77,17 @@
 	qcom,mpll = <5>;
 };
 
+&opp_table_l2 {
+	/delete-node/opp-1200000000;
+
+	opp-1400000000 {
+		opp-hz = /bits/ 64 <1400000000>;
+		opp-microvolt = <1150000>;
+		clock-latency-ns = <100000>;
+		opp-level = <2>;
+	};
+};
+
 &opp_table0 {
 	/* 
 	 * On ipq8065 1.2 ghz freq is not present



More information about the lede-commits mailing list