]>
Commit | Line | Data |
---|---|---|
6c6000c2 JMC |
1 | /* |
2 | * Google Snow board device tree source | |
3 | * | |
4 | * Copyright (c) 2012 Google, Inc | |
5 | * | |
6 | * This program is free software; you can redistribute it and/or modify | |
7 | * it under the terms of the GNU General Public License version 2 as | |
8 | * published by the Free Software Foundation. | |
9 | */ | |
10 | ||
11 | #include <dt-bindings/gpio/gpio.h> | |
12 | #include <dt-bindings/clock/maxim,max77686.h> | |
13 | #include <dt-bindings/interrupt-controller/irq.h> | |
14 | #include <dt-bindings/input/input.h> | |
15 | #include "exynos5250.dtsi" | |
16 | ||
17 | / { | |
18 | aliases { | |
19 | i2c104 = &i2c_104; | |
20 | }; | |
21 | ||
22 | memory { | |
23 | reg = <0x40000000 0x80000000>; | |
24 | }; | |
25 | ||
26 | chosen { | |
27 | bootargs = "console=tty1"; | |
28 | stdout-path = "serial3:115200n8"; | |
29 | }; | |
30 | ||
31 | gpio-keys { | |
32 | compatible = "gpio-keys"; | |
33 | pinctrl-names = "default"; | |
34 | pinctrl-0 = <&power_key_irq &lid_irq>; | |
35 | ||
36 | power { | |
37 | label = "Power"; | |
38 | gpios = <&gpx1 3 GPIO_ACTIVE_LOW>; | |
39 | linux,code = <KEY_POWER>; | |
36a0282a | 40 | wakeup-source; |
6c6000c2 JMC |
41 | }; |
42 | ||
43 | lid-switch { | |
44 | label = "Lid"; | |
45 | gpios = <&gpx3 5 GPIO_ACTIVE_LOW>; | |
46 | linux,input-type = <5>; /* EV_SW */ | |
47 | linux,code = <0>; /* SW_LID */ | |
48 | debounce-interval = <1>; | |
36a0282a | 49 | wakeup-source; |
6c6000c2 JMC |
50 | }; |
51 | }; | |
52 | ||
53 | vbat: vbat-fixed-regulator { | |
54 | compatible = "regulator-fixed"; | |
55 | regulator-name = "vbat-supply"; | |
56 | regulator-boot-on; | |
57 | }; | |
58 | ||
59 | i2c-arbitrator { | |
60 | compatible = "i2c-arb-gpio-challenge"; | |
61 | #address-cells = <1>; | |
62 | #size-cells = <0>; | |
63 | ||
64 | i2c-parent = <&{/i2c@12CA0000}>; | |
65 | ||
66 | our-claim-gpio = <&gpf0 3 GPIO_ACTIVE_LOW>; | |
67 | their-claim-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>; | |
68 | slew-delay-us = <10>; | |
69 | wait-retry-us = <3000>; | |
70 | wait-free-us = <50000>; | |
71 | ||
72 | pinctrl-names = "default"; | |
73 | pinctrl-0 = <&arb_our_claim &arb_their_claim>; | |
74 | ||
75 | /* Use ID 104 as a hint that we're on physical bus 4 */ | |
76 | i2c_104: i2c@0 { | |
77 | reg = <0>; | |
78 | #address-cells = <1>; | |
79 | #size-cells = <0>; | |
80 | ||
81 | battery: sbs-battery@b { | |
82 | compatible = "sbs,sbs-battery"; | |
83 | reg = <0xb>; | |
84 | sbs,poll-retry-count = <1>; | |
85 | }; | |
86 | ||
5c9cbade | 87 | cros_ec: embedded-controller@1e { |
6c6000c2 JMC |
88 | compatible = "google,cros-ec-i2c"; |
89 | reg = <0x1e>; | |
90 | interrupts = <6 IRQ_TYPE_NONE>; | |
91 | interrupt-parent = <&gpx1>; | |
92 | pinctrl-names = "default"; | |
93 | pinctrl-0 = <&ec_irq>; | |
94 | wakeup-source; | |
95 | }; | |
96 | ||
5c9cbade | 97 | power-regulator@48 { |
6c6000c2 JMC |
98 | compatible = "ti,tps65090"; |
99 | reg = <0x48>; | |
100 | ||
101 | /* | |
102 | * Config irq to disable internal pulls | |
103 | * even though we run in polling mode. | |
104 | */ | |
105 | pinctrl-names = "default"; | |
106 | pinctrl-0 = <&tps65090_irq>; | |
107 | ||
108 | vsys1-supply = <&vbat>; | |
109 | vsys2-supply = <&vbat>; | |
110 | vsys3-supply = <&vbat>; | |
111 | infet1-supply = <&vbat>; | |
112 | infet2-supply = <&vbat>; | |
113 | infet3-supply = <&vbat>; | |
114 | infet4-supply = <&vbat>; | |
115 | infet5-supply = <&vbat>; | |
116 | infet6-supply = <&vbat>; | |
117 | infet7-supply = <&vbat>; | |
118 | vsys-l1-supply = <&vbat>; | |
119 | vsys-l2-supply = <&vbat>; | |
120 | ||
121 | regulators { | |
122 | dcdc1 { | |
123 | ti,enable-ext-control; | |
124 | }; | |
125 | dcdc2 { | |
126 | ti,enable-ext-control; | |
127 | }; | |
128 | dcdc3 { | |
129 | ti,enable-ext-control; | |
130 | }; | |
131 | fet1: fet1 { | |
132 | regulator-name = "vcd_led"; | |
133 | ti,overcurrent-wait = <3>; | |
134 | }; | |
135 | tps65090_fet2: fet2 { | |
136 | regulator-name = "video_mid"; | |
137 | regulator-always-on; | |
138 | ti,overcurrent-wait = <3>; | |
139 | }; | |
140 | fet3 { | |
141 | regulator-name = "wwan_r"; | |
142 | regulator-always-on; | |
143 | ti,overcurrent-wait = <3>; | |
144 | }; | |
145 | fet4 { | |
146 | regulator-name = "sdcard"; | |
147 | ti,overcurrent-wait = <3>; | |
148 | }; | |
149 | fet5 { | |
150 | regulator-name = "camout"; | |
151 | regulator-always-on; | |
152 | ti,overcurrent-wait = <3>; | |
153 | }; | |
154 | fet6: fet6 { | |
155 | regulator-name = "lcd_vdd"; | |
156 | ti,overcurrent-wait = <3>; | |
157 | }; | |
158 | tps65090_fet7: fet7 { | |
159 | regulator-name = "video_mid_1a"; | |
160 | regulator-always-on; | |
161 | ti,overcurrent-wait = <3>; | |
162 | }; | |
163 | ldo1 { | |
164 | }; | |
165 | ldo2 { | |
166 | }; | |
167 | }; | |
168 | ||
169 | charger { | |
170 | compatible = "ti,tps65090-charger"; | |
171 | }; | |
172 | }; | |
173 | }; | |
174 | }; | |
175 | ||
176 | sound { | |
177 | samsung,i2s-controller = <&i2s0>; | |
178 | }; | |
179 | ||
180 | usb3_vbus_reg: regulator-usb3 { | |
181 | compatible = "regulator-fixed"; | |
182 | regulator-name = "P5.0V_USB3CON"; | |
183 | regulator-min-microvolt = <5000000>; | |
184 | regulator-max-microvolt = <5000000>; | |
185 | gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>; | |
186 | pinctrl-names = "default"; | |
187 | pinctrl-0 = <&usb3_vbus_en>; | |
188 | enable-active-high; | |
189 | }; | |
190 | ||
191 | fixed-rate-clocks { | |
192 | xxti { | |
193 | compatible = "samsung,clock-xxti"; | |
194 | clock-frequency = <24000000>; | |
195 | }; | |
196 | }; | |
197 | ||
198 | backlight: backlight { | |
199 | compatible = "pwm-backlight"; | |
200 | pwms = <&pwm 0 1000000 0>; | |
201 | brightness-levels = <0 100 500 1000 1500 2000 2500 2800>; | |
202 | default-brightness-level = <7>; | |
203 | enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>; | |
204 | power-supply = <&fet1>; | |
205 | pinctrl-0 = <&pwm0_out>; | |
206 | pinctrl-names = "default"; | |
207 | }; | |
208 | ||
209 | panel: panel { | |
210 | compatible = "auo,b116xw03"; | |
211 | power-supply = <&fet6>; | |
212 | backlight = <&backlight>; | |
213 | ||
214 | port { | |
215 | panel_in: endpoint { | |
216 | remote-endpoint = <&bridge_out>; | |
217 | }; | |
218 | }; | |
219 | }; | |
220 | ||
221 | mmc3_pwrseq: mmc3_pwrseq { | |
222 | compatible = "mmc-pwrseq-simple"; | |
223 | reset-gpios = <&gpx0 2 GPIO_ACTIVE_LOW>, /* WIFI_RSTn */ | |
224 | <&gpx0 1 GPIO_ACTIVE_LOW>; /* WIFI_EN */ | |
225 | clocks = <&max77686 MAX77686_CLK_PMIC>; | |
226 | clock-names = "ext_clock"; | |
227 | }; | |
228 | }; | |
229 | ||
230 | &cpu0 { | |
231 | cpu0-supply = <&buck2_reg>; | |
232 | }; | |
233 | ||
234 | &dp { | |
235 | status = "okay"; | |
236 | pinctrl-names = "default"; | |
237 | pinctrl-0 = <&dp_hpd>; | |
238 | samsung,color-space = <0>; | |
6c6000c2 JMC |
239 | samsung,color-depth = <1>; |
240 | samsung,link-rate = <0x0a>; | |
241 | samsung,lane-count = <2>; | |
12315576 | 242 | hpd-gpios = <&gpx0 7 GPIO_ACTIVE_HIGH>; |
6c6000c2 JMC |
243 | |
244 | ports { | |
2969c037 | 245 | port { |
6c6000c2 JMC |
246 | dp_out: endpoint { |
247 | remote-endpoint = <&bridge_in>; | |
248 | }; | |
249 | }; | |
250 | }; | |
251 | }; | |
252 | ||
253 | &ehci { | |
254 | samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>; | |
255 | }; | |
256 | ||
257 | &fimd { | |
258 | status = "okay"; | |
259 | samsung,invert-vclk; | |
260 | }; | |
261 | ||
262 | &hdmi { | |
263 | hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>; | |
264 | pinctrl-names = "default"; | |
265 | pinctrl-0 = <&hdmi_hpd_irq>; | |
266 | phy = <&hdmiphy>; | |
267 | ddc = <&i2c_2>; | |
268 | hdmi-en-supply = <&tps65090_fet7>; | |
269 | vdd-supply = <&ldo8_reg>; | |
270 | vdd_osc-supply = <&ldo10_reg>; | |
271 | vdd_pll-supply = <&ldo8_reg>; | |
272 | }; | |
273 | ||
274 | &i2c_0 { | |
275 | status = "okay"; | |
276 | samsung,i2c-sda-delay = <100>; | |
277 | samsung,i2c-max-bus-freq = <378000>; | |
278 | ||
279 | max77686: max77686@09 { | |
280 | compatible = "maxim,max77686"; | |
281 | interrupt-parent = <&gpx3>; | |
282 | interrupts = <2 IRQ_TYPE_NONE>; | |
283 | pinctrl-names = "default"; | |
284 | pinctrl-0 = <&max77686_irq>; | |
285 | wakeup-source; | |
286 | reg = <0x09>; | |
287 | #clock-cells = <1>; | |
288 | ||
289 | voltage-regulators { | |
290 | ldo1_reg: LDO1 { | |
291 | regulator-name = "P1.0V_LDO_OUT1"; | |
292 | regulator-min-microvolt = <1000000>; | |
293 | regulator-max-microvolt = <1000000>; | |
294 | regulator-always-on; | |
295 | }; | |
296 | ||
297 | ldo2_reg: LDO2 { | |
298 | regulator-name = "P1.8V_LDO_OUT2"; | |
299 | regulator-min-microvolt = <1800000>; | |
300 | regulator-max-microvolt = <1800000>; | |
301 | regulator-always-on; | |
302 | }; | |
303 | ||
304 | ldo3_reg: LDO3 { | |
305 | regulator-name = "P1.8V_LDO_OUT3"; | |
306 | regulator-min-microvolt = <1800000>; | |
307 | regulator-max-microvolt = <1800000>; | |
308 | regulator-always-on; | |
309 | }; | |
310 | ||
311 | ldo7_reg: LDO7 { | |
312 | regulator-name = "P1.1V_LDO_OUT7"; | |
313 | regulator-min-microvolt = <1100000>; | |
314 | regulator-max-microvolt = <1100000>; | |
315 | regulator-always-on; | |
316 | }; | |
317 | ||
318 | ldo8_reg: LDO8 { | |
319 | regulator-name = "P1.0V_LDO_OUT8"; | |
320 | regulator-min-microvolt = <1000000>; | |
321 | regulator-max-microvolt = <1000000>; | |
322 | regulator-always-on; | |
323 | }; | |
324 | ||
325 | ldo10_reg: LDO10 { | |
326 | regulator-name = "P1.8V_LDO_OUT10"; | |
327 | regulator-min-microvolt = <1800000>; | |
328 | regulator-max-microvolt = <1800000>; | |
329 | regulator-always-on; | |
330 | }; | |
331 | ||
332 | ldo12_reg: LDO12 { | |
333 | regulator-name = "P3.0V_LDO_OUT12"; | |
334 | regulator-min-microvolt = <3000000>; | |
335 | regulator-max-microvolt = <3000000>; | |
336 | regulator-always-on; | |
337 | }; | |
338 | ||
339 | ldo14_reg: LDO14 { | |
340 | regulator-name = "P1.8V_LDO_OUT14"; | |
341 | regulator-min-microvolt = <1800000>; | |
342 | regulator-max-microvolt = <1800000>; | |
343 | regulator-always-on; | |
344 | }; | |
345 | ||
346 | ldo15_reg: LDO15 { | |
347 | regulator-name = "P1.0V_LDO_OUT15"; | |
348 | regulator-min-microvolt = <1000000>; | |
349 | regulator-max-microvolt = <1000000>; | |
350 | regulator-always-on; | |
351 | }; | |
352 | ||
353 | ldo16_reg: LDO16 { | |
354 | regulator-name = "P1.8V_LDO_OUT16"; | |
355 | regulator-min-microvolt = <1800000>; | |
356 | regulator-max-microvolt = <1800000>; | |
357 | regulator-always-on; | |
358 | }; | |
359 | ||
360 | buck1_reg: BUCK1 { | |
361 | regulator-name = "vdd_mif"; | |
362 | regulator-min-microvolt = <950000>; | |
363 | regulator-max-microvolt = <1300000>; | |
364 | regulator-always-on; | |
365 | regulator-boot-on; | |
366 | }; | |
367 | ||
368 | buck2_reg: BUCK2 { | |
369 | regulator-name = "vdd_arm"; | |
370 | regulator-min-microvolt = <850000>; | |
371 | regulator-max-microvolt = <1350000>; | |
372 | regulator-always-on; | |
373 | regulator-boot-on; | |
374 | }; | |
375 | ||
376 | buck3_reg: BUCK3 { | |
377 | regulator-name = "vdd_int"; | |
378 | regulator-min-microvolt = <900000>; | |
379 | regulator-max-microvolt = <1200000>; | |
380 | regulator-always-on; | |
381 | regulator-boot-on; | |
382 | }; | |
383 | ||
384 | buck4_reg: BUCK4 { | |
385 | regulator-name = "vdd_g3d"; | |
386 | regulator-min-microvolt = <850000>; | |
387 | regulator-max-microvolt = <1300000>; | |
388 | regulator-always-on; | |
389 | regulator-boot-on; | |
390 | }; | |
391 | ||
392 | buck5_reg: BUCK5 { | |
393 | regulator-name = "P1.8V_BUCK_OUT5"; | |
394 | regulator-min-microvolt = <1800000>; | |
395 | regulator-max-microvolt = <1800000>; | |
396 | regulator-always-on; | |
397 | regulator-boot-on; | |
398 | }; | |
399 | ||
400 | buck6_reg: BUCK6 { | |
401 | regulator-name = "P1.35V_BUCK_OUT6"; | |
402 | regulator-min-microvolt = <1350000>; | |
403 | regulator-max-microvolt = <1350000>; | |
404 | regulator-always-on; | |
405 | }; | |
406 | ||
407 | buck7_reg: BUCK7 { | |
408 | regulator-name = "P2.0V_BUCK_OUT7"; | |
409 | regulator-min-microvolt = <2000000>; | |
410 | regulator-max-microvolt = <2000000>; | |
411 | regulator-always-on; | |
412 | }; | |
413 | ||
414 | buck8_reg: BUCK8 { | |
415 | regulator-name = "P2.85V_BUCK_OUT8"; | |
416 | regulator-min-microvolt = <2850000>; | |
417 | regulator-max-microvolt = <2850000>; | |
418 | regulator-always-on; | |
419 | }; | |
420 | }; | |
421 | }; | |
422 | }; | |
423 | ||
424 | &i2c_1 { | |
425 | status = "okay"; | |
426 | samsung,i2c-sda-delay = <100>; | |
427 | samsung,i2c-max-bus-freq = <378000>; | |
428 | ||
5c9cbade | 429 | trackpad@67 { |
6c6000c2 JMC |
430 | reg = <0x67>; |
431 | compatible = "cypress,cyapa"; | |
432 | interrupts = <2 IRQ_TYPE_NONE>; | |
433 | interrupt-parent = <&gpx1>; | |
434 | wakeup-source; | |
435 | }; | |
436 | }; | |
437 | ||
438 | /* | |
439 | * Disabled pullups since external part has its own pullups and | |
440 | * double-pulling gets us out of spec in some cases. | |
441 | */ | |
442 | &i2c2_bus { | |
443 | samsung,pin-pud = <0>; | |
444 | }; | |
445 | ||
446 | &i2c_2 { | |
447 | status = "okay"; | |
448 | samsung,i2c-sda-delay = <100>; | |
449 | samsung,i2c-max-bus-freq = <66000>; | |
450 | ||
451 | hdmiddc@50 { | |
452 | compatible = "samsung,exynos4210-hdmiddc"; | |
453 | reg = <0x50>; | |
454 | }; | |
455 | }; | |
456 | ||
457 | &i2c_3 { | |
458 | status = "okay"; | |
459 | samsung,i2c-sda-delay = <100>; | |
460 | samsung,i2c-max-bus-freq = <66000>; | |
461 | }; | |
462 | ||
463 | &i2c_4 { | |
464 | status = "okay"; | |
465 | samsung,i2c-sda-delay = <100>; | |
466 | samsung,i2c-max-bus-freq = <66000>; | |
467 | }; | |
468 | ||
469 | &i2c_5 { | |
470 | status = "okay"; | |
471 | samsung,i2c-sda-delay = <100>; | |
472 | samsung,i2c-max-bus-freq = <66000>; | |
473 | }; | |
474 | ||
475 | &i2c_7 { | |
476 | status = "okay"; | |
477 | samsung,i2c-sda-delay = <100>; | |
478 | samsung,i2c-max-bus-freq = <66000>; | |
479 | ||
480 | ptn3460: lvds-bridge@20 { | |
481 | compatible = "nxp,ptn3460"; | |
482 | reg = <0x20>; | |
483 | powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>; | |
484 | reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>; | |
485 | edid-emulation = <5>; | |
486 | ||
487 | ports { | |
2969c037 JMC |
488 | #address-cells = <1>; |
489 | #size-cells = <0>; | |
490 | ||
491 | port@0 { | |
492 | reg = <0>; | |
493 | ||
6c6000c2 JMC |
494 | bridge_out: endpoint { |
495 | remote-endpoint = <&panel_in>; | |
496 | }; | |
497 | }; | |
498 | ||
2969c037 JMC |
499 | port@1 { |
500 | reg = <1>; | |
501 | ||
6c6000c2 JMC |
502 | bridge_in: endpoint { |
503 | remote-endpoint = <&dp_out>; | |
504 | }; | |
505 | }; | |
506 | }; | |
507 | }; | |
508 | }; | |
509 | ||
510 | &i2c_8 { | |
511 | status = "okay"; | |
512 | samsung,i2c-sda-delay = <100>; | |
513 | samsung,i2c-max-bus-freq = <378000>; | |
514 | ||
515 | hdmiphy: hdmiphy@38 { | |
516 | compatible = "samsung,exynos4212-hdmiphy"; | |
517 | reg = <0x38>; | |
518 | }; | |
519 | }; | |
520 | ||
521 | &i2s0 { | |
522 | status = "okay"; | |
523 | }; | |
524 | ||
525 | &mmc_0 { | |
526 | status = "okay"; | |
527 | num-slots = <1>; | |
241658f4 | 528 | non-removable; |
6c6000c2 JMC |
529 | samsung,dw-mshc-ciu-div = <3>; |
530 | samsung,dw-mshc-sdr-timing = <2 3>; | |
531 | samsung,dw-mshc-ddr-timing = <1 2>; | |
532 | pinctrl-names = "default"; | |
533 | pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>; | |
534 | bus-width = <8>; | |
535 | cap-mmc-highspeed; | |
536 | }; | |
537 | ||
538 | &mmc_2 { | |
539 | status = "okay"; | |
540 | num-slots = <1>; | |
541 | card-detect-delay = <200>; | |
542 | samsung,dw-mshc-ciu-div = <3>; | |
543 | samsung,dw-mshc-sdr-timing = <2 3>; | |
544 | samsung,dw-mshc-ddr-timing = <1 2>; | |
545 | pinctrl-names = "default"; | |
546 | pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; | |
547 | bus-width = <4>; | |
548 | wp-gpios = <&gpc2 1 GPIO_ACTIVE_HIGH>; | |
549 | cap-sd-highspeed; | |
550 | }; | |
551 | ||
552 | /* | |
553 | * On Snow we've got SIP WiFi and so can keep drive strengths low to | |
554 | * reduce EMI. | |
555 | */ | |
556 | &mmc_3 { | |
557 | status = "okay"; | |
558 | num-slots = <1>; | |
78348272 | 559 | non-removable; |
6c6000c2 JMC |
560 | cap-sdio-irq; |
561 | keep-power-in-suspend; | |
6c6000c2 JMC |
562 | samsung,dw-mshc-ciu-div = <3>; |
563 | samsung,dw-mshc-sdr-timing = <2 3>; | |
564 | samsung,dw-mshc-ddr-timing = <1 2>; | |
565 | pinctrl-names = "default"; | |
566 | pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4 &wifi_en &wifi_rst>; | |
567 | bus-width = <4>; | |
568 | cap-sd-highspeed; | |
569 | mmc-pwrseq = <&mmc3_pwrseq>; | |
570 | }; | |
571 | ||
572 | &pinctrl_0 { | |
573 | wifi_en: wifi-en { | |
574 | samsung,pins = "gpx0-1"; | |
575 | samsung,pin-function = <1>; | |
576 | samsung,pin-pud = <0>; | |
577 | samsung,pin-drv = <0>; | |
578 | }; | |
579 | ||
580 | wifi_rst: wifi-rst { | |
581 | samsung,pins = "gpx0-2"; | |
582 | samsung,pin-function = <1>; | |
583 | samsung,pin-pud = <0>; | |
584 | samsung,pin-drv = <0>; | |
585 | }; | |
586 | ||
587 | power_key_irq: power-key-irq { | |
588 | samsung,pins = "gpx1-3"; | |
589 | samsung,pin-function = <0xf>; | |
590 | samsung,pin-pud = <0>; | |
591 | samsung,pin-drv = <0>; | |
592 | }; | |
593 | ||
594 | ec_irq: ec-irq { | |
595 | samsung,pins = "gpx1-6"; | |
596 | samsung,pin-function = <0>; | |
597 | samsung,pin-pud = <0>; | |
598 | samsung,pin-drv = <0>; | |
599 | }; | |
600 | ||
601 | tps65090_irq: tps65090-irq { | |
602 | samsung,pins = "gpx2-6"; | |
603 | samsung,pin-function = <0>; | |
604 | samsung,pin-pud = <0>; | |
605 | samsung,pin-drv = <0>; | |
606 | }; | |
607 | ||
608 | usb3_vbus_en: usb3-vbus-en { | |
609 | samsung,pins = "gpx2-7"; | |
610 | samsung,pin-function = <1>; | |
611 | samsung,pin-pud = <0>; | |
612 | samsung,pin-drv = <0>; | |
613 | }; | |
614 | ||
615 | max77686_irq: max77686-irq { | |
616 | samsung,pins = "gpx3-2"; | |
617 | samsung,pin-function = <0>; | |
618 | samsung,pin-pud = <0>; | |
619 | samsung,pin-drv = <0>; | |
620 | }; | |
621 | ||
622 | lid_irq: lid-irq { | |
623 | samsung,pins = "gpx3-5"; | |
624 | samsung,pin-function = <0xf>; | |
625 | samsung,pin-pud = <0>; | |
626 | samsung,pin-drv = <0>; | |
627 | }; | |
628 | ||
629 | hdmi_hpd_irq: hdmi-hpd-irq { | |
630 | samsung,pins = "gpx3-7"; | |
631 | samsung,pin-function = <0>; | |
632 | samsung,pin-pud = <1>; | |
633 | samsung,pin-drv = <0>; | |
634 | }; | |
635 | }; | |
636 | ||
637 | &pinctrl_1 { | |
638 | arb_their_claim: arb-their-claim { | |
639 | samsung,pins = "gpe0-4"; | |
640 | samsung,pin-function = <0>; | |
641 | samsung,pin-pud = <3>; | |
642 | samsung,pin-drv = <0>; | |
643 | }; | |
644 | ||
645 | arb_our_claim: arb-our-claim { | |
646 | samsung,pins = "gpf0-3"; | |
647 | samsung,pin-function = <1>; | |
648 | samsung,pin-pud = <0>; | |
649 | samsung,pin-drv = <0>; | |
650 | }; | |
651 | }; | |
652 | ||
653 | &rtc { | |
654 | status = "okay"; | |
655 | clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>; | |
656 | clock-names = "rtc", "rtc_src"; | |
657 | }; | |
658 | ||
659 | &sd3_bus4 { | |
660 | samsung,pin-drv = <0>; | |
661 | }; | |
662 | ||
663 | &sd3_clk { | |
664 | samsung,pin-drv = <0>; | |
665 | }; | |
666 | ||
667 | &sd3_cmd { | |
668 | samsung,pin-pud = <3>; | |
669 | samsung,pin-drv = <0>; | |
670 | }; | |
671 | ||
672 | &spi_1 { | |
673 | status = "okay"; | |
674 | samsung,spi-src-clk = <0>; | |
675 | num-cs = <1>; | |
676 | cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>; | |
677 | }; | |
678 | ||
679 | &usbdrd_dwc3 { | |
680 | dr_mode = "host"; | |
681 | }; | |
682 | ||
683 | &usbdrd_phy { | |
684 | vbus-supply = <&usb3_vbus_reg>; | |
685 | }; | |
686 | ||
687 | #include "cros-ec-keyboard.dtsi" |