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 "exynos5250.dtsi"
15 model = "Google Snow";
16 compatible = "google,snow", "samsung,exynos5250", "samsung,exynos5";
23 reg = <0x40000000 0x80000000>;
35 samsung,pins = "gpx1-6";
36 samsung,pin-function = <0>;
37 samsung,pin-pud = <0>;
38 samsung,pin-drv = <0>;
42 samsung,pin-drv = <0>;
46 samsung,pin-pud = <3>;
47 samsung,pin-drv = <0>;
50 sd3_bus4: sd3-bus-width4 {
51 samsung,pin-drv = <0>;
54 max98095_en: max98095-en {
55 samsung,pins = "gpx1-7";
56 samsung,pin-function = <0>;
57 samsung,pin-pud = <3>;
58 samsung,pin-drv = <0>;
61 tps65090_irq: tps65090-irq {
62 samsung,pins = "gpx2-6";
63 samsung,pin-function = <0>;
64 samsung,pin-pud = <0>;
65 samsung,pin-drv = <0>;
68 usb3_vbus_en: usb3-vbus-en {
69 samsung,pins = "gpx2-7";
70 samsung,pin-function = <1>;
71 samsung,pin-pud = <0>;
72 samsung,pin-drv = <0>;
75 hdmi_hpd_irq: hdmi-hpd-irq {
76 samsung,pins = "gpx3-7";
77 samsung,pin-function = <0>;
78 samsung,pin-pud = <1>;
79 samsung,pin-drv = <0>;
84 arb_their_claim: arb-their-claim {
85 samsung,pins = "gpe0-4";
86 samsung,pin-function = <0>;
87 samsung,pin-pud = <3>;
88 samsung,pin-drv = <0>;
91 arb_our_claim: arb-our-claim {
92 samsung,pins = "gpf0-3";
93 samsung,pin-function = <1>;
94 samsung,pin-pud = <0>;
95 samsung,pin-drv = <0>;
100 compatible = "gpio-keys";
105 linux,code = <116>; /* KEY_POWER */
112 linux,input-type = <5>; /* EV_SW */
113 linux,code = <0>; /* SW_LID */
114 debounce-interval = <1>;
119 vbat: vbat-fixed-regulator {
120 compatible = "regulator-fixed";
121 regulator-name = "vbat-supply";
126 compatible = "i2c-arb-gpio-challenge";
127 #address-cells = <1>;
130 i2c-parent = <&{/i2c@12CA0000}>;
132 our-claim-gpio = <&gpf0 3 1>;
133 their-claim-gpios = <&gpe0 4 1>;
134 slew-delay-us = <10>;
135 wait-retry-us = <3000>;
136 wait-free-us = <50000>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&arb_our_claim &arb_their_claim>;
141 /* Use ID 104 as a hint that we're on physical bus 4 */
144 #address-cells = <1>;
147 battery: sbs-battery@b {
148 compatible = "sbs,sbs-battery";
150 sbs,poll-retry-count = <1>;
153 cros_ec: embedded-controller {
154 compatible = "google,cros-ec-i2c";
157 interrupt-parent = <&gpx1>;
158 pinctrl-names = "default";
159 pinctrl-0 = <&ec_irq>;
164 compatible = "ti,tps65090";
168 * Config irq to disable internal pulls
169 * even though we run in polling mode.
171 pinctrl-names = "default";
172 pinctrl-0 = <&tps65090_irq>;
174 vsys1-supply = <&vbat>;
175 vsys2-supply = <&vbat>;
176 vsys3-supply = <&vbat>;
177 infet1-supply = <&vbat>;
178 infet2-supply = <&vbat>;
179 infet3-supply = <&vbat>;
180 infet4-supply = <&vbat>;
181 infet5-supply = <&vbat>;
182 infet6-supply = <&vbat>;
183 infet7-supply = <&vbat>;
184 vsys-l1-supply = <&vbat>;
185 vsys-l2-supply = <&vbat>;
189 ti,enable-ext-control;
192 ti,enable-ext-control;
195 ti,enable-ext-control;
198 regulator-name = "vcd_led";
199 ti,overcurrent-wait = <3>;
201 tps65090_fet2: fet2 {
202 regulator-name = "video_mid";
204 ti,overcurrent-wait = <3>;
207 regulator-name = "wwan_r";
209 ti,overcurrent-wait = <3>;
212 regulator-name = "sdcard";
213 ti,overcurrent-wait = <3>;
216 regulator-name = "camout";
218 ti,overcurrent-wait = <3>;
221 regulator-name = "lcd_vdd";
222 ti,overcurrent-wait = <3>;
224 tps65090_fet7: fet7 {
225 regulator-name = "video_mid_1a";
227 ti,overcurrent-wait = <3>;
236 compatible = "ti,tps65090-charger";
244 compatible = "maxim,max98095";
246 pinctrl-0 = <&max98095_en>;
247 pinctrl-names = "default";
256 compatible = "google,snow-audio-max98095";
258 samsung,model = "Snow-I2S-MAX98095";
259 samsung,i2s-controller = <&i2s0>;
260 samsung,audio-codec = <&max98095>;
263 usb3_vbus_reg: regulator-usb3 {
264 compatible = "regulator-fixed";
265 regulator-name = "P5.0V_USB3CON";
266 regulator-min-microvolt = <5000000>;
267 regulator-max-microvolt = <5000000>;
269 pinctrl-names = "default";
270 pinctrl-0 = <&usb3_vbus_en>;
275 vbus-supply = <&usb3_vbus_reg>;
279 samsung,vbus-gpio = <&gpx1 1 0>;
284 compatible = "samsung,clock-xxti";
285 clock-frequency = <24000000>;
290 hpd-gpio = <&gpx3 7 0>;
291 pinctrl-names = "default";
292 pinctrl-0 = <&hdmi_hpd_irq>;
295 hdmi-en-supply = <&tps65090_fet7>;
296 vdd-supply = <&ldo8_reg>;
297 vdd_osc-supply = <&ldo10_reg>;
298 vdd_pll-supply = <&ldo8_reg>;
302 compatible = "pwm-backlight";
303 pwms = <&pwm 0 1000000 0>;
304 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
305 default-brightness-level = <7>;
306 pinctrl-0 = <&pwm0_out>;
307 pinctrl-names = "default";
315 dp-controller@145B0000 {
317 pinctrl-names = "default";
318 pinctrl-0 = <&dp_hpd>;
319 samsung,color-space = <0>;
320 samsung,dynamic-range = <0>;
321 samsung,ycbcr-coeff = <0>;
322 samsung,color-depth = <1>;
323 samsung,link-rate = <0x0a>;
324 samsung,lane-count = <2>;
325 samsung,hpd-gpio = <&gpx0 7 0>;
328 native-mode = <&timing1>;
331 clock-frequency = <70589280>;
347 samsung,i2c-sda-delay = <100>;
348 samsung,i2c-max-bus-freq = <378000>;
351 compatible = "maxim,max77686";
352 interrupt-parent = <&gpx3>;
354 pinctrl-names = "default";
355 pinctrl-0 = <&max77686_irq>;
362 regulator-name = "P1.0V_LDO_OUT1";
363 regulator-min-microvolt = <1000000>;
364 regulator-max-microvolt = <1000000>;
369 regulator-name = "P1.8V_LDO_OUT2";
370 regulator-min-microvolt = <1800000>;
371 regulator-max-microvolt = <1800000>;
376 regulator-name = "P1.8V_LDO_OUT3";
377 regulator-min-microvolt = <1800000>;
378 regulator-max-microvolt = <1800000>;
383 regulator-name = "P1.1V_LDO_OUT7";
384 regulator-min-microvolt = <1100000>;
385 regulator-max-microvolt = <1100000>;
390 regulator-name = "P1.0V_LDO_OUT8";
391 regulator-min-microvolt = <1000000>;
392 regulator-max-microvolt = <1000000>;
397 regulator-name = "P1.8V_LDO_OUT10";
398 regulator-min-microvolt = <1800000>;
399 regulator-max-microvolt = <1800000>;
404 regulator-name = "P3.0V_LDO_OUT12";
405 regulator-min-microvolt = <3000000>;
406 regulator-max-microvolt = <3000000>;
411 regulator-name = "P1.8V_LDO_OUT14";
412 regulator-min-microvolt = <1800000>;
413 regulator-max-microvolt = <1800000>;
418 regulator-name = "P1.0V_LDO_OUT15";
419 regulator-min-microvolt = <1000000>;
420 regulator-max-microvolt = <1000000>;
425 regulator-name = "P1.8V_LDO_OUT16";
426 regulator-min-microvolt = <1800000>;
427 regulator-max-microvolt = <1800000>;
432 regulator-name = "vdd_mif";
433 regulator-min-microvolt = <950000>;
434 regulator-max-microvolt = <1300000>;
440 regulator-name = "vdd_arm";
441 regulator-min-microvolt = <850000>;
442 regulator-max-microvolt = <1350000>;
448 regulator-name = "vdd_int";
449 regulator-min-microvolt = <900000>;
450 regulator-max-microvolt = <1200000>;
456 regulator-name = "vdd_g3d";
457 regulator-min-microvolt = <850000>;
458 regulator-max-microvolt = <1300000>;
464 regulator-name = "P1.8V_BUCK_OUT5";
465 regulator-min-microvolt = <1800000>;
466 regulator-max-microvolt = <1800000>;
472 regulator-name = "P1.35V_BUCK_OUT6";
473 regulator-min-microvolt = <1350000>;
474 regulator-max-microvolt = <1350000>;
479 regulator-name = "P2.0V_BUCK_OUT7";
480 regulator-min-microvolt = <2000000>;
481 regulator-max-microvolt = <2000000>;
486 regulator-name = "P2.85V_BUCK_OUT8";
487 regulator-min-microvolt = <2850000>;
488 regulator-max-microvolt = <2850000>;
497 samsung,i2c-sda-delay = <100>;
498 samsung,i2c-max-bus-freq = <378000>;
502 compatible = "cypress,cyapa";
504 interrupt-parent = <&gpx1>;
510 * Disabled pullups since external part has its own pullups and
511 * double-pulling gets us out of spec in some cases.
514 samsung,pin-pud = <0>;
519 samsung,i2c-sda-delay = <100>;
520 samsung,i2c-max-bus-freq = <66000>;
523 compatible = "samsung,exynos4210-hdmiddc";
530 samsung,i2c-sda-delay = <100>;
531 samsung,i2c-max-bus-freq = <66000>;
536 samsung,i2c-sda-delay = <100>;
537 samsung,i2c-max-bus-freq = <66000>;
542 samsung,i2c-sda-delay = <100>;
543 samsung,i2c-max-bus-freq = <66000>;
548 samsung,i2c-sda-delay = <100>;
549 samsung,i2c-max-bus-freq = <66000>;
554 samsung,i2c-sda-delay = <100>;
555 samsung,i2c-max-bus-freq = <378000>;
557 hdmiphy: hdmiphy@38 {
558 compatible = "samsung,exynos4212-hdmiphy";
568 card-detect-delay = <200>;
569 samsung,dw-mshc-ciu-div = <3>;
570 samsung,dw-mshc-sdr-timing = <2 3>;
571 samsung,dw-mshc-ddr-timing = <1 2>;
572 pinctrl-names = "default";
573 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
585 card-detect-delay = <200>;
586 samsung,dw-mshc-ciu-div = <3>;
587 samsung,dw-mshc-sdr-timing = <2 3>;
588 samsung,dw-mshc-ddr-timing = <1 2>;
589 pinctrl-names = "default";
590 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
595 wp-gpios = <&gpc2 1 0>;
600 * On Snow we've got SIP WiFi and so can keep drive strengths low to
608 card-detect-delay = <200>;
609 samsung,dw-mshc-ciu-div = <3>;
610 samsung,dw-mshc-sdr-timing = <2 3>;
611 samsung,dw-mshc-ddr-timing = <1 2>;
612 pinctrl-names = "default";
613 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
622 max77686_irq: max77686-irq {
623 samsung,pins = "gpx3-2";
624 samsung,pin-function = <0>;
625 samsung,pin-pud = <0>;
626 samsung,pin-drv = <0>;
632 samsung,spi-src-clk = <0>;
636 #include "cros-ec-keyboard.dtsi"