ipq806x: switch default to 6.6
[openwrt/openwrt.git] / target / linux / ipq806x / patches-6.1 / 114-02-ARM-dts-qcom-add-krait-cache-compatible-for-ipq806x-.patch
1 From ef124ad0ff8abfbf4ebe3fe6d7dcef4541dec13a Mon Sep 17 00:00:00 2001
2 From: Christian Marangi <ansuelsmth@gmail.com>
3 Date: Thu, 16 Jun 2022 18:39:21 +0200
4 Subject: [PATCH] ARM: dts: qcom: add krait-cache compatible for ipq806x dtsi
5
6 Add qcom,krait-cache compatible to enable cache devfreq driver for
7 ipq806x SoC and move the L2 node to the soc node to make the devfreq
8 driver correctly probe.
9
10 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
11 ---
12 arch/arm/boot/dts/qcom-ipq8064.dtsi | 22 +++++++++++-----------
13 1 file changed, 11 insertions(+), 11 deletions(-)
14
15 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
16 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
17 @@ -69,16 +69,6 @@
18 min-residency-us = <3000>;
19 };
20 };
21 -
22 - L2: l2-cache {
23 - compatible = "cache";
24 - cache-level = <2>;
25 - qcom,saw = <&saw_l2>;
26 -
27 - clocks = <&kraitcc 4>;
28 - clock-names = "l2";
29 - operating-points-v2 = <&opp_table_l2>;
30 - };
31 };
32
33 opp_table_l2: opp_table_l2 {
34 @@ -1409,6 +1399,16 @@
35 #reset-cells = <1>;
36 };
37
38 + L2: l2-cache {
39 + compatible = "cache", "qcom,krait-cache";
40 + cache-level = <2>;
41 + qcom,saw = <&saw_l2>;
42 +
43 + clocks = <&kraitcc 4>;
44 + clock-names = "l2";
45 + operating-points-v2 = <&opp_table_l2>;
46 + };
47 +
48 lpass@28100000 {
49 compatible = "qcom,lpass-cpu";
50 status = "disabled";