blob: b9aeec430527e3afd5aeb2c2b1af8f3a1b102682 [file] [log] [blame]
Doug Anderson95e82942012-11-21 13:32:21 +09001/*
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.
Andreas Faerberca5423e2014-09-23 07:49:39 +09009 */
Doug Anderson95e82942012-11-21 13:32:21 +090010
11/dts-v1/;
Ajay Kumara98c3c22014-09-14 02:16:35 +090012#include <dt-bindings/gpio/gpio.h>
Javier Martinez Canillas90fbb382014-09-24 00:22:01 +090013#include <dt-bindings/clock/maxim,max77686.h>
Andreas Faerberca5423e2014-09-23 07:49:39 +090014#include <dt-bindings/interrupt-controller/irq.h>
15#include <dt-bindings/input/input.h>
Padmavathi Venna37992792013-06-18 00:02:08 +090016#include "exynos5250.dtsi"
Doug Anderson95e82942012-11-21 13:32:21 +090017
18/ {
19 model = "Google Snow";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090020 compatible = "google,snow", "samsung,exynos5250", "samsung,exynos5";
Doug Anderson95e82942012-11-21 13:32:21 +090021
Doug Anderson97a4a1b2013-04-16 16:29:01 +000022 aliases {
23 i2c104 = &i2c_104;
24 };
25
Andreas Faerber5fbc3f22014-08-18 14:00:35 -050026 memory {
27 reg = <0x40000000 0x80000000>;
28 };
29
30 chosen {
Andreas Faerber5140e292014-09-23 08:03:57 +090031 bootargs = "console=tty1";
Doug Andersonf9357e92014-05-16 05:16:07 +090032 };
33
Doug Anderson95e82942012-11-21 13:32:21 +090034 gpio-keys {
35 compatible = "gpio-keys";
Javier Martinez Canillase5e5c6d2015-01-15 00:30:35 +090036 pinctrl-names = "default";
37 pinctrl-0 = <&power_key_irq &lid_irq>;
Doug Anderson95e82942012-11-21 13:32:21 +090038
Andreas Faerber5fbc3f22014-08-18 14:00:35 -050039 power {
40 label = "Power";
Andreas Faerberca5423e2014-09-23 07:49:39 +090041 gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_POWER>;
Andreas Faerber5fbc3f22014-08-18 14:00:35 -050043 gpio-key,wakeup;
44 };
45
Doug Anderson95e82942012-11-21 13:32:21 +090046 lid-switch {
47 label = "Lid";
Andreas Faerberca5423e2014-09-23 07:49:39 +090048 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
Doug Anderson95e82942012-11-21 13:32:21 +090049 linux,input-type = <5>; /* EV_SW */
50 linux,code = <0>; /* SW_LID */
51 debounce-interval = <1>;
52 gpio-key,wakeup;
53 };
54 };
55
Doug Andersonb16be762014-05-16 05:16:14 +090056 vbat: vbat-fixed-regulator {
57 compatible = "regulator-fixed";
58 regulator-name = "vbat-supply";
59 regulator-boot-on;
60 };
61
Doug Anderson97a4a1b2013-04-16 16:29:01 +000062 i2c-arbitrator {
63 compatible = "i2c-arb-gpio-challenge";
64 #address-cells = <1>;
65 #size-cells = <0>;
66
67 i2c-parent = <&{/i2c@12CA0000}>;
68
Andreas Faerberca5423e2014-09-23 07:49:39 +090069 our-claim-gpio = <&gpf0 3 GPIO_ACTIVE_LOW>;
70 their-claim-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
Doug Anderson97a4a1b2013-04-16 16:29:01 +000071 slew-delay-us = <10>;
72 wait-retry-us = <3000>;
73 wait-free-us = <50000>;
74
Doug Andersonf9357e92014-05-16 05:16:07 +090075 pinctrl-names = "default";
76 pinctrl-0 = <&arb_our_claim &arb_their_claim>;
77
Doug Anderson97a4a1b2013-04-16 16:29:01 +000078 /* Use ID 104 as a hint that we're on physical bus 4 */
79 i2c_104: i2c@0 {
80 reg = <0>;
81 #address-cells = <1>;
82 #size-cells = <0>;
Doug Anderson61d4f052013-04-16 16:29:02 +000083
84 battery: sbs-battery@b {
85 compatible = "sbs,sbs-battery";
86 reg = <0xb>;
87 sbs,poll-retry-count = <1>;
88 };
Olof Johanssona4591dc2013-04-27 15:14:10 -070089
Doug Anderson1a395e32014-06-04 15:20:20 -070090 cros_ec: embedded-controller {
Olof Johanssona4591dc2013-04-27 15:14:10 -070091 compatible = "google,cros-ec-i2c";
92 reg = <0x1e>;
Andreas Faerberca5423e2014-09-23 07:49:39 +090093 interrupts = <6 IRQ_TYPE_NONE>;
Olof Johanssona4591dc2013-04-27 15:14:10 -070094 interrupt-parent = <&gpx1>;
Doug Andersonecad1592014-05-16 05:16:11 +090095 pinctrl-names = "default";
96 pinctrl-0 = <&ec_irq>;
Olof Johanssona4591dc2013-04-27 15:14:10 -070097 wakeup-source;
Olof Johanssona4591dc2013-04-27 15:14:10 -070098 };
Doug Andersonb16be762014-05-16 05:16:14 +090099
100 power-regulator {
101 compatible = "ti,tps65090";
102 reg = <0x48>;
103
104 /*
105 * Config irq to disable internal pulls
106 * even though we run in polling mode.
107 */
108 pinctrl-names = "default";
109 pinctrl-0 = <&tps65090_irq>;
110
111 vsys1-supply = <&vbat>;
112 vsys2-supply = <&vbat>;
113 vsys3-supply = <&vbat>;
114 infet1-supply = <&vbat>;
115 infet2-supply = <&vbat>;
116 infet3-supply = <&vbat>;
117 infet4-supply = <&vbat>;
118 infet5-supply = <&vbat>;
119 infet6-supply = <&vbat>;
120 infet7-supply = <&vbat>;
121 vsys-l1-supply = <&vbat>;
122 vsys-l2-supply = <&vbat>;
123
124 regulators {
125 dcdc1 {
126 ti,enable-ext-control;
127 };
128 dcdc2 {
129 ti,enable-ext-control;
130 };
131 dcdc3 {
132 ti,enable-ext-control;
133 };
Ajay Kumara98c3c22014-09-14 02:16:35 +0900134 fet1: fet1 {
Doug Andersonb16be762014-05-16 05:16:14 +0900135 regulator-name = "vcd_led";
136 ti,overcurrent-wait = <3>;
137 };
138 tps65090_fet2: fet2 {
139 regulator-name = "video_mid";
140 regulator-always-on;
141 ti,overcurrent-wait = <3>;
142 };
143 fet3 {
144 regulator-name = "wwan_r";
145 regulator-always-on;
146 ti,overcurrent-wait = <3>;
147 };
148 fet4 {
149 regulator-name = "sdcard";
150 ti,overcurrent-wait = <3>;
151 };
152 fet5 {
153 regulator-name = "camout";
154 regulator-always-on;
155 ti,overcurrent-wait = <3>;
156 };
Ajay Kumara98c3c22014-09-14 02:16:35 +0900157 fet6: fet6 {
Doug Andersonb16be762014-05-16 05:16:14 +0900158 regulator-name = "lcd_vdd";
159 ti,overcurrent-wait = <3>;
160 };
161 tps65090_fet7: fet7 {
162 regulator-name = "video_mid_1a";
163 regulator-always-on;
164 ti,overcurrent-wait = <3>;
165 };
166 ldo1 {
167 };
168 ldo2 {
169 };
170 };
171
172 charger {
173 compatible = "ti,tps65090-charger";
174 };
175 };
Doug Anderson97a4a1b2013-04-16 16:29:01 +0000176 };
177 };
178
Tushar Behera80f78ad2014-05-17 07:43:18 +0900179 i2c@12CD0000 {
Ajay Kumara98c3c22014-09-14 02:16:35 +0900180 ptn3460: lvds-bridge@20 {
181 compatible = "nxp,ptn3460";
182 reg = <0x20>;
183 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
184 reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
185 edid-emulation = <5>;
186 panel = <&panel>;
187 };
Tushar Behera80f78ad2014-05-17 07:43:18 +0900188 };
189
Tushar Behera80f78ad2014-05-17 07:43:18 +0900190 sound {
191 compatible = "google,snow-audio-max98095";
192
Tushar Beheraa8d80b62014-07-08 08:20:08 +0900193 samsung,model = "Snow-I2S-MAX98095";
Tushar Behera80f78ad2014-05-17 07:43:18 +0900194 samsung,i2s-controller = <&i2s0>;
195 samsung,audio-codec = <&max98095>;
196 };
197
Vivek Gautama491ae62014-05-19 22:23:43 +0900198 usb3_vbus_reg: regulator-usb3 {
199 compatible = "regulator-fixed";
200 regulator-name = "P5.0V_USB3CON";
201 regulator-min-microvolt = <5000000>;
202 regulator-max-microvolt = <5000000>;
Andreas Faerberca5423e2014-09-23 07:49:39 +0900203 gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
Vivek Gautama491ae62014-05-19 22:23:43 +0900204 pinctrl-names = "default";
205 pinctrl-0 = <&usb3_vbus_en>;
206 enable-active-high;
207 };
208
Thomas Abraham8b6076d2013-03-09 17:19:22 +0900209 fixed-rate-clocks {
210 xxti {
211 compatible = "samsung,clock-xxti";
212 clock-frequency = <24000000>;
213 };
214 };
Rahul Sharma2e747d62014-05-16 05:22:41 +0900215
Ajay Kumara98c3c22014-09-14 02:16:35 +0900216 backlight: backlight {
Ajay Kumar62ffa702014-05-19 22:38:18 +0900217 compatible = "pwm-backlight";
218 pwms = <&pwm 0 1000000 0>;
219 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
220 default-brightness-level = <7>;
Ajay Kumara98c3c22014-09-14 02:16:35 +0900221 enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
222 power-supply = <&fet1>;
Ajay Kumar62ffa702014-05-19 22:38:18 +0900223 pinctrl-0 = <&pwm0_out>;
224 pinctrl-names = "default";
225 };
226
Ajay Kumara98c3c22014-09-14 02:16:35 +0900227 panel: panel {
228 compatible = "auo,b116xw03";
229 power-supply = <&fet6>;
230 backlight = <&backlight>;
231 };
Andreas Faerberadca3e62014-09-23 23:53:20 +0900232};
Ajay Kumara98c3c22014-09-14 02:16:35 +0900233
Andreas Faerberca5423e2014-09-23 07:49:39 +0900234&dp {
235 status = "okay";
236 pinctrl-names = "default";
237 pinctrl-0 = <&dp_hpd>;
238 samsung,color-space = <0>;
239 samsung,dynamic-range = <0>;
240 samsung,ycbcr-coeff = <0>;
241 samsung,color-depth = <1>;
242 samsung,link-rate = <0x0a>;
243 samsung,lane-count = <2>;
244 samsung,hpd-gpio = <&gpx0 7 GPIO_ACTIVE_HIGH>;
245 bridge = <&ptn3460>;
246};
247
248&ehci {
249 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
250};
251
252&fimd {
253 status = "okay";
254 samsung,invert-vclk;
255};
256
257&hdmi {
258 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&hdmi_hpd_irq>;
261 phy = <&hdmiphy>;
262 ddc = <&i2c_2>;
263 hdmi-en-supply = <&tps65090_fet7>;
264 vdd-supply = <&ldo8_reg>;
265 vdd_osc-supply = <&ldo10_reg>;
266 vdd_pll-supply = <&ldo8_reg>;
Doug Anderson95e82942012-11-21 13:32:21 +0900267};
Doug Anderson1a395e32014-06-04 15:20:20 -0700268
Andreas Faerber10bc0452014-07-30 07:51:51 +0900269&i2c_0 {
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500270 status = "okay";
271 samsung,i2c-sda-delay = <100>;
272 samsung,i2c-max-bus-freq = <378000>;
273
Javier Martinez Canillas90fbb382014-09-24 00:22:01 +0900274 max77686: max77686@09 {
Andreas Faerber10bc0452014-07-30 07:51:51 +0900275 compatible = "maxim,max77686";
276 interrupt-parent = <&gpx3>;
Andreas Faerberca5423e2014-09-23 07:49:39 +0900277 interrupts = <2 IRQ_TYPE_NONE>;
Andreas Faerber10bc0452014-07-30 07:51:51 +0900278 pinctrl-names = "default";
279 pinctrl-0 = <&max77686_irq>;
280 wakeup-source;
281 reg = <0x09>;
282 #clock-cells = <1>;
283
284 voltage-regulators {
285 ldo1_reg: LDO1 {
286 regulator-name = "P1.0V_LDO_OUT1";
287 regulator-min-microvolt = <1000000>;
288 regulator-max-microvolt = <1000000>;
289 regulator-always-on;
290 };
291
292 ldo2_reg: LDO2 {
293 regulator-name = "P1.8V_LDO_OUT2";
294 regulator-min-microvolt = <1800000>;
295 regulator-max-microvolt = <1800000>;
296 regulator-always-on;
297 };
298
299 ldo3_reg: LDO3 {
300 regulator-name = "P1.8V_LDO_OUT3";
301 regulator-min-microvolt = <1800000>;
302 regulator-max-microvolt = <1800000>;
303 regulator-always-on;
304 };
305
306 ldo7_reg: LDO7 {
307 regulator-name = "P1.1V_LDO_OUT7";
308 regulator-min-microvolt = <1100000>;
309 regulator-max-microvolt = <1100000>;
310 regulator-always-on;
311 };
312
313 ldo8_reg: LDO8 {
314 regulator-name = "P1.0V_LDO_OUT8";
315 regulator-min-microvolt = <1000000>;
316 regulator-max-microvolt = <1000000>;
317 regulator-always-on;
318 };
319
320 ldo10_reg: LDO10 {
321 regulator-name = "P1.8V_LDO_OUT10";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <1800000>;
324 regulator-always-on;
325 };
326
327 ldo12_reg: LDO12 {
328 regulator-name = "P3.0V_LDO_OUT12";
329 regulator-min-microvolt = <3000000>;
330 regulator-max-microvolt = <3000000>;
331 regulator-always-on;
332 };
333
334 ldo14_reg: LDO14 {
335 regulator-name = "P1.8V_LDO_OUT14";
336 regulator-min-microvolt = <1800000>;
337 regulator-max-microvolt = <1800000>;
338 regulator-always-on;
339 };
340
341 ldo15_reg: LDO15 {
342 regulator-name = "P1.0V_LDO_OUT15";
343 regulator-min-microvolt = <1000000>;
344 regulator-max-microvolt = <1000000>;
345 regulator-always-on;
346 };
347
348 ldo16_reg: LDO16 {
349 regulator-name = "P1.8V_LDO_OUT16";
350 regulator-min-microvolt = <1800000>;
351 regulator-max-microvolt = <1800000>;
352 regulator-always-on;
353 };
354
355 buck1_reg: BUCK1 {
356 regulator-name = "vdd_mif";
357 regulator-min-microvolt = <950000>;
358 regulator-max-microvolt = <1300000>;
359 regulator-always-on;
360 regulator-boot-on;
361 };
362
363 buck2_reg: BUCK2 {
364 regulator-name = "vdd_arm";
365 regulator-min-microvolt = <850000>;
366 regulator-max-microvolt = <1350000>;
367 regulator-always-on;
368 regulator-boot-on;
369 };
370
371 buck3_reg: BUCK3 {
372 regulator-name = "vdd_int";
373 regulator-min-microvolt = <900000>;
374 regulator-max-microvolt = <1200000>;
375 regulator-always-on;
376 regulator-boot-on;
377 };
378
379 buck4_reg: BUCK4 {
380 regulator-name = "vdd_g3d";
381 regulator-min-microvolt = <850000>;
382 regulator-max-microvolt = <1300000>;
383 regulator-always-on;
384 regulator-boot-on;
385 };
386
387 buck5_reg: BUCK5 {
388 regulator-name = "P1.8V_BUCK_OUT5";
389 regulator-min-microvolt = <1800000>;
390 regulator-max-microvolt = <1800000>;
391 regulator-always-on;
392 regulator-boot-on;
393 };
394
395 buck6_reg: BUCK6 {
396 regulator-name = "P1.35V_BUCK_OUT6";
397 regulator-min-microvolt = <1350000>;
398 regulator-max-microvolt = <1350000>;
399 regulator-always-on;
400 };
401
402 buck7_reg: BUCK7 {
403 regulator-name = "P2.0V_BUCK_OUT7";
404 regulator-min-microvolt = <2000000>;
405 regulator-max-microvolt = <2000000>;
406 regulator-always-on;
407 };
408
409 buck8_reg: BUCK8 {
410 regulator-name = "P2.85V_BUCK_OUT8";
411 regulator-min-microvolt = <2850000>;
412 regulator-max-microvolt = <2850000>;
413 regulator-always-on;
414 };
415 };
416 };
417};
418
Andreas Faerber3428f202014-07-30 07:51:56 +0900419&i2c_1 {
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500420 status = "okay";
421 samsung,i2c-sda-delay = <100>;
422 samsung,i2c-max-bus-freq = <378000>;
423
Andreas Faerber3428f202014-07-30 07:51:56 +0900424 trackpad {
425 reg = <0x67>;
426 compatible = "cypress,cyapa";
Andreas Faerberca5423e2014-09-23 07:49:39 +0900427 interrupts = <2 IRQ_TYPE_NONE>;
Andreas Faerber3428f202014-07-30 07:51:56 +0900428 interrupt-parent = <&gpx1>;
429 wakeup-source;
430 };
431};
432
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500433/*
434 * Disabled pullups since external part has its own pullups and
435 * double-pulling gets us out of spec in some cases.
436 */
437&i2c2_bus {
438 samsung,pin-pud = <0>;
439};
440
441&i2c_2 {
442 status = "okay";
443 samsung,i2c-sda-delay = <100>;
444 samsung,i2c-max-bus-freq = <66000>;
445
446 hdmiddc@50 {
447 compatible = "samsung,exynos4210-hdmiddc";
448 reg = <0x50>;
449 };
450};
451
452&i2c_3 {
453 status = "okay";
454 samsung,i2c-sda-delay = <100>;
455 samsung,i2c-max-bus-freq = <66000>;
456};
457
458&i2c_4 {
459 status = "okay";
460 samsung,i2c-sda-delay = <100>;
461 samsung,i2c-max-bus-freq = <66000>;
462};
463
464&i2c_5 {
465 status = "okay";
466 samsung,i2c-sda-delay = <100>;
467 samsung,i2c-max-bus-freq = <66000>;
468};
469
470&i2c_7 {
471 status = "okay";
472 samsung,i2c-sda-delay = <100>;
473 samsung,i2c-max-bus-freq = <66000>;
Andreas Faerberca5423e2014-09-23 07:49:39 +0900474
475 max98095: codec@11 {
476 compatible = "maxim,max98095";
477 reg = <0x11>;
478 pinctrl-0 = <&max98095_en>;
479 pinctrl-names = "default";
480 };
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500481};
482
483&i2c_8 {
484 status = "okay";
485 samsung,i2c-sda-delay = <100>;
486 samsung,i2c-max-bus-freq = <378000>;
487
488 hdmiphy: hdmiphy@38 {
489 compatible = "samsung,exynos4212-hdmiphy";
490 reg = <0x38>;
491 };
492};
493
Andreas Faerberca5423e2014-09-23 07:49:39 +0900494&i2s0 {
495 status = "okay";
496};
497
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500498&mmc_0 {
499 status = "okay";
500 num-slots = <1>;
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500501 broken-cd;
502 card-detect-delay = <200>;
503 samsung,dw-mshc-ciu-div = <3>;
504 samsung,dw-mshc-sdr-timing = <2 3>;
505 samsung,dw-mshc-ddr-timing = <1 2>;
506 pinctrl-names = "default";
507 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500508 bus-width = <8>;
509 cap-mmc-highspeed;
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500510};
511
512&mmc_2 {
513 status = "okay";
514 num-slots = <1>;
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500515 card-detect-delay = <200>;
516 samsung,dw-mshc-ciu-div = <3>;
517 samsung,dw-mshc-sdr-timing = <2 3>;
518 samsung,dw-mshc-ddr-timing = <1 2>;
519 pinctrl-names = "default";
520 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500521 bus-width = <4>;
Andreas Faerberca5423e2014-09-23 07:49:39 +0900522 wp-gpios = <&gpc2 1 GPIO_ACTIVE_HIGH>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500523 cap-sd-highspeed;
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500524};
525
526/*
527 * On Snow we've got SIP WiFi and so can keep drive strengths low to
528 * reduce EMI.
529 */
530&mmc_3 {
531 status = "okay";
532 num-slots = <1>;
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500533 broken-cd;
534 card-detect-delay = <200>;
535 samsung,dw-mshc-ciu-div = <3>;
536 samsung,dw-mshc-sdr-timing = <2 3>;
537 samsung,dw-mshc-ddr-timing = <1 2>;
538 pinctrl-names = "default";
539 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
Jaehoon Chungaaa25a52014-08-18 11:55:32 -0500540 bus-width = <4>;
541 cap-sd-highspeed;
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500542};
543
Andreas Faerber10bc0452014-07-30 07:51:51 +0900544&pinctrl_0 {
Javier Martinez Canillase5e5c6d2015-01-15 00:30:35 +0900545 power_key_irq: power-key-irq {
546 samsung,pins = "gpx1-3";
547 samsung,pin-function = <0xf>;
548 samsung,pin-pud = <0>;
549 samsung,pin-drv = <0>;
550 };
551
Andreas Faerberca5423e2014-09-23 07:49:39 +0900552 ec_irq: ec-irq {
553 samsung,pins = "gpx1-6";
554 samsung,pin-function = <0>;
555 samsung,pin-pud = <0>;
556 samsung,pin-drv = <0>;
557 };
558
559 max98095_en: max98095-en {
560 samsung,pins = "gpx1-7";
561 samsung,pin-function = <0>;
562 samsung,pin-pud = <3>;
563 samsung,pin-drv = <0>;
564 };
565
566 tps65090_irq: tps65090-irq {
567 samsung,pins = "gpx2-6";
568 samsung,pin-function = <0>;
569 samsung,pin-pud = <0>;
570 samsung,pin-drv = <0>;
571 };
572
573 usb3_vbus_en: usb3-vbus-en {
574 samsung,pins = "gpx2-7";
575 samsung,pin-function = <1>;
576 samsung,pin-pud = <0>;
577 samsung,pin-drv = <0>;
578 };
579
Andreas Faerber10bc0452014-07-30 07:51:51 +0900580 max77686_irq: max77686-irq {
581 samsung,pins = "gpx3-2";
582 samsung,pin-function = <0>;
583 samsung,pin-pud = <0>;
584 samsung,pin-drv = <0>;
585 };
Andreas Faerberca5423e2014-09-23 07:49:39 +0900586
Javier Martinez Canillase5e5c6d2015-01-15 00:30:35 +0900587 lid_irq: lid-irq {
588 samsung,pins = "gpx3-5";
589 samsung,pin-function = <0xf>;
590 samsung,pin-pud = <0>;
591 samsung,pin-drv = <0>;
592 };
593
Andreas Faerberca5423e2014-09-23 07:49:39 +0900594 hdmi_hpd_irq: hdmi-hpd-irq {
595 samsung,pins = "gpx3-7";
596 samsung,pin-function = <0>;
597 samsung,pin-pud = <1>;
598 samsung,pin-drv = <0>;
599 };
600};
601
602&pinctrl_1 {
603 arb_their_claim: arb-their-claim {
604 samsung,pins = "gpe0-4";
605 samsung,pin-function = <0>;
606 samsung,pin-pud = <3>;
607 samsung,pin-drv = <0>;
608 };
609
610 arb_our_claim: arb-our-claim {
611 samsung,pins = "gpf0-3";
612 samsung,pin-function = <1>;
613 samsung,pin-pud = <0>;
614 samsung,pin-drv = <0>;
615 };
616};
617
618&rtc {
619 status = "okay";
Javier Martinez Canillas90fbb382014-09-24 00:22:01 +0900620 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
621 clock-names = "rtc", "rtc_src";
Andreas Faerberca5423e2014-09-23 07:49:39 +0900622};
623
624&sd3_bus4 {
625 samsung,pin-drv = <0>;
626};
627
628&sd3_clk {
629 samsung,pin-drv = <0>;
630};
631
632&sd3_cmd {
633 samsung,pin-pud = <3>;
634 samsung,pin-drv = <0>;
Andreas Faerber10bc0452014-07-30 07:51:51 +0900635};
Olof Johansson8850e0b2014-07-31 20:17:53 -0700636
Andreas Faerber5fbc3f22014-08-18 14:00:35 -0500637&spi_1 {
638 status = "okay";
639 samsung,spi-src-clk = <0>;
640 num-cs = <1>;
641};
642
Sjoerd Simons0526f272014-11-19 16:52:15 +0900643&usbdrd_dwc3 {
644 dr_mode = "host";
645};
646
Andreas Faerberca5423e2014-09-23 07:49:39 +0900647&usbdrd_phy {
648 vbus-supply = <&usb3_vbus_reg>;
649};
650
Doug Anderson1a395e32014-06-04 15:20:20 -0700651#include "cros-ec-keyboard.dtsi"