]>
Commit | Line | Data |
---|---|---|
0cfec8ed | 1 | // SPDX-License-Identifier: GPL-2.0 |
853d2694 AK |
2 | /* |
3 | * Google Peach Pi Rev 10+ board device tree source | |
4 | * | |
5 | * Copyright (c) 2014 Google, Inc | |
853d2694 AK |
6 | */ |
7 | ||
8 | /dts-v1/; | |
9 | #include <dt-bindings/input/input.h> | |
10 | #include <dt-bindings/gpio/gpio.h> | |
064ac050 | 11 | #include <dt-bindings/interrupt-controller/irq.h> |
fa781dda | 12 | #include <dt-bindings/clock/maxim,max77802.h> |
23c76dc6 | 13 | #include <dt-bindings/regulator/maxim,max77802.h> |
bae0f445 | 14 | #include <dt-bindings/sound/samsung-i2s.h> |
853d2694 | 15 | #include "exynos5800.dtsi" |
4f0d20ec | 16 | #include "exynos5420-cpus.dtsi" |
853d2694 AK |
17 | |
18 | / { | |
19 | model = "Google Peach Pi Rev 10+"; | |
20 | ||
21 | compatible = "google,pi-rev16", | |
22 | "google,pi-rev15", "google,pi-rev14", | |
23 | "google,pi-rev13", "google,pi-rev12", | |
24 | "google,pi-rev11", "google,pi-rev10", | |
25 | "google,pi", "google,peach", "samsung,exynos5800", | |
26 | "samsung,exynos5"; | |
27 | ||
8060098b DA |
28 | aliases { |
29 | /* Assign 20 so we don't get confused w/ builtin ones */ | |
70c3250a | 30 | i2c20 = &i2c_tunnel; |
8060098b DA |
31 | }; |
32 | ||
0a0752c6 | 33 | backlight: backlight { |
522c8ff5 TB |
34 | compatible = "pwm-backlight"; |
35 | pwms = <&pwm 0 1000000 0>; | |
36 | brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; | |
37 | default-brightness-level = <7>; | |
0a0752c6 AK |
38 | enable-gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>; |
39 | power-supply = <&tps65090_fet1>; | |
522c8ff5 TB |
40 | pinctrl-0 = <&pwm0_out>; |
41 | pinctrl-names = "default"; | |
853d2694 AK |
42 | }; |
43 | ||
1d1b00aa JMC |
44 | chosen { |
45 | stdout-path = "serial3:115200n8"; | |
46 | }; | |
47 | ||
853d2694 AK |
48 | fixed-rate-clocks { |
49 | oscclk { | |
50 | compatible = "samsung,exynos5420-oscclk"; | |
51 | clock-frequency = <24000000>; | |
52 | }; | |
53 | }; | |
54 | ||
55 | gpio-keys { | |
56 | compatible = "gpio-keys"; | |
57 | ||
58 | pinctrl-names = "default"; | |
1f3cde4b | 59 | pinctrl-0 = <&power_key_irq &lid_irq>; |
853d2694 AK |
60 | |
61 | power { | |
62 | label = "Power"; | |
63 | gpios = <&gpx1 2 GPIO_ACTIVE_LOW>; | |
64 | linux,code = <KEY_POWER>; | |
36a0282a | 65 | wakeup-source; |
853d2694 | 66 | }; |
1f3cde4b JMC |
67 | |
68 | lid-switch { | |
69 | label = "Lid"; | |
70 | gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; | |
71 | linux,input-type = <5>; /* EV_SW */ | |
72 | linux,code = <0>; /* SW_LID */ | |
73 | debounce-interval = <1>; | |
36a0282a | 74 | wakeup-source; |
1f3cde4b JMC |
75 | }; |
76 | ||
853d2694 AK |
77 | }; |
78 | ||
a0eb1095 | 79 | memory@20000000 { |
12676ee1 | 80 | device_type = "memory"; |
522c8ff5 | 81 | reg = <0x20000000 0x80000000>; |
853d2694 | 82 | }; |
d3343157 | 83 | |
db91fb2c TB |
84 | sound { |
85 | compatible = "google,snow-audio-max98091"; | |
86 | ||
a8d80b6b | 87 | samsung,model = "Peach-Pi-I2S-MAX98091"; |
db91fb2c TB |
88 | samsung,i2s-controller = <&i2s0>; |
89 | samsung,audio-codec = <&max98091>; | |
bae0f445 SN |
90 | |
91 | cpu { | |
92 | sound-dai = <&i2s0 0>; | |
93 | }; | |
94 | ||
95 | codec { | |
96 | sound-dai = <&max98091>, <&hdmi>; | |
97 | }; | |
db91fb2c TB |
98 | }; |
99 | ||
d3343157 VG |
100 | usb300_vbus_reg: regulator-usb300 { |
101 | compatible = "regulator-fixed"; | |
102 | regulator-name = "P5.0V_USB3CON0"; | |
103 | regulator-min-microvolt = <5000000>; | |
104 | regulator-max-microvolt = <5000000>; | |
31b9903c | 105 | gpio = <&gph0 0 GPIO_ACTIVE_HIGH>; |
d3343157 VG |
106 | pinctrl-names = "default"; |
107 | pinctrl-0 = <&usb300_vbus_en>; | |
108 | enable-active-high; | |
109 | }; | |
110 | ||
111 | usb301_vbus_reg: regulator-usb301 { | |
112 | compatible = "regulator-fixed"; | |
113 | regulator-name = "P5.0V_USB3CON1"; | |
114 | regulator-min-microvolt = <5000000>; | |
115 | regulator-max-microvolt = <5000000>; | |
31b9903c | 116 | gpio = <&gph0 1 GPIO_ACTIVE_HIGH>; |
d3343157 VG |
117 | pinctrl-names = "default"; |
118 | pinctrl-0 = <&usb301_vbus_en>; | |
119 | enable-active-high; | |
120 | }; | |
8060098b DA |
121 | |
122 | vbat: fixed-regulator { | |
123 | compatible = "regulator-fixed"; | |
124 | regulator-name = "vbat-supply"; | |
125 | regulator-boot-on; | |
126 | regulator-always-on; | |
127 | }; | |
0a0752c6 AK |
128 | |
129 | panel: panel { | |
130 | compatible = "auo,b133htn01"; | |
131 | power-supply = <&tps65090_fet6>; | |
132 | backlight = <&backlight>; | |
25e9092a JMC |
133 | |
134 | port { | |
135 | panel_in: endpoint { | |
136 | remote-endpoint = <&dp_out>; | |
137 | }; | |
138 | }; | |
0a0752c6 | 139 | }; |
3cb18180 JMC |
140 | |
141 | mmc1_pwrseq: mmc1_pwrseq { | |
142 | compatible = "mmc-pwrseq-simple"; | |
143 | reset-gpios = <&gpx0 0 GPIO_ACTIVE_LOW>; /* WIFI_EN */ | |
144 | clocks = <&max77802 MAX77802_CLK_32K_CP>; | |
145 | clock-names = "ext_clock"; | |
146 | }; | |
853d2694 AK |
147 | }; |
148 | ||
7b488038 NKC |
149 | &adc { |
150 | status = "okay"; | |
151 | vdd-supply = <&ldo9_reg>; | |
152 | }; | |
153 | ||
bae0f445 SN |
154 | &clock_audss { |
155 | assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>; | |
ff1e37c6 | 156 | assigned-clock-parents = <&clock CLK_MAU_EPLL>; |
bae0f445 SN |
157 | }; |
158 | ||
8b51c5e7 BZ |
159 | &cpu0 { |
160 | cpu-supply = <&buck2_reg>; | |
161 | }; | |
162 | ||
163 | &cpu4 { | |
164 | cpu-supply = <&buck6_reg>; | |
165 | }; | |
166 | ||
522c8ff5 TB |
167 | &dp { |
168 | status = "okay"; | |
169 | pinctrl-names = "default"; | |
170 | pinctrl-0 = <&dp_hpd_gpio>; | |
171 | samsung,color-space = <0>; | |
522c8ff5 TB |
172 | samsung,color-depth = <1>; |
173 | samsung,link-rate = <0x0a>; | |
174 | samsung,lane-count = <2>; | |
31b9903c | 175 | samsung,hpd-gpio = <&gpx2 6 GPIO_ACTIVE_HIGH>; |
25e9092a JMC |
176 | |
177 | ports { | |
178 | port { | |
179 | dp_out: endpoint { | |
180 | remote-endpoint = <&panel_in>; | |
181 | }; | |
182 | }; | |
183 | }; | |
522c8ff5 | 184 | }; |
6a7da0d4 | 185 | |
522c8ff5 TB |
186 | &fimd { |
187 | status = "okay"; | |
188 | samsung,invert-vclk; | |
189 | }; | |
8b2f8379 | 190 | |
522c8ff5 TB |
191 | &hdmi { |
192 | status = "okay"; | |
05b01dd9 | 193 | hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>; |
522c8ff5 TB |
194 | pinctrl-names = "default"; |
195 | pinctrl-0 = <&hdmi_hpd_irq>; | |
196 | ddc = <&i2c_2>; | |
1dcd48c8 RS |
197 | |
198 | hdmi-en-supply = <&tps65090_fet7>; | |
199 | vdd-supply = <&ldo8_reg>; | |
200 | vdd_osc-supply = <&ldo10_reg>; | |
201 | vdd_pll-supply = <&ldo8_reg>; | |
853d2694 AK |
202 | }; |
203 | ||
064ac050 JMC |
204 | &hsi2c_4 { |
205 | status = "okay"; | |
206 | clock-frequency = <400000>; | |
207 | ||
fa781dda | 208 | max77802: max77802-pmic@9 { |
064ac050 JMC |
209 | compatible = "maxim,max77802"; |
210 | interrupt-parent = <&gpx3>; | |
211 | interrupts = <1 IRQ_TYPE_NONE>; | |
212 | pinctrl-names = "default"; | |
213 | pinctrl-0 = <&max77802_irq>, <&pmic_selb>, | |
214 | <&pmic_dvs_1>, <&pmic_dvs_2>, <&pmic_dvs_3>; | |
215 | wakeup-source; | |
216 | reg = <0x9>; | |
217 | #clock-cells = <1>; | |
218 | ||
219 | inb1-supply = <&tps65090_dcdc2>; | |
220 | inb2-supply = <&tps65090_dcdc1>; | |
221 | inb3-supply = <&tps65090_dcdc2>; | |
222 | inb4-supply = <&tps65090_dcdc2>; | |
223 | inb5-supply = <&tps65090_dcdc1>; | |
224 | inb6-supply = <&tps65090_dcdc2>; | |
225 | inb7-supply = <&tps65090_dcdc1>; | |
226 | inb8-supply = <&tps65090_dcdc1>; | |
227 | inb9-supply = <&tps65090_dcdc1>; | |
228 | inb10-supply = <&tps65090_dcdc1>; | |
229 | ||
230 | inl1-supply = <&buck5_reg>; | |
231 | inl2-supply = <&buck7_reg>; | |
232 | inl3-supply = <&buck9_reg>; | |
233 | inl4-supply = <&buck9_reg>; | |
234 | inl5-supply = <&buck9_reg>; | |
235 | inl6-supply = <&tps65090_dcdc2>; | |
236 | inl7-supply = <&buck9_reg>; | |
237 | inl9-supply = <&tps65090_dcdc2>; | |
238 | inl10-supply = <&buck7_reg>; | |
239 | ||
240 | regulators { | |
241 | buck1_reg: BUCK1 { | |
242 | regulator-name = "vdd_mif"; | |
243 | regulator-min-microvolt = <800000>; | |
244 | regulator-max-microvolt = <1300000>; | |
245 | regulator-always-on; | |
246 | regulator-boot-on; | |
247 | regulator-ramp-delay = <12500>; | |
23c76dc6 JMC |
248 | regulator-state-mem { |
249 | regulator-off-in-suspend; | |
250 | }; | |
064ac050 JMC |
251 | }; |
252 | ||
253 | buck2_reg: BUCK2 { | |
254 | regulator-name = "vdd_arm"; | |
255 | regulator-min-microvolt = <800000>; | |
256 | regulator-max-microvolt = <1500000>; | |
257 | regulator-always-on; | |
258 | regulator-boot-on; | |
259 | regulator-ramp-delay = <12500>; | |
23c76dc6 JMC |
260 | regulator-state-mem { |
261 | regulator-off-in-suspend; | |
262 | }; | |
064ac050 JMC |
263 | }; |
264 | ||
265 | buck3_reg: BUCK3 { | |
266 | regulator-name = "vdd_int"; | |
267 | regulator-min-microvolt = <800000>; | |
268 | regulator-max-microvolt = <1400000>; | |
269 | regulator-always-on; | |
270 | regulator-boot-on; | |
271 | regulator-ramp-delay = <12500>; | |
23c76dc6 JMC |
272 | regulator-state-mem { |
273 | regulator-off-in-suspend; | |
274 | }; | |
064ac050 JMC |
275 | }; |
276 | ||
277 | buck4_reg: BUCK4 { | |
278 | regulator-name = "vdd_g3d"; | |
279 | regulator-min-microvolt = <700000>; | |
280 | regulator-max-microvolt = <1400000>; | |
281 | regulator-always-on; | |
282 | regulator-boot-on; | |
283 | regulator-ramp-delay = <12500>; | |
23c76dc6 JMC |
284 | regulator-state-mem { |
285 | regulator-off-in-suspend; | |
286 | }; | |
064ac050 JMC |
287 | }; |
288 | ||
289 | buck5_reg: BUCK5 { | |
290 | regulator-name = "vdd_1v2"; | |
291 | regulator-min-microvolt = <1200000>; | |
292 | regulator-max-microvolt = <1200000>; | |
064ac050 | 293 | regulator-boot-on; |
23c76dc6 JMC |
294 | regulator-state-mem { |
295 | regulator-off-in-suspend; | |
296 | }; | |
064ac050 JMC |
297 | }; |
298 | ||
299 | buck6_reg: BUCK6 { | |
300 | regulator-name = "vdd_kfc"; | |
301 | regulator-min-microvolt = <800000>; | |
302 | regulator-max-microvolt = <1500000>; | |
303 | regulator-always-on; | |
304 | regulator-boot-on; | |
305 | regulator-ramp-delay = <12500>; | |
23c76dc6 JMC |
306 | regulator-state-mem { |
307 | regulator-off-in-suspend; | |
308 | }; | |
064ac050 JMC |
309 | }; |
310 | ||
311 | buck7_reg: BUCK7 { | |
312 | regulator-name = "vdd_1v35"; | |
313 | regulator-min-microvolt = <1350000>; | |
314 | regulator-max-microvolt = <1350000>; | |
f8f3b7fc | 315 | regulator-always-on; |
064ac050 | 316 | regulator-boot-on; |
23c76dc6 JMC |
317 | regulator-state-mem { |
318 | regulator-on-in-suspend; | |
319 | }; | |
064ac050 JMC |
320 | }; |
321 | ||
322 | buck8_reg: BUCK8 { | |
323 | regulator-name = "vdd_emmc"; | |
324 | regulator-min-microvolt = <2850000>; | |
325 | regulator-max-microvolt = <2850000>; | |
326 | regulator-always-on; | |
327 | regulator-boot-on; | |
23c76dc6 JMC |
328 | regulator-state-mem { |
329 | regulator-off-in-suspend; | |
330 | }; | |
064ac050 JMC |
331 | }; |
332 | ||
333 | buck9_reg: BUCK9 { | |
334 | regulator-name = "vdd_2v"; | |
335 | regulator-min-microvolt = <2000000>; | |
336 | regulator-max-microvolt = <2000000>; | |
f8f3b7fc | 337 | regulator-always-on; |
064ac050 | 338 | regulator-boot-on; |
23c76dc6 JMC |
339 | regulator-state-mem { |
340 | regulator-on-in-suspend; | |
341 | }; | |
064ac050 JMC |
342 | }; |
343 | ||
344 | buck10_reg: BUCK10 { | |
345 | regulator-name = "vdd_1v8"; | |
346 | regulator-min-microvolt = <1800000>; | |
347 | regulator-max-microvolt = <1800000>; | |
f8f3b7fc | 348 | regulator-always-on; |
064ac050 | 349 | regulator-boot-on; |
23c76dc6 JMC |
350 | regulator-state-mem { |
351 | regulator-on-in-suspend; | |
352 | }; | |
064ac050 JMC |
353 | }; |
354 | ||
355 | ldo1_reg: LDO1 { | |
356 | regulator-name = "vdd_1v0"; | |
357 | regulator-min-microvolt = <1000000>; | |
358 | regulator-max-microvolt = <1000000>; | |
359 | regulator-always-on; | |
23c76dc6 JMC |
360 | regulator-state-mem { |
361 | regulator-on-in-suspend; | |
362 | regulator-mode = <MAX77802_OPMODE_LP>; | |
363 | }; | |
064ac050 JMC |
364 | }; |
365 | ||
366 | ldo2_reg: LDO2 { | |
367 | regulator-name = "vdd_1v2_2"; | |
368 | regulator-min-microvolt = <1200000>; | |
369 | regulator-max-microvolt = <1200000>; | |
370 | }; | |
371 | ||
372 | ldo3_reg: LDO3 { | |
373 | regulator-name = "vdd_1v8_3"; | |
374 | regulator-min-microvolt = <1800000>; | |
375 | regulator-max-microvolt = <1800000>; | |
376 | regulator-always-on; | |
23c76dc6 JMC |
377 | regulator-state-mem { |
378 | regulator-on-in-suspend; | |
379 | regulator-mode = <MAX77802_OPMODE_LP>; | |
380 | }; | |
064ac050 JMC |
381 | }; |
382 | ||
383 | vqmmc_sdcard: ldo4_reg: LDO4 { | |
384 | regulator-name = "vdd_sd"; | |
385 | regulator-min-microvolt = <1800000>; | |
386 | regulator-max-microvolt = <2800000>; | |
387 | regulator-always-on; | |
23c76dc6 JMC |
388 | regulator-state-mem { |
389 | regulator-off-in-suspend; | |
390 | }; | |
064ac050 JMC |
391 | }; |
392 | ||
393 | ldo5_reg: LDO5 { | |
394 | regulator-name = "vdd_1v8_5"; | |
395 | regulator-min-microvolt = <1800000>; | |
396 | regulator-max-microvolt = <1800000>; | |
397 | regulator-always-on; | |
23c76dc6 JMC |
398 | regulator-state-mem { |
399 | regulator-off-in-suspend; | |
400 | }; | |
064ac050 JMC |
401 | }; |
402 | ||
403 | ldo6_reg: LDO6 { | |
404 | regulator-name = "vdd_1v8_6"; | |
405 | regulator-min-microvolt = <1800000>; | |
406 | regulator-max-microvolt = <1800000>; | |
407 | regulator-always-on; | |
23c76dc6 JMC |
408 | regulator-state-mem { |
409 | regulator-off-in-suspend; | |
410 | }; | |
064ac050 JMC |
411 | }; |
412 | ||
413 | ldo7_reg: LDO7 { | |
414 | regulator-name = "vdd_1v8_7"; | |
415 | regulator-min-microvolt = <1800000>; | |
416 | regulator-max-microvolt = <1800000>; | |
417 | }; | |
418 | ||
419 | ldo8_reg: LDO8 { | |
420 | regulator-name = "vdd_ldo8"; | |
421 | regulator-min-microvolt = <1000000>; | |
422 | regulator-max-microvolt = <1000000>; | |
423 | regulator-always-on; | |
23c76dc6 JMC |
424 | regulator-state-mem { |
425 | regulator-off-in-suspend; | |
426 | }; | |
064ac050 JMC |
427 | }; |
428 | ||
429 | ldo9_reg: LDO9 { | |
430 | regulator-name = "vdd_ldo9"; | |
431 | regulator-min-microvolt = <1800000>; | |
432 | regulator-max-microvolt = <1800000>; | |
23c76dc6 JMC |
433 | regulator-state-mem { |
434 | regulator-on-in-suspend; | |
435 | regulator-mode = <MAX77802_OPMODE_LP>; | |
436 | }; | |
064ac050 JMC |
437 | }; |
438 | ||
439 | ldo10_reg: LDO10 { | |
440 | regulator-name = "vdd_ldo10"; | |
441 | regulator-min-microvolt = <1800000>; | |
442 | regulator-max-microvolt = <1800000>; | |
23c76dc6 JMC |
443 | regulator-state-mem { |
444 | regulator-off-in-suspend; | |
445 | }; | |
064ac050 JMC |
446 | }; |
447 | ||
448 | ldo11_reg: LDO11 { | |
449 | regulator-name = "vdd_ldo11"; | |
450 | regulator-min-microvolt = <1800000>; | |
451 | regulator-max-microvolt = <1800000>; | |
452 | regulator-always-on; | |
23c76dc6 JMC |
453 | regulator-state-mem { |
454 | regulator-on-in-suspend; | |
455 | regulator-mode = <MAX77802_OPMODE_LP>; | |
456 | }; | |
064ac050 JMC |
457 | }; |
458 | ||
459 | ldo12_reg: LDO12 { | |
460 | regulator-name = "vdd_ldo12"; | |
461 | regulator-min-microvolt = <3000000>; | |
462 | regulator-max-microvolt = <3000000>; | |
463 | regulator-always-on; | |
23c76dc6 JMC |
464 | regulator-state-mem { |
465 | regulator-off-in-suspend; | |
466 | }; | |
064ac050 JMC |
467 | }; |
468 | ||
469 | ldo13_reg: LDO13 { | |
470 | regulator-name = "vdd_ldo13"; | |
471 | regulator-min-microvolt = <1800000>; | |
472 | regulator-max-microvolt = <1800000>; | |
473 | regulator-always-on; | |
23c76dc6 JMC |
474 | regulator-state-mem { |
475 | regulator-on-in-suspend; | |
476 | regulator-mode = <MAX77802_OPMODE_LP>; | |
477 | }; | |
064ac050 JMC |
478 | }; |
479 | ||
480 | ldo14_reg: LDO14 { | |
481 | regulator-name = "vdd_ldo14"; | |
482 | regulator-min-microvolt = <1800000>; | |
483 | regulator-max-microvolt = <1800000>; | |
484 | regulator-always-on; | |
23c76dc6 JMC |
485 | regulator-state-mem { |
486 | regulator-off-in-suspend; | |
487 | }; | |
064ac050 JMC |
488 | }; |
489 | ||
490 | ldo15_reg: LDO15 { | |
491 | regulator-name = "vdd_ldo15"; | |
492 | regulator-min-microvolt = <1000000>; | |
493 | regulator-max-microvolt = <1000000>; | |
494 | regulator-always-on; | |
23c76dc6 JMC |
495 | regulator-state-mem { |
496 | regulator-off-in-suspend; | |
497 | }; | |
064ac050 JMC |
498 | }; |
499 | ||
500 | ldo17_reg: LDO17 { | |
501 | regulator-name = "vdd_g3ds"; | |
502 | regulator-min-microvolt = <900000>; | |
503 | regulator-max-microvolt = <1400000>; | |
504 | regulator-always-on; | |
23c76dc6 JMC |
505 | regulator-state-mem { |
506 | regulator-off-in-suspend; | |
507 | }; | |
064ac050 JMC |
508 | }; |
509 | ||
510 | ldo18_reg: LDO18 { | |
511 | regulator-name = "ldo_18"; | |
512 | regulator-min-microvolt = <1800000>; | |
513 | regulator-max-microvolt = <1800000>; | |
514 | }; | |
515 | ||
516 | ldo19_reg: LDO19 { | |
517 | regulator-name = "ldo_19"; | |
518 | regulator-min-microvolt = <1800000>; | |
519 | regulator-max-microvolt = <1800000>; | |
520 | }; | |
521 | ||
522 | ldo20_reg: LDO20 { | |
523 | regulator-name = "ldo_20"; | |
524 | regulator-min-microvolt = <1800000>; | |
525 | regulator-max-microvolt = <1800000>; | |
526 | regulator-always-on; | |
527 | }; | |
528 | ||
529 | ldo21_reg: LDO21 { | |
530 | regulator-name = "ldo_21"; | |
531 | regulator-min-microvolt = <2800000>; | |
532 | regulator-max-microvolt = <2800000>; | |
533 | }; | |
534 | ||
535 | ldo23_reg: LDO23 { | |
536 | regulator-name = "ldo_23"; | |
537 | regulator-min-microvolt = <3300000>; | |
538 | regulator-max-microvolt = <3300000>; | |
539 | }; | |
540 | ldo24_reg: LDO24 { | |
541 | regulator-name = "ldo_24"; | |
542 | regulator-min-microvolt = <2800000>; | |
543 | regulator-max-microvolt = <2800000>; | |
544 | }; | |
545 | ||
546 | ldo25_reg: LDO25 { | |
547 | regulator-name = "ldo_25"; | |
548 | regulator-min-microvolt = <3300000>; | |
549 | regulator-max-microvolt = <3300000>; | |
550 | }; | |
551 | ||
552 | ldo26_reg: LDO26 { | |
553 | regulator-name = "ldo_26"; | |
554 | regulator-min-microvolt = <1200000>; | |
555 | regulator-max-microvolt = <1200000>; | |
556 | }; | |
557 | ||
558 | ldo27_reg: LDO27 { | |
559 | regulator-name = "ldo_27"; | |
560 | regulator-min-microvolt = <1200000>; | |
561 | regulator-max-microvolt = <1200000>; | |
562 | }; | |
563 | ||
564 | ldo28_reg: LDO28 { | |
565 | regulator-name = "ldo_28"; | |
566 | regulator-min-microvolt = <1800000>; | |
567 | regulator-max-microvolt = <1800000>; | |
568 | }; | |
569 | ||
570 | ldo29_reg: LDO29 { | |
571 | regulator-name = "ldo_29"; | |
572 | regulator-min-microvolt = <1800000>; | |
573 | regulator-max-microvolt = <1800000>; | |
574 | }; | |
575 | ||
576 | ldo30_reg: LDO30 { | |
577 | regulator-name = "vdd_mifs"; | |
578 | regulator-min-microvolt = <1000000>; | |
579 | regulator-max-microvolt = <1000000>; | |
580 | regulator-always-on; | |
23c76dc6 JMC |
581 | regulator-state-mem { |
582 | regulator-off-in-suspend; | |
583 | }; | |
064ac050 JMC |
584 | }; |
585 | ||
586 | ldo32_reg: LDO32 { | |
587 | regulator-name = "ldo_32"; | |
588 | regulator-min-microvolt = <3000000>; | |
589 | regulator-max-microvolt = <3000000>; | |
590 | }; | |
591 | ||
592 | ldo33_reg: LDO33 { | |
593 | regulator-name = "ldo_33"; | |
594 | regulator-min-microvolt = <2800000>; | |
595 | regulator-max-microvolt = <2800000>; | |
596 | }; | |
597 | ||
598 | ldo34_reg: LDO34 { | |
599 | regulator-name = "ldo_34"; | |
600 | regulator-min-microvolt = <3000000>; | |
601 | regulator-max-microvolt = <3000000>; | |
602 | }; | |
603 | ||
604 | ldo35_reg: LDO35 { | |
605 | regulator-name = "ldo_35"; | |
606 | regulator-min-microvolt = <1200000>; | |
607 | regulator-max-microvolt = <1200000>; | |
608 | }; | |
609 | }; | |
610 | }; | |
611 | }; | |
612 | ||
522c8ff5 TB |
613 | &hsi2c_7 { |
614 | status = "okay"; | |
8be6a6d0 | 615 | clock-frequency = <400000>; |
522c8ff5 TB |
616 | |
617 | max98091: codec@10 { | |
618 | compatible = "maxim,max98091"; | |
619 | reg = <0x10>; | |
6ff0b90d | 620 | interrupts = <2 IRQ_TYPE_NONE>; |
522c8ff5 TB |
621 | interrupt-parent = <&gpx0>; |
622 | pinctrl-names = "default"; | |
623 | pinctrl-0 = <&max98091_irq>; | |
2fad972d TB |
624 | clocks = <&pmu_system_controller 0>; |
625 | clock-names = "mclk"; | |
bae0f445 | 626 | #sound-dai-cells = <0>; |
d3343157 | 627 | }; |
dc0cf1a3 JMC |
628 | |
629 | light-sensor@44 { | |
630 | compatible = "isil,isl29018"; | |
631 | reg = <0x44>; | |
632 | vcc-supply = <&tps65090_fet5>; | |
633 | }; | |
522c8ff5 | 634 | }; |
d3343157 | 635 | |
132fd5be JMC |
636 | &hsi2c_8 { |
637 | status = "okay"; | |
638 | clock-frequency = <333000>; | |
639 | /* Atmel mXT540S */ | |
640 | trackpad@4b { | |
641 | compatible = "atmel,maxtouch"; | |
642 | reg = <0x4b>; | |
643 | interrupt-parent = <&gpx1>; | |
644 | interrupts = <1 IRQ_TYPE_EDGE_FALLING>; | |
645 | wakeup-source; | |
646 | pinctrl-names = "default"; | |
647 | pinctrl-0 = <&trackpad_irq>; | |
648 | linux,gpio-keymap = <KEY_RESERVED | |
649 | KEY_RESERVED | |
650 | KEY_RESERVED /* GPIO 0 */ | |
651 | KEY_RESERVED /* GPIO 1 */ | |
652 | BTN_LEFT /* GPIO 2 */ | |
653 | KEY_RESERVED>; /* GPIO 3 */ | |
654 | }; | |
655 | }; | |
656 | ||
522c8ff5 TB |
657 | &hsi2c_9 { |
658 | status = "okay"; | |
659 | clock-frequency = <400000>; | |
660 | ||
661 | tpm@20 { | |
662 | compatible = "infineon,slb9645tt"; | |
663 | reg = <0x20>; | |
664 | ||
665 | /* Unused irq; but still need to configure the pins */ | |
666 | pinctrl-names = "default"; | |
667 | pinctrl-0 = <&tpm_irq>; | |
d3343157 VG |
668 | }; |
669 | }; | |
670 | ||
522c8ff5 | 671 | &i2c_2 { |
853d2694 | 672 | status = "okay"; |
522c8ff5 TB |
673 | samsung,i2c-sda-delay = <100>; |
674 | samsung,i2c-max-bus-freq = <66000>; | |
675 | samsung,i2c-slave-addr = <0x50>; | |
853d2694 AK |
676 | }; |
677 | ||
522c8ff5 | 678 | &i2s0 { |
bae0f445 SN |
679 | assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>; |
680 | assigned-clock-parents = <&clock_audss EXYNOS_I2S_BUS>; | |
853d2694 AK |
681 | status = "okay"; |
682 | }; | |
683 | ||
976a9b35 JMC |
684 | &mixer { |
685 | status = "okay"; | |
686 | }; | |
687 | ||
4cf98634 | 688 | /* eMMC flash */ |
853d2694 AK |
689 | &mmc_0 { |
690 | status = "okay"; | |
65354307 | 691 | mmc-hs200-1_8v; |
4f59ebed | 692 | mmc-hs400-1_8v; |
aaa25a5a | 693 | cap-mmc-highspeed; |
853d2694 | 694 | non-removable; |
4f59ebed | 695 | clock-frequency = <800000000>; |
853d2694 AK |
696 | samsung,dw-mshc-ciu-div = <3>; |
697 | samsung,dw-mshc-sdr-timing = <0 4>; | |
698 | samsung,dw-mshc-ddr-timing = <0 2>; | |
4f59ebed SJ |
699 | samsung,dw-mshc-hs400-timing = <0 2>; |
700 | samsung,read-strobe-delay = <90>; | |
853d2694 | 701 | pinctrl-names = "default"; |
4f59ebed | 702 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_rclk>; |
aaa25a5a | 703 | bus-width = <8>; |
853d2694 AK |
704 | }; |
705 | ||
4cf98634 | 706 | /* WiFi SDIO module */ |
3cb18180 JMC |
707 | &mmc_1 { |
708 | status = "okay"; | |
37522162 | 709 | non-removable; |
3cb18180 | 710 | cap-sdio-irq; |
b2706879 | 711 | keep-power-in-suspend; |
3cb18180 JMC |
712 | clock-frequency = <400000000>; |
713 | samsung,dw-mshc-ciu-div = <1>; | |
714 | samsung,dw-mshc-sdr-timing = <0 1>; | |
715 | samsung,dw-mshc-ddr-timing = <0 2>; | |
716 | pinctrl-names = "default"; | |
717 | pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>, | |
718 | <&sd1_bus4>, <&sd1_bus8>, <&wifi_en>; | |
719 | bus-width = <4>; | |
720 | cap-sd-highspeed; | |
721 | mmc-pwrseq = <&mmc1_pwrseq>; | |
722 | vqmmc-supply = <&buck10_reg>; | |
723 | }; | |
724 | ||
4cf98634 | 725 | /* uSD card */ |
853d2694 AK |
726 | &mmc_2 { |
727 | status = "okay"; | |
aaa25a5a | 728 | cap-sd-highspeed; |
853d2694 AK |
729 | card-detect-delay = <200>; |
730 | clock-frequency = <400000000>; | |
731 | samsung,dw-mshc-ciu-div = <3>; | |
732 | samsung,dw-mshc-sdr-timing = <2 3>; | |
733 | samsung,dw-mshc-ddr-timing = <1 2>; | |
734 | pinctrl-names = "default"; | |
af6ad88a | 735 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>; |
aaa25a5a | 736 | bus-width = <4>; |
853d2694 AK |
737 | }; |
738 | ||
8b2f8379 | 739 | |
522c8ff5 | 740 | &pinctrl_0 { |
73a9bb2e VS |
741 | pinctrl-names = "default"; |
742 | pinctrl-0 = <&mask_tpm_reset>; | |
743 | ||
3cb18180 JMC |
744 | wifi_en: wifi-en { |
745 | samsung,pins = "gpx0-0"; | |
a2f2bc38 KK |
746 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
747 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
748 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
3cb18180 JMC |
749 | }; |
750 | ||
522c8ff5 TB |
751 | max98091_irq: max98091-irq { |
752 | samsung,pins = "gpx0-2"; | |
a2f2bc38 KK |
753 | samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
754 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
755 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
522c8ff5 | 756 | }; |
8b2f8379 | 757 | |
73a9bb2e VS |
758 | /* We need GPX0_6 to be low at sleep time; just keep it low always */ |
759 | mask_tpm_reset: mask-tpm-reset { | |
760 | samsung,pins = "gpx0-6"; | |
a2f2bc38 KK |
761 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
762 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
763 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
73a9bb2e VS |
764 | samsung,pin-val = <0>; |
765 | }; | |
766 | ||
522c8ff5 TB |
767 | tpm_irq: tpm-irq { |
768 | samsung,pins = "gpx1-0"; | |
a2f2bc38 KK |
769 | samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
770 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
771 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
8b2f8379 | 772 | }; |
8b2f8379 | 773 | |
132fd5be JMC |
774 | trackpad_irq: trackpad-irq { |
775 | samsung,pins = "gpx1-1"; | |
a2f2bc38 KK |
776 | samsung,pin-function = <EXYNOS_PIN_FUNC_F>; |
777 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
778 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
132fd5be JMC |
779 | }; |
780 | ||
522c8ff5 TB |
781 | power_key_irq: power-key-irq { |
782 | samsung,pins = "gpx1-2"; | |
a2f2bc38 KK |
783 | samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
784 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
785 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
522c8ff5 | 786 | }; |
4c2d3f38 | 787 | |
8060098b DA |
788 | ec_irq: ec-irq { |
789 | samsung,pins = "gpx1-5"; | |
a2f2bc38 KK |
790 | samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
791 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
792 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
8060098b DA |
793 | }; |
794 | ||
795 | tps65090_irq: tps65090-irq { | |
796 | samsung,pins = "gpx2-5"; | |
a2f2bc38 KK |
797 | samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
798 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
799 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
8060098b DA |
800 | }; |
801 | ||
522c8ff5 TB |
802 | dp_hpd_gpio: dp_hpd_gpio { |
803 | samsung,pins = "gpx2-6"; | |
a2f2bc38 KK |
804 | samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
805 | samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; | |
806 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
522c8ff5 | 807 | }; |
db91fb2c | 808 | |
064ac050 JMC |
809 | max77802_irq: max77802-irq { |
810 | samsung,pins = "gpx3-1"; | |
a2f2bc38 KK |
811 | samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
812 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
813 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
064ac050 JMC |
814 | }; |
815 | ||
1f3cde4b JMC |
816 | lid_irq: lid-irq { |
817 | samsung,pins = "gpx3-4"; | |
a2f2bc38 KK |
818 | samsung,pin-function = <EXYNOS_PIN_FUNC_F>; |
819 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
820 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
1f3cde4b JMC |
821 | }; |
822 | ||
522c8ff5 TB |
823 | hdmi_hpd_irq: hdmi-hpd-irq { |
824 | samsung,pins = "gpx3-7"; | |
a2f2bc38 KK |
825 | samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; |
826 | samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; | |
827 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
db91fb2c | 828 | }; |
064ac050 JMC |
829 | |
830 | pmic_dvs_1: pmic-dvs-1 { | |
831 | samsung,pins = "gpy7-6"; | |
a2f2bc38 KK |
832 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
833 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
834 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
064ac050 JMC |
835 | }; |
836 | }; | |
837 | ||
3cb18180 JMC |
838 | &pinctrl_1 { |
839 | /* Adjust WiFi drive strengths lower for EMI */ | |
840 | sd1_clk: sd1-clk { | |
a2f2bc38 | 841 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; |
3cb18180 JMC |
842 | }; |
843 | ||
844 | sd1_cmd: sd1-cmd { | |
a2f2bc38 | 845 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; |
3cb18180 JMC |
846 | }; |
847 | ||
848 | sd1_bus1: sd1-bus-width1 { | |
a2f2bc38 | 849 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; |
3cb18180 JMC |
850 | }; |
851 | ||
852 | sd1_bus4: sd1-bus-width4 { | |
a2f2bc38 | 853 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; |
3cb18180 JMC |
854 | }; |
855 | ||
856 | sd1_bus8: sd1-bus-width8 { | |
a2f2bc38 | 857 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; |
3cb18180 JMC |
858 | }; |
859 | }; | |
860 | ||
064ac050 JMC |
861 | &pinctrl_2 { |
862 | pmic_dvs_2: pmic-dvs-2 { | |
863 | samsung,pins = "gpj4-2"; | |
a2f2bc38 KK |
864 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
865 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
866 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
064ac050 JMC |
867 | }; |
868 | ||
869 | pmic_dvs_3: pmic-dvs-3 { | |
870 | samsung,pins = "gpj4-3"; | |
a2f2bc38 KK |
871 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
872 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
873 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
064ac050 | 874 | }; |
db91fb2c TB |
875 | }; |
876 | ||
522c8ff5 | 877 | &pinctrl_3 { |
8060098b DA |
878 | /* Drive SPI lines at x2 for better integrity */ |
879 | spi2-bus { | |
a2f2bc38 | 880 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; |
8060098b DA |
881 | }; |
882 | ||
883 | /* Drive SPI chip select at x2 for better integrity */ | |
884 | ec_spi_cs: ec-spi-cs { | |
885 | samsung,pins = "gpb1-2"; | |
a2f2bc38 KK |
886 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
887 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
888 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV3>; | |
8060098b DA |
889 | }; |
890 | ||
522c8ff5 TB |
891 | usb300_vbus_en: usb300-vbus-en { |
892 | samsung,pins = "gph0-0"; | |
a2f2bc38 KK |
893 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
894 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
895 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
522c8ff5 | 896 | }; |
853d2694 | 897 | |
522c8ff5 TB |
898 | usb301_vbus_en: usb301-vbus-en { |
899 | samsung,pins = "gph0-1"; | |
a2f2bc38 KK |
900 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
901 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
902 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
853d2694 | 903 | }; |
064ac050 JMC |
904 | |
905 | pmic_selb: pmic-selb { | |
906 | samsung,pins = "gph0-2", "gph0-3", "gph0-4", "gph0-5", | |
907 | "gph0-6"; | |
a2f2bc38 KK |
908 | samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; |
909 | samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; | |
910 | samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>; | |
064ac050 | 911 | }; |
853d2694 AK |
912 | }; |
913 | ||
b8bb9baa AA |
914 | &pmu_system_controller { |
915 | assigned-clocks = <&pmu_system_controller 0>; | |
916 | assigned-clock-parents = <&clock CLK_FIN_PLL>; | |
917 | }; | |
918 | ||
522c8ff5 | 919 | &rtc { |
6a7da0d4 | 920 | status = "okay"; |
fa781dda JMC |
921 | clocks = <&clock CLK_RTC>, <&max77802 MAX77802_CLK_32K_AP>; |
922 | clock-names = "rtc", "rtc_src"; | |
6a7da0d4 RS |
923 | }; |
924 | ||
8060098b DA |
925 | &spi_2 { |
926 | status = "okay"; | |
927 | num-cs = <1>; | |
928 | samsung,spi-src-clk = <0>; | |
31b9903c | 929 | cs-gpios = <&gpb1 2 GPIO_ACTIVE_HIGH>; |
8060098b DA |
930 | |
931 | cros_ec: cros-ec@0 { | |
932 | compatible = "google,cros-ec-spi"; | |
933 | interrupt-parent = <&gpx1>; | |
6ff0b90d | 934 | interrupts = <5 IRQ_TYPE_NONE>; |
8060098b DA |
935 | pinctrl-names = "default"; |
936 | pinctrl-0 = <&ec_spi_cs &ec_irq>; | |
937 | reg = <0>; | |
938 | spi-max-frequency = <3125000>; | |
27e6699c | 939 | google,has-vbc-nvram; |
8060098b DA |
940 | |
941 | controller-data { | |
942 | samsung,spi-feedback-delay = <1>; | |
943 | }; | |
944 | ||
70c3250a | 945 | i2c_tunnel: i2c-tunnel { |
8060098b DA |
946 | compatible = "google,cros-ec-i2c-tunnel"; |
947 | #address-cells = <1>; | |
948 | #size-cells = <0>; | |
949 | google,remote-bus = <0>; | |
950 | ||
951 | battery: sbs-battery@b { | |
952 | compatible = "sbs,sbs-battery"; | |
953 | reg = <0xb>; | |
954 | sbs,poll-retry-count = <1>; | |
955 | sbs,i2c-retry-count = <2>; | |
956 | }; | |
957 | ||
958 | power-regulator@48 { | |
959 | compatible = "ti,tps65090"; | |
960 | reg = <0x48>; | |
961 | ||
962 | /* | |
963 | * Config irq to disable internal pulls | |
964 | * even though we run in polling mode. | |
965 | */ | |
966 | pinctrl-names = "default"; | |
967 | pinctrl-0 = <&tps65090_irq>; | |
968 | ||
969 | vsys1-supply = <&vbat>; | |
970 | vsys2-supply = <&vbat>; | |
971 | vsys3-supply = <&vbat>; | |
972 | infet1-supply = <&vbat>; | |
a130548d JMC |
973 | infet2-supply = <&tps65090_dcdc1>; |
974 | infet3-supply = <&tps65090_dcdc2>; | |
975 | infet4-supply = <&tps65090_dcdc2>; | |
976 | infet5-supply = <&tps65090_dcdc2>; | |
977 | infet6-supply = <&tps65090_dcdc2>; | |
978 | infet7-supply = <&tps65090_dcdc1>; | |
8060098b DA |
979 | vsys-l1-supply = <&vbat>; |
980 | vsys-l2-supply = <&vbat>; | |
981 | ||
982 | regulators { | |
983 | tps65090_dcdc1: dcdc1 { | |
984 | ti,enable-ext-control; | |
985 | }; | |
986 | tps65090_dcdc2: dcdc2 { | |
987 | ti,enable-ext-control; | |
988 | }; | |
989 | tps65090_dcdc3: dcdc3 { | |
990 | ti,enable-ext-control; | |
991 | }; | |
992 | tps65090_fet1: fet1 { | |
993 | regulator-name = "vcd_led"; | |
994 | }; | |
995 | tps65090_fet2: fet2 { | |
996 | regulator-name = "video_mid"; | |
997 | regulator-always-on; | |
998 | }; | |
999 | tps65090_fet3: fet3 { | |
1000 | regulator-name = "wwan_r"; | |
1001 | regulator-always-on; | |
1002 | }; | |
1003 | tps65090_fet4: fet4 { | |
1004 | regulator-name = "sdcard"; | |
1005 | regulator-always-on; | |
1006 | }; | |
1007 | tps65090_fet5: fet5 { | |
1008 | regulator-name = "camout"; | |
ae845476 | 1009 | regulator-always-on; |
8060098b DA |
1010 | }; |
1011 | tps65090_fet6: fet6 { | |
1012 | regulator-name = "lcd_vdd"; | |
1013 | }; | |
1014 | tps65090_fet7: fet7 { | |
1015 | regulator-name = "video_mid_1a"; | |
1016 | regulator-always-on; | |
1017 | }; | |
1018 | tps65090_ldo1: ldo1 { | |
1019 | }; | |
1020 | tps65090_ldo2: ldo2 { | |
1021 | }; | |
1022 | }; | |
1023 | ||
1024 | charger { | |
1025 | compatible = "ti,tps65090-charger"; | |
1026 | }; | |
1027 | }; | |
1028 | }; | |
1029 | }; | |
1030 | }; | |
1031 | ||
3a3cf6c4 | 1032 | &serial_3 { |
6a7da0d4 | 1033 | status = "okay"; |
6a7da0d4 RS |
1034 | }; |
1035 | ||
aff138bf JMC |
1036 | &tmu_cpu0 { |
1037 | vtmu-supply = <&ldo10_reg>; | |
1038 | }; | |
1039 | ||
1040 | &tmu_cpu1 { | |
1041 | vtmu-supply = <&ldo10_reg>; | |
1042 | }; | |
1043 | ||
1044 | &tmu_cpu2 { | |
1045 | vtmu-supply = <&ldo10_reg>; | |
1046 | }; | |
1047 | ||
1048 | &tmu_cpu3 { | |
1049 | vtmu-supply = <&ldo10_reg>; | |
1050 | }; | |
1051 | ||
1052 | &tmu_gpu { | |
1053 | vtmu-supply = <&ldo10_reg>; | |
1054 | }; | |
1055 | ||
e1c69efc SS |
1056 | &usbdrd_dwc3_0 { |
1057 | dr_mode = "host"; | |
1058 | }; | |
1059 | ||
1060 | &usbdrd_dwc3_1 { | |
1061 | dr_mode = "host"; | |
1062 | }; | |
1063 | ||
2c3b655c | 1064 | &usbdrd_phy0 { |
d3343157 VG |
1065 | vbus-supply = <&usb300_vbus_reg>; |
1066 | }; | |
1067 | ||
2c3b655c | 1068 | &usbdrd_phy1 { |
d3343157 VG |
1069 | vbus-supply = <&usb301_vbus_reg>; |
1070 | }; | |
1071 | ||
853d2694 AK |
1072 | /* |
1073 | * Use longest HW watchdog in SoC (32 seconds) since the hardware | |
1074 | * watchdog provides no debugging information (compared to soft/hard | |
1075 | * lockup detectors) and so should be last resort. | |
1076 | */ | |
1077 | &watchdog { | |
1078 | timeout-sec = <32>; | |
1079 | }; | |
db91fb2c | 1080 | |
8060098b | 1081 | #include "cros-ec-keyboard.dtsi" |
7b488038 | 1082 | #include "cros-adc-thermistors.dtsi" |