From 080127d948dc8d484a06e0ca7b405cb7d77db5f5 Mon Sep 17 00:00:00 2001 From: Ansuel Smith Date: Thu, 20 May 2021 23:39:36 +0200 Subject: [PATCH] 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 --- .../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