hostapd: Fix compile against mbedtsl 3.6
[openwrt/staging/nbd.git] / target / linux / ipq806x / patches-6.1 / 115-02-ARM-dts-qcom-add-fab-scaling-node-for-ipq806x.patch
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
5
6 Add fabric scaling node for ipq806x to correctly scale apps and ddr
7 fabric clk.
8
9 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
10 ---
11 arch/arm/boot/dts/qcom-ipq8064.dtsi | 19 +++++++++++++++++++
12 1 file changed, 19 insertions(+)
13
14 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
15 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
16 @@ -170,6 +170,18 @@
17 };
18 };
19
20 + opp_table_fab: opp_table_fab {
21 + compatible = "operating-points-v2";
22 +
23 + opp-533000000 {
24 + opp-hz = /bits/ 64 <533000000>;
25 + };
26 +
27 + opp-400000000 {
28 + opp-hz = /bits/ 64 <400000000>;
29 + };
30 + };
31 +
32 thermal-zones {
33 sensor0-thermal {
34 polling-delay-passive = <0>;
35 @@ -1409,6 +1421,13 @@
36 operating-points-v2 = <&opp_table_l2>;
37 };
38
39 + fab-scaling {
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>;
44 + };
45 +
46 lpass@28100000 {
47 compatible = "qcom,lpass-cpu";
48 status = "disabled";