1 From c3573f0907dadb0a6e9933aae2a46a489abcbd48 Mon Sep 17 00:00:00 2001
2 From: Christian Marangi <ansuelsmth@gmail.com>
3 Date: Thu, 16 Jun 2022 20:03:05 +0200
4 Subject: [PATCH 4/4] ARM: dts: qcom: add fab scaling node for ipq806x
6 Add fabric scaling node for ipq806x to correctly scale apps and ddr
9 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
11 arch/arm/boot/dts/qcom-ipq8064.dtsi | 19 +++++++++++++++++++
12 1 file changed, 19 insertions(+)
14 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
15 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
20 + opp_table_fab: opp_table_fab {
21 + compatible = "operating-points-v2";
24 + opp-hz = /bits/ 64 <533000000>;
28 + opp-hz = /bits/ 64 <400000000>;
34 polling-delay-passive = <0>;
35 @@ -1410,6 +1422,13 @@
36 operating-points-v2 = <&opp_table_l2>;
40 + compatible = "qcom,fab-scaling";
41 + clocks = <&rpmcc RPM_APPS_FABRIC_A_CLK>, <&rpmcc RPM_EBI1_A_CLK>;
42 + clock-names = "apps-fab-clk", "ddr-fab-clk";
43 + operating-points-v2 = <&opp_table_fab>;
47 compatible = "qcom,lpass-cpu";