|
52 | 52 | reg = <0x80000000 0>;
|
53 | 53 | };
|
54 | 54 |
|
| 55 | + thermal-zones { |
| 56 | + cpu0-thermal { |
| 57 | + polling-delay-passive = <250>; |
| 58 | + polling-delay = <1000>; |
| 59 | + thermal-sensors = <&tsens 0>; |
| 60 | + |
| 61 | + trips { |
| 62 | + cpu_alert0: trip0 { |
| 63 | + temperature = <60000>; |
| 64 | + hysteresis = <10000>; |
| 65 | + type = "passive"; |
| 66 | + }; |
| 67 | + |
| 68 | + cpu_crit0: trip1 { |
| 69 | + temperature = <95000>; |
| 70 | + hysteresis = <10000>; |
| 71 | + type = "critical"; |
| 72 | + }; |
| 73 | + }; |
| 74 | + }; |
| 75 | + |
| 76 | + cpu1-thermal { |
| 77 | + polling-delay-passive = <250>; |
| 78 | + polling-delay = <1000>; |
| 79 | + thermal-sensors = <&tsens 1>; |
| 80 | + |
| 81 | + trips { |
| 82 | + cpu_alert1: trip0 { |
| 83 | + temperature = <60000>; |
| 84 | + hysteresis = <10000>; |
| 85 | + type = "passive"; |
| 86 | + }; |
| 87 | + |
| 88 | + cpu_crit1: trip1 { |
| 89 | + temperature = <95000>; |
| 90 | + hysteresis = <10000>; |
| 91 | + type = "critical"; |
| 92 | + }; |
| 93 | + }; |
| 94 | + }; |
| 95 | + }; |
| 96 | + |
55 | 97 | cpu-pmu {
|
56 | 98 | compatible = "qcom,krait-pmu";
|
57 | 99 | interrupts = <GIC_PPI 10 0x304>;
|
|
115 | 157 | cpu-offset = <0x80000>;
|
116 | 158 | };
|
117 | 159 |
|
| 160 | + qfprom: efuse@700000 { |
| 161 | + compatible = "qcom,msm8960-qfprom", "qcom,qfprom"; |
| 162 | + reg = <0x00700000 0x1000>; |
| 163 | + #address-cells = <1>; |
| 164 | + #size-cells = <1>; |
| 165 | + |
| 166 | + tsens_calib: calib@404 { |
| 167 | + reg = <0x404 0x10>; |
| 168 | + }; |
| 169 | + |
| 170 | + tsens_backup: backup-calib@414 { |
| 171 | + reg = <0x414 0x10>; |
| 172 | + }; |
| 173 | + }; |
| 174 | + |
118 | 175 | msmgpio: pinctrl@800000 {
|
119 | 176 | compatible = "qcom,msm8960-pinctrl";
|
120 | 177 | gpio-controller;
|
|
127 | 184 | };
|
128 | 185 |
|
129 | 186 | gcc: clock-controller@900000 {
|
130 |
| - compatible = "qcom,gcc-msm8960"; |
| 187 | + compatible = "qcom,gcc-msm8960", "syscon"; |
131 | 188 | #clock-cells = <1>;
|
132 | 189 | #reset-cells = <1>;
|
133 | 190 | reg = <0x900000 0x4000>;
|
134 | 191 | clocks = <&cxo_board>,
|
135 | 192 | <&pxo_board>,
|
136 | 193 | <&lcc PLL4>;
|
137 | 194 | clock-names = "cxo", "pxo", "pll4";
|
| 195 | + |
| 196 | + tsens: thermal-sensor { |
| 197 | + compatible = "qcom,msm8960-tsens"; |
| 198 | + |
| 199 | + nvmem-cells = <&tsens_calib>, <&tsens_backup>; |
| 200 | + nvmem-cell-names = "calib", "calib_backup"; |
| 201 | + interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; |
| 202 | + interrupt-names = "uplow"; |
| 203 | + |
| 204 | + #qcom,sensors = <5>; |
| 205 | + #thermal-sensor-cells = <1>; |
| 206 | + }; |
138 | 207 | };
|
139 | 208 |
|
140 | 209 | lcc: clock-controller@28000000 {
|
|
0 commit comments