1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5 6/ { 7 thermal-zones { 8 pm8550ve-d-thermal { 9 polling-delay-passive = <100>; 10 11 thermal-sensors = <&pm8550ve_d_temp_alarm>; 12 13 trips { 14 trip0 { 15 temperature = <95000>; 16 hysteresis = <0>; 17 type = "passive"; 18 }; 19 20 trip1 { 21 temperature = <115000>; 22 hysteresis = <0>; 23 type = "hot"; 24 }; 25 }; 26 }; 27 28 pm8550ve-f-thermal { 29 polling-delay-passive = <100>; 30 31 thermal-sensors = <&pm8550ve_f_temp_alarm>; 32 33 trips { 34 trip0 { 35 temperature = <95000>; 36 hysteresis = <0>; 37 type = "passive"; 38 }; 39 40 trip1 { 41 temperature = <115000>; 42 hysteresis = <0>; 43 type = "hot"; 44 }; 45 }; 46 }; 47 48 pm8550ve-g-thermal { 49 polling-delay-passive = <100>; 50 51 thermal-sensors = <&pm8550ve_g_temp_alarm>; 52 53 trips { 54 trip0 { 55 temperature = <95000>; 56 hysteresis = <0>; 57 type = "passive"; 58 }; 59 60 trip1 { 61 temperature = <115000>; 62 hysteresis = <0>; 63 type = "hot"; 64 }; 65 }; 66 }; 67 68 pm8550vs-j-thermal { 69 polling-delay-passive = <100>; 70 71 thermal-sensors = <&pm8550vs_j_temp_alarm>; 72 73 trips { 74 trip0 { 75 temperature = <95000>; 76 hysteresis = <0>; 77 type = "passive"; 78 }; 79 80 trip1 { 81 temperature = <115000>; 82 hysteresis = <0>; 83 type = "hot"; 84 }; 85 }; 86 }; 87 }; 88}; 89 90&spmi_bus { 91 /* PM8550VE */ 92 pm8550ve_d: pmic@3 { 93 compatible = "qcom,pm8550ve", "qcom,spmi-pmic"; 94 reg = <0x3 SPMI_USID>; 95 #address-cells = <1>; 96 #size-cells = <0>; 97 98 pm8550ve_d_temp_alarm: temp-alarm@a00 { 99 compatible = "qcom,spmi-temp-alarm"; 100 reg = <0xa00>; 101 interrupts = <0x3 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 102 #thermal-sensor-cells = <0>; 103 }; 104 105 pm8550ve_d_gpios: gpio@8800 { 106 compatible = "qcom,pm8550ve-gpio", "qcom,spmi-gpio"; 107 reg = <0x8800>; 108 gpio-controller; 109 gpio-ranges = <&pm8550ve_d_gpios 0 0 8>; 110 #gpio-cells = <2>; 111 interrupt-controller; 112 #interrupt-cells = <2>; 113 }; 114 }; 115 116 pm8550ve_f: pmic@5 { 117 compatible = "qcom,pm8550ve", "qcom,spmi-pmic"; 118 reg = <0x5 SPMI_USID>; 119 #address-cells = <1>; 120 #size-cells = <0>; 121 122 pm8550ve_f_temp_alarm: temp-alarm@a00 { 123 compatible = "qcom,spmi-temp-alarm"; 124 reg = <0xa00>; 125 interrupts = <0x5 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 126 #thermal-sensor-cells = <0>; 127 }; 128 129 pm8550ve_f_gpios: gpio@8800 { 130 compatible = "qcom,pm8550ve-gpio", "qcom,spmi-gpio"; 131 reg = <0x8800>; 132 gpio-controller; 133 gpio-ranges = <&pm8550ve_f_gpios 0 0 6>; 134 #gpio-cells = <2>; 135 interrupt-controller; 136 #interrupt-cells = <2>; 137 }; 138 }; 139 140 pm8550ve_g: pmic@6 { 141 compatible = "qcom,pm8550ve", "qcom,spmi-pmic"; 142 reg = <0x6 SPMI_USID>; 143 #address-cells = <1>; 144 #size-cells = <0>; 145 146 pm8550ve_g_temp_alarm: temp-alarm@a00 { 147 compatible = "qcom,spmi-temp-alarm"; 148 reg = <0xa00>; 149 interrupts = <0x6 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 150 #thermal-sensor-cells = <0>; 151 }; 152 153 pm8550ve_g_gpios: gpio@8800 { 154 compatible = "qcom,pm8550ve-gpio", "qcom,spmi-gpio"; 155 reg = <0x8800>; 156 gpio-controller; 157 gpio-ranges = <&pm8550ve_g_gpios 0 0 8>; 158 #gpio-cells = <2>; 159 interrupt-controller; 160 #interrupt-cells = <2>; 161 }; 162 }; 163 164 /* PM8550VS */ 165 pm8550vs_j: pmic@9 { 166 compatible = "qcom,pm8550vs", "qcom,spmi-pmic"; 167 reg = <0x9 SPMI_USID>; 168 #address-cells = <1>; 169 #size-cells = <0>; 170 171 pm8550vs_j_temp_alarm: temp-alarm@a00 { 172 compatible = "qcom,spmi-temp-alarm"; 173 reg = <0xa00>; 174 interrupts = <0x9 0xa 0x0 IRQ_TYPE_EDGE_BOTH>; 175 #thermal-sensor-cells = <0>; 176 }; 177 178 pm8550vs_j_gpios: gpio@8800 { 179 compatible = "qcom,pm8550vs-gpio", "qcom,spmi-gpio"; 180 reg = <0x8800>; 181 gpio-controller; 182 gpio-ranges = <&pm8550vs_j_gpios 0 0 6>; 183 #gpio-cells = <2>; 184 interrupt-controller; 185 #interrupt-cells = <2>; 186 }; 187 }; 188}; 189