|
4 | 4 | #include "jz4780.dtsi" |
5 | 5 | #include <dt-bindings/clock/ingenic,tcu.h> |
6 | 6 | #include <dt-bindings/gpio/gpio.h> |
| 7 | +#include <dt-bindings/interrupt-controller/irq.h> |
| 8 | +#include <dt-bindings/regulator/active-semi,8865-regulator.h> |
7 | 9 |
|
8 | 10 | / { |
9 | 11 | compatible = "img,ci20", "ingenic,jz4780"; |
|
163 | 165 |
|
164 | 166 | regulators { |
165 | 167 | vddcore: SUDCDC1 { |
166 | | - regulator-name = "VDDCORE"; |
| 168 | + regulator-name = "DCDC_REG1"; |
167 | 169 | regulator-min-microvolt = <1100000>; |
168 | 170 | regulator-max-microvolt = <1100000>; |
169 | 171 | regulator-always-on; |
170 | 172 | }; |
171 | 173 | vddmem: SUDCDC2 { |
172 | | - regulator-name = "VDDMEM"; |
| 174 | + regulator-name = "DCDC_REG2"; |
173 | 175 | regulator-min-microvolt = <1500000>; |
174 | 176 | regulator-max-microvolt = <1500000>; |
175 | 177 | regulator-always-on; |
176 | 178 | }; |
177 | 179 | vcc_33: SUDCDC3 { |
178 | | - regulator-name = "VCC33"; |
| 180 | + regulator-name = "DCDC_REG3"; |
179 | 181 | regulator-min-microvolt = <3300000>; |
180 | 182 | regulator-max-microvolt = <3300000>; |
181 | 183 | regulator-always-on; |
182 | 184 | }; |
183 | 185 | vcc_50: SUDCDC4 { |
184 | | - regulator-name = "VCC50"; |
| 186 | + regulator-name = "SUDCDC_REG4"; |
185 | 187 | regulator-min-microvolt = <5000000>; |
186 | 188 | regulator-max-microvolt = <5000000>; |
187 | 189 | regulator-always-on; |
188 | 190 | }; |
189 | 191 | vcc_25: LDO_REG5 { |
190 | | - regulator-name = "VCC25"; |
| 192 | + regulator-name = "LDO_REG5"; |
191 | 193 | regulator-min-microvolt = <2500000>; |
192 | 194 | regulator-max-microvolt = <2500000>; |
193 | 195 | regulator-always-on; |
194 | 196 | }; |
195 | 197 | wifi_io: LDO_REG6 { |
196 | | - regulator-name = "WIFIIO"; |
| 198 | + regulator-name = "LDO_REG6"; |
197 | 199 | regulator-min-microvolt = <2500000>; |
198 | 200 | regulator-max-microvolt = <2500000>; |
199 | 201 | regulator-always-on; |
200 | 202 | }; |
201 | 203 | vcc_28: LDO_REG7 { |
202 | | - regulator-name = "VCC28"; |
| 204 | + regulator-name = "LDO_REG7"; |
203 | 205 | regulator-min-microvolt = <2800000>; |
204 | 206 | regulator-max-microvolt = <2800000>; |
205 | 207 | regulator-always-on; |
206 | 208 | }; |
207 | 209 | vcc_15: LDO_REG8 { |
208 | | - regulator-name = "VCC15"; |
| 210 | + regulator-name = "LDO_REG8"; |
209 | 211 | regulator-min-microvolt = <1500000>; |
210 | 212 | regulator-max-microvolt = <1500000>; |
211 | 213 | regulator-always-on; |
212 | 214 | }; |
213 | | - vcc_18: LDO_REG9 { |
214 | | - regulator-name = "VCC18"; |
215 | | - regulator-min-microvolt = <1800000>; |
216 | | - regulator-max-microvolt = <1800000>; |
| 215 | + vrtc_18: LDO_REG9 { |
| 216 | + regulator-name = "LDO_REG9"; |
| 217 | + /* Despite the datasheet stating 3.3V |
| 218 | + * for REG9 and the driver expecting that, |
| 219 | + * REG9 outputs 1.8V. |
| 220 | + * Likely the CI20 uses a proprietary |
| 221 | + * factory programmed chip variant. |
| 222 | + * Since this is a simple on/off LDO the |
| 223 | + * exact values do not matter. |
| 224 | + */ |
| 225 | + regulator-min-microvolt = <3300000>; |
| 226 | + regulator-max-microvolt = <3300000>; |
217 | 227 | regulator-always-on; |
218 | 228 | }; |
219 | 229 | vcc_11: LDO_REG10 { |
220 | | - regulator-name = "VCC11"; |
221 | | - regulator-min-microvolt = <1100000>; |
222 | | - regulator-max-microvolt = <1100000>; |
| 230 | + regulator-name = "LDO_REG10"; |
| 231 | + regulator-min-microvolt = <1200000>; |
| 232 | + regulator-max-microvolt = <1200000>; |
223 | 233 | regulator-always-on; |
224 | 234 | }; |
225 | 235 | }; |
|
261 | 271 | rtc@51 { |
262 | 272 | compatible = "nxp,pcf8563"; |
263 | 273 | reg = <0x51>; |
264 | | - interrupts = <110>; |
| 274 | + |
| 275 | + interrupt-parent = <&gpf>; |
| 276 | + interrupts = <30 IRQ_TYPE_LEVEL_LOW>; |
265 | 277 | }; |
266 | 278 | }; |
267 | 279 |
|
|
0 commit comments