diff options
author | Konrad Dybcio <konrad.dybcio@somainline.org> | 2021-09-23 19:21:55 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2021-09-28 01:21:29 +0300 |
commit | 25e0ae68481905f40c41d6b588d221354fb36055 (patch) | |
tree | c690faeca59be8f24dd490593edd9ecc3a1c0ff0 | |
parent | 3cc415413f540403a0cbc36a49aa40ba764f708c (diff) | |
download | linux-25e0ae68481905f40c41d6b588d221354fb36055.tar.xz |
arm64: dts: qcom: sm6350: Add TSENS nodes
Add nodes required for TSENS block using the common qcom,tsens-v2 binding.
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210923162204.21752-9-konrad.dybcio@somainline.org
-rw-r--r-- | arch/arm64/boot/dts/qcom/sm6350.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index fc4b1c3f6471..cdb342d9153b 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -513,6 +513,28 @@ interrupt-controller; }; + tsens0: thermal-sensor@c263000 { + compatible = "qcom,sm6350-tsens", "qcom,tsens-v2"; + reg = <0 0x0c263000 0 0x1ff>, /* TM */ + <0 0x0c222000 0 0x8>; /* SROT */ + #qcom,sensors = <16>; + interrupts = <&pdc 26 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 28 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + }; + + tsens1: thermal-sensor@c265000 { + compatible = "qcom,sm6350-tsens", "qcom,tsens-v2"; + reg = <0 0x0c265000 0 0x1ff>, /* TM */ + <0 0x0c223000 0 0x8>; /* SROT */ + #qcom,sensors = <16>; + interrupts = <&pdc 27 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 29 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "uplow", "critical"; + #thermal-sensor-cells = <1>; + }; + tlmm: pinctrl@f100000 { compatible = "qcom,sm6350-tlmm"; reg = <0 0x0f100000 0 0x300000>; |