arm64: dts: qcom: sm8150: Add support for LMh node
authorThara Gopinath <thara.gopinath@linaro.org>
Thu, 6 Jan 2022 17:31:37 +0000 (12:31 -0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 1 Feb 2022 00:20:29 +0000 (18:20 -0600)
Add LMh nodes for cpu cluster0 and cpu cluster1 for sm8150 SoC.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220106173138.411097-3-thara.gopinath@linaro.org
arch/arm64/boot/dts/qcom/sm8150.dtsi

index e680c32371c060852585fbe77f9acbcc725c887e..901c25a6c9c5393dc8a7b56223b7befd362c8403 100644 (file)
                        #freq-domain-cells = <1>;
                };
 
+               lmh_cluster1: lmh@18350800 {
+                       compatible = "qcom,sm8150-lmh";
+                       reg = <0 0x18350800 0 0x400>;
+                       interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
+                       cpus = <&CPU4>;
+                       qcom,lmh-temp-arm-millicelsius = <60000>;
+                       qcom,lmh-temp-low-millicelsius = <84500>;
+                       qcom,lmh-temp-high-millicelsius = <85000>;
+                       interrupt-controller;
+                       #interrupt-cells = <1>;
+               };
+
+               lmh_cluster0: lmh@18358800 {
+                       compatible = "qcom,sm8150-lmh";
+                       reg = <0 0x18358800 0 0x400>;
+                       interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+                       cpus = <&CPU0>;
+                       qcom,lmh-temp-arm-millicelsius = <60000>;
+                       qcom,lmh-temp-low-millicelsius = <84500>;
+                       qcom,lmh-temp-high-millicelsius = <85000>;
+                       interrupt-controller;
+                       #interrupt-cells = <1>;
+               };
+
                wifi: wifi@18800000 {
                        compatible = "qcom,wcn3990-wifi";
                        reg = <0 0x18800000 0 0x800000>;