qualcommax: add ipq60xx support
[openwrt/staging/jow.git] / target / linux / qualcommax / patches-6.1 / 0140-arm64-dts-qcom-ipq6018-add-tsens-node.patch
1 From 946b1a565a60a04f8e5171a79a463f99485a3531 Mon Sep 17 00:00:00 2001
2 From: Mantas Pucka <mantas@8devices.com>
3 Date: Wed, 24 Jan 2024 15:07:24 +0200
4 Subject: [PATCH 2/3] 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 ---
11 arch/arm64/boot/dts/qcom/ipq6018.dtsi | 10 ++++++++++
12 1 file changed, 10 insertions(+)
13
14 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi
15 +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi
16 @@ -193,6 +193,16 @@
17 clock-names = "core";
18 };
19
20 + tsens: thermal-sensor@4a9000 {
21 + compatible = "qcom,ipq6018-tsens", "qcom,ipq8074-tsens";
22 + reg = <0x0 0x004a9000 0x0 0x1000>,
23 + <0x0 0x004a8000 0x0 0x1000>;
24 + interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
25 + interrupt-names = "combined";
26 + #qcom,sensors = <16>;
27 + #thermal-sensor-cells = <1>;
28 + };
29 +
30 cryptobam: dma-controller@704000 {
31 compatible = "qcom,bam-v1.7.0";
32 reg = <0x0 0x00704000 0x0 0x20000>;