arm64: dts: qcom: ipq6018: add tsens node
authorMantas Pucka <mantas@8devices.com>
Thu, 25 Jan 2024 09:04:11 +0000 (11:04 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 6 Feb 2024 21:58:26 +0000 (15:58 -0600)
IPQ6018 has temperature sensing HW block compatible with IPQ8074. Add
node for it.

Signed-off-by: Mantas Pucka <mantas@8devices.com>
Link: https://lore.kernel.org/r/1706173452-1017-3-git-send-email-mantas@8devices.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq6018.dtsi

index 48ec0bef540169e911aad7d374aa1e87e0147138..2be815f55905d29ac17e4192b6556b61618d7163 100644 (file)
                        clock-names = "core";
                };
 
+               tsens: thermal-sensor@4a9000 {
+                       compatible = "qcom,ipq6018-tsens", "qcom,ipq8074-tsens";
+                       reg = <0x0 0x004a9000 0x0 0x1000>,
+                             <0x0 0x004a8000 0x0 0x1000>;
+                       interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
+                       interrupt-names = "combined";
+                       #qcom,sensors = <16>;
+                       #thermal-sensor-cells = <1>;
+               };
+
                cryptobam: dma-controller@704000 {
                        compatible = "qcom,bam-v1.7.0";
                        reg = <0x0 0x00704000 0x0 0x20000>;