2 * Google Snow board device tree source
4 * Copyright (c) 2012 Google, Inc
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.
12 #include <dt-bindings/gpio/gpio.h>
13 #include "exynos5250.dtsi"
16 model = "Google Snow";
17 compatible = "google,snow", "samsung,exynos5250", "samsung,exynos5";
24 reg = <0x40000000 0x80000000>;
36 samsung,pins = "gpx1-6";
37 samsung,pin-function = <0>;
38 samsung,pin-pud = <0>;
39 samsung,pin-drv = <0>;
43 samsung,pin-drv = <0>;
47 samsung,pin-pud = <3>;
48 samsung,pin-drv = <0>;
51 sd3_bus4: sd3-bus-width4 {
52 samsung,pin-drv = <0>;
55 max98095_en: max98095-en {
56 samsung,pins = "gpx1-7";
57 samsung,pin-function = <0>;
58 samsung,pin-pud = <3>;
59 samsung,pin-drv = <0>;
62 tps65090_irq: tps65090-irq {
63 samsung,pins = "gpx2-6";
64 samsung,pin-function = <0>;
65 samsung,pin-pud = <0>;
66 samsung,pin-drv = <0>;
69 usb3_vbus_en: usb3-vbus-en {
70 samsung,pins = "gpx2-7";
71 samsung,pin-function = <1>;
72 samsung,pin-pud = <0>;
73 samsung,pin-drv = <0>;
76 hdmi_hpd_irq: hdmi-hpd-irq {
77 samsung,pins = "gpx3-7";
78 samsung,pin-function = <0>;
79 samsung,pin-pud = <1>;
80 samsung,pin-drv = <0>;
85 arb_their_claim: arb-their-claim {
86 samsung,pins = "gpe0-4";
87 samsung,pin-function = <0>;
88 samsung,pin-pud = <3>;
89 samsung,pin-drv = <0>;
92 arb_our_claim: arb-our-claim {
93 samsung,pins = "gpf0-3";
94 samsung,pin-function = <1>;
95 samsung,pin-pud = <0>;
96 samsung,pin-drv = <0>;
101 compatible = "gpio-keys";
106 linux,code = <116>; /* KEY_POWER */
113 linux,input-type = <5>; /* EV_SW */
114 linux,code = <0>; /* SW_LID */
115 debounce-interval = <1>;
120 vbat: vbat-fixed-regulator {
121 compatible = "regulator-fixed";
122 regulator-name = "vbat-supply";
127 compatible = "i2c-arb-gpio-challenge";
128 #address-cells = <1>;
131 i2c-parent = <&{/i2c@12CA0000}>;
133 our-claim-gpio = <&gpf0 3 1>;
134 their-claim-gpios = <&gpe0 4 1>;
135 slew-delay-us = <10>;
136 wait-retry-us = <3000>;
137 wait-free-us = <50000>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&arb_our_claim &arb_their_claim>;
142 /* Use ID 104 as a hint that we're on physical bus 4 */
145 #address-cells = <1>;
148 battery: sbs-battery@b {
149 compatible = "sbs,sbs-battery";
151 sbs,poll-retry-count = <1>;
154 cros_ec: embedded-controller {
155 compatible = "google,cros-ec-i2c";
158 interrupt-parent = <&gpx1>;
159 pinctrl-names = "default";
160 pinctrl-0 = <&ec_irq>;
165 compatible = "ti,tps65090";
169 * Config irq to disable internal pulls
170 * even though we run in polling mode.
172 pinctrl-names = "default";
173 pinctrl-0 = <&tps65090_irq>;
175 vsys1-supply = <&vbat>;
176 vsys2-supply = <&vbat>;
177 vsys3-supply = <&vbat>;
178 infet1-supply = <&vbat>;
179 infet2-supply = <&vbat>;
180 infet3-supply = <&vbat>;
181 infet4-supply = <&vbat>;
182 infet5-supply = <&vbat>;
183 infet6-supply = <&vbat>;
184 infet7-supply = <&vbat>;
185 vsys-l1-supply = <&vbat>;
186 vsys-l2-supply = <&vbat>;
190 ti,enable-ext-control;
193 ti,enable-ext-control;
196 ti,enable-ext-control;
199 regulator-name = "vcd_led";
200 ti,overcurrent-wait = <3>;
202 tps65090_fet2: fet2 {
203 regulator-name = "video_mid";
205 ti,overcurrent-wait = <3>;
208 regulator-name = "wwan_r";
210 ti,overcurrent-wait = <3>;
213 regulator-name = "sdcard";
214 ti,overcurrent-wait = <3>;
217 regulator-name = "camout";
219 ti,overcurrent-wait = <3>;
222 regulator-name = "lcd_vdd";
223 ti,overcurrent-wait = <3>;
225 tps65090_fet7: fet7 {
226 regulator-name = "video_mid_1a";
228 ti,overcurrent-wait = <3>;
237 compatible = "ti,tps65090-charger";
245 compatible = "maxim,max98095";
247 pinctrl-0 = <&max98095_en>;
248 pinctrl-names = "default";
251 ptn3460: lvds-bridge@20 {
252 compatible = "nxp,ptn3460";
254 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
255 reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
256 edid-emulation = <5>;
266 compatible = "google,snow-audio-max98095";
268 samsung,model = "Snow-I2S-MAX98095";
269 samsung,i2s-controller = <&i2s0>;
270 samsung,audio-codec = <&max98095>;
273 usb3_vbus_reg: regulator-usb3 {
274 compatible = "regulator-fixed";
275 regulator-name = "P5.0V_USB3CON";
276 regulator-min-microvolt = <5000000>;
277 regulator-max-microvolt = <5000000>;
279 pinctrl-names = "default";
280 pinctrl-0 = <&usb3_vbus_en>;
285 vbus-supply = <&usb3_vbus_reg>;
289 samsung,vbus-gpio = <&gpx1 1 0>;
294 compatible = "samsung,clock-xxti";
295 clock-frequency = <24000000>;
300 hpd-gpio = <&gpx3 7 0>;
301 pinctrl-names = "default";
302 pinctrl-0 = <&hdmi_hpd_irq>;
305 hdmi-en-supply = <&tps65090_fet7>;
306 vdd-supply = <&ldo8_reg>;
307 vdd_osc-supply = <&ldo10_reg>;
308 vdd_pll-supply = <&ldo8_reg>;
311 backlight: backlight {
312 compatible = "pwm-backlight";
313 pwms = <&pwm 0 1000000 0>;
314 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
315 default-brightness-level = <7>;
316 enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
317 power-supply = <&fet1>;
318 pinctrl-0 = <&pwm0_out>;
319 pinctrl-names = "default";
328 compatible = "auo,b116xw03";
329 power-supply = <&fet6>;
330 backlight = <&backlight>;
333 dp-controller@145B0000 {
335 pinctrl-names = "default";
336 pinctrl-0 = <&dp_hpd>;
337 samsung,color-space = <0>;
338 samsung,dynamic-range = <0>;
339 samsung,ycbcr-coeff = <0>;
340 samsung,color-depth = <1>;
341 samsung,link-rate = <0x0a>;
342 samsung,lane-count = <2>;
343 samsung,hpd-gpio = <&gpx0 7 0>;
350 samsung,i2c-sda-delay = <100>;
351 samsung,i2c-max-bus-freq = <378000>;
354 compatible = "maxim,max77686";
355 interrupt-parent = <&gpx3>;
357 pinctrl-names = "default";
358 pinctrl-0 = <&max77686_irq>;
365 regulator-name = "P1.0V_LDO_OUT1";
366 regulator-min-microvolt = <1000000>;
367 regulator-max-microvolt = <1000000>;
372 regulator-name = "P1.8V_LDO_OUT2";
373 regulator-min-microvolt = <1800000>;
374 regulator-max-microvolt = <1800000>;
379 regulator-name = "P1.8V_LDO_OUT3";
380 regulator-min-microvolt = <1800000>;
381 regulator-max-microvolt = <1800000>;
386 regulator-name = "P1.1V_LDO_OUT7";
387 regulator-min-microvolt = <1100000>;
388 regulator-max-microvolt = <1100000>;
393 regulator-name = "P1.0V_LDO_OUT8";
394 regulator-min-microvolt = <1000000>;
395 regulator-max-microvolt = <1000000>;
400 regulator-name = "P1.8V_LDO_OUT10";
401 regulator-min-microvolt = <1800000>;
402 regulator-max-microvolt = <1800000>;
407 regulator-name = "P3.0V_LDO_OUT12";
408 regulator-min-microvolt = <3000000>;
409 regulator-max-microvolt = <3000000>;
414 regulator-name = "P1.8V_LDO_OUT14";
415 regulator-min-microvolt = <1800000>;
416 regulator-max-microvolt = <1800000>;
421 regulator-name = "P1.0V_LDO_OUT15";
422 regulator-min-microvolt = <1000000>;
423 regulator-max-microvolt = <1000000>;
428 regulator-name = "P1.8V_LDO_OUT16";
429 regulator-min-microvolt = <1800000>;
430 regulator-max-microvolt = <1800000>;
435 regulator-name = "vdd_mif";
436 regulator-min-microvolt = <950000>;
437 regulator-max-microvolt = <1300000>;
443 regulator-name = "vdd_arm";
444 regulator-min-microvolt = <850000>;
445 regulator-max-microvolt = <1350000>;
451 regulator-name = "vdd_int";
452 regulator-min-microvolt = <900000>;
453 regulator-max-microvolt = <1200000>;
459 regulator-name = "vdd_g3d";
460 regulator-min-microvolt = <850000>;
461 regulator-max-microvolt = <1300000>;
467 regulator-name = "P1.8V_BUCK_OUT5";
468 regulator-min-microvolt = <1800000>;
469 regulator-max-microvolt = <1800000>;
475 regulator-name = "P1.35V_BUCK_OUT6";
476 regulator-min-microvolt = <1350000>;
477 regulator-max-microvolt = <1350000>;
482 regulator-name = "P2.0V_BUCK_OUT7";
483 regulator-min-microvolt = <2000000>;
484 regulator-max-microvolt = <2000000>;
489 regulator-name = "P2.85V_BUCK_OUT8";
490 regulator-min-microvolt = <2850000>;
491 regulator-max-microvolt = <2850000>;
500 samsung,i2c-sda-delay = <100>;
501 samsung,i2c-max-bus-freq = <378000>;
505 compatible = "cypress,cyapa";
507 interrupt-parent = <&gpx1>;
513 * Disabled pullups since external part has its own pullups and
514 * double-pulling gets us out of spec in some cases.
517 samsung,pin-pud = <0>;
522 samsung,i2c-sda-delay = <100>;
523 samsung,i2c-max-bus-freq = <66000>;
526 compatible = "samsung,exynos4210-hdmiddc";
533 samsung,i2c-sda-delay = <100>;
534 samsung,i2c-max-bus-freq = <66000>;
539 samsung,i2c-sda-delay = <100>;
540 samsung,i2c-max-bus-freq = <66000>;
545 samsung,i2c-sda-delay = <100>;
546 samsung,i2c-max-bus-freq = <66000>;
551 samsung,i2c-sda-delay = <100>;
552 samsung,i2c-max-bus-freq = <66000>;
557 samsung,i2c-sda-delay = <100>;
558 samsung,i2c-max-bus-freq = <378000>;
560 hdmiphy: hdmiphy@38 {
561 compatible = "samsung,exynos4212-hdmiphy";
570 card-detect-delay = <200>;
571 samsung,dw-mshc-ciu-div = <3>;
572 samsung,dw-mshc-sdr-timing = <2 3>;
573 samsung,dw-mshc-ddr-timing = <1 2>;
574 pinctrl-names = "default";
575 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
583 card-detect-delay = <200>;
584 samsung,dw-mshc-ciu-div = <3>;
585 samsung,dw-mshc-sdr-timing = <2 3>;
586 samsung,dw-mshc-ddr-timing = <1 2>;
587 pinctrl-names = "default";
588 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
590 wp-gpios = <&gpc2 1 0>;
595 * On Snow we've got SIP WiFi and so can keep drive strengths low to
602 card-detect-delay = <200>;
603 samsung,dw-mshc-ciu-div = <3>;
604 samsung,dw-mshc-sdr-timing = <2 3>;
605 samsung,dw-mshc-ddr-timing = <1 2>;
606 pinctrl-names = "default";
607 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
613 max77686_irq: max77686-irq {
614 samsung,pins = "gpx3-2";
615 samsung,pin-function = <0>;
616 samsung,pin-pud = <0>;
617 samsung,pin-drv = <0>;
623 samsung,spi-src-clk = <0>;
631 #include "cros-ec-keyboard.dtsi"