qualcommax: 6.6: make patches apply
[openwrt/staging/stintel.git] / target / linux / qualcommax / patches-6.6 / 0058-v6.9-arm64-dts-qcom-ipq6018-add-tsens-node.patch
1 From 0b17197055b528da22e9385200e61b847b499d48 Mon Sep 17 00:00:00 2001
2 From: Mantas Pucka <mantas@8devices.com>
3 Date: Thu, 25 Jan 2024 11:04:11 +0200
4 Subject: [PATCH] arm64: dts: qcom: ipq6018: add tsens node
5
6 IPQ6018 has temperature sensing HW block compatible with IPQ8074. Add
7 node for it.
8
9 Signed-off-by: Mantas Pucka <mantas@8devices.com>
10 Link: https://lore.kernel.org/r/1706173452-1017-3-git-send-email-mantas@8devices.com
11 Signed-off-by: Bjorn Andersson <andersson@kernel.org>
12 ---
13 arch/arm64/boot/dts/qcom/ipq6018.dtsi | 10 ++++++++++
14 1 file changed, 10 insertions(+)
15
16 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
17 +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
18 @@ -343,6 +343,16 @@
19 clock-names = "core";
20 };
21
22 + tsens: thermal-sensor@4a9000 {
23 + compatible = "qcom,ipq6018-tsens", "qcom,ipq8074-tsens";
24 + reg = <0x0 0x004a9000 0x0 0x1000>,
25 + <0x0 0x004a8000 0x0 0x1000>;
26 + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
27 + interrupt-names = "combined";
28 + #qcom,sensors = <16>;
29 + #thermal-sensor-cells = <1>;
30 + };
31 +
32 cryptobam: dma-controller@704000 {
33 compatible = "qcom,bam-v1.7.0";
34 reg = <0x0 0x00704000 0x0 0x20000>;