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 <dt-bindings/clock/maxim,max77686.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/input/input.h>
16 #include "exynos5250.dtsi"
19 model = "Google Snow";
20 compatible = "google,snow", "samsung,exynos5250", "samsung,exynos5";
27 reg = <0x40000000 0x80000000>;
31 bootargs = "console=tty1";
32 stdout-path = "serial3:115200n8";
36 compatible = "gpio-keys";
37 pinctrl-names = "default";
38 pinctrl-0 = <&power_key_irq &lid_irq>;
42 gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_POWER>;
49 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
50 linux,input-type = <5>; /* EV_SW */
51 linux,code = <0>; /* SW_LID */
52 debounce-interval = <1>;
57 vbat: vbat-fixed-regulator {
58 compatible = "regulator-fixed";
59 regulator-name = "vbat-supply";
64 compatible = "i2c-arb-gpio-challenge";
68 i2c-parent = <&{/i2c@12CA0000}>;
70 our-claim-gpio = <&gpf0 3 GPIO_ACTIVE_LOW>;
71 their-claim-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
73 wait-retry-us = <3000>;
74 wait-free-us = <50000>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&arb_our_claim &arb_their_claim>;
79 /* Use ID 104 as a hint that we're on physical bus 4 */
85 battery: sbs-battery@b {
86 compatible = "sbs,sbs-battery";
88 sbs,poll-retry-count = <1>;
91 cros_ec: embedded-controller {
92 compatible = "google,cros-ec-i2c";
94 interrupts = <6 IRQ_TYPE_NONE>;
95 interrupt-parent = <&gpx1>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&ec_irq>;
102 compatible = "ti,tps65090";
106 * Config irq to disable internal pulls
107 * even though we run in polling mode.
109 pinctrl-names = "default";
110 pinctrl-0 = <&tps65090_irq>;
112 vsys1-supply = <&vbat>;
113 vsys2-supply = <&vbat>;
114 vsys3-supply = <&vbat>;
115 infet1-supply = <&vbat>;
116 infet2-supply = <&vbat>;
117 infet3-supply = <&vbat>;
118 infet4-supply = <&vbat>;
119 infet5-supply = <&vbat>;
120 infet6-supply = <&vbat>;
121 infet7-supply = <&vbat>;
122 vsys-l1-supply = <&vbat>;
123 vsys-l2-supply = <&vbat>;
127 ti,enable-ext-control;
130 ti,enable-ext-control;
133 ti,enable-ext-control;
136 regulator-name = "vcd_led";
137 ti,overcurrent-wait = <3>;
139 tps65090_fet2: fet2 {
140 regulator-name = "video_mid";
142 ti,overcurrent-wait = <3>;
145 regulator-name = "wwan_r";
147 ti,overcurrent-wait = <3>;
150 regulator-name = "sdcard";
151 ti,overcurrent-wait = <3>;
154 regulator-name = "camout";
156 ti,overcurrent-wait = <3>;
159 regulator-name = "lcd_vdd";
160 ti,overcurrent-wait = <3>;
162 tps65090_fet7: fet7 {
163 regulator-name = "video_mid_1a";
165 ti,overcurrent-wait = <3>;
174 compatible = "ti,tps65090-charger";
181 compatible = "google,snow-audio-max98095";
183 samsung,model = "Snow-I2S-MAX98095";
184 samsung,i2s-controller = <&i2s0>;
185 samsung,audio-codec = <&max98095>;
188 usb3_vbus_reg: regulator-usb3 {
189 compatible = "regulator-fixed";
190 regulator-name = "P5.0V_USB3CON";
191 regulator-min-microvolt = <5000000>;
192 regulator-max-microvolt = <5000000>;
193 gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
194 pinctrl-names = "default";
195 pinctrl-0 = <&usb3_vbus_en>;
201 compatible = "samsung,clock-xxti";
202 clock-frequency = <24000000>;
206 backlight: backlight {
207 compatible = "pwm-backlight";
208 pwms = <&pwm 0 1000000 0>;
209 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
210 default-brightness-level = <7>;
211 enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
212 power-supply = <&fet1>;
213 pinctrl-0 = <&pwm0_out>;
214 pinctrl-names = "default";
218 compatible = "auo,b116xw03";
219 power-supply = <&fet6>;
220 backlight = <&backlight>;
224 remote-endpoint = <&bridge_out>;
229 mmc3_pwrseq: mmc3_pwrseq {
230 compatible = "mmc-pwrseq-simple";
231 reset-gpios = <&gpx0 2 GPIO_ACTIVE_LOW>, /* WIFI_RSTn */
232 <&gpx0 1 GPIO_ACTIVE_LOW>; /* WIFI_EN */
233 clocks = <&max77686 MAX77686_CLK_PMIC>;
234 clock-names = "ext_clock";
239 cpu0-supply = <&buck2_reg>;
244 pinctrl-names = "default";
245 pinctrl-0 = <&dp_hpd>;
246 samsung,color-space = <0>;
247 samsung,dynamic-range = <0>;
248 samsung,ycbcr-coeff = <0>;
249 samsung,color-depth = <1>;
250 samsung,link-rate = <0x0a>;
251 samsung,lane-count = <2>;
252 samsung,hpd-gpio = <&gpx0 7 GPIO_ACTIVE_HIGH>;
257 remote-endpoint = <&bridge_in>;
264 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
273 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
274 pinctrl-names = "default";
275 pinctrl-0 = <&hdmi_hpd_irq>;
278 hdmi-en-supply = <&tps65090_fet7>;
279 vdd-supply = <&ldo8_reg>;
280 vdd_osc-supply = <&ldo10_reg>;
281 vdd_pll-supply = <&ldo8_reg>;
286 samsung,i2c-sda-delay = <100>;
287 samsung,i2c-max-bus-freq = <378000>;
289 max77686: max77686@09 {
290 compatible = "maxim,max77686";
291 interrupt-parent = <&gpx3>;
292 interrupts = <2 IRQ_TYPE_NONE>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&max77686_irq>;
301 regulator-name = "P1.0V_LDO_OUT1";
302 regulator-min-microvolt = <1000000>;
303 regulator-max-microvolt = <1000000>;
308 regulator-name = "P1.8V_LDO_OUT2";
309 regulator-min-microvolt = <1800000>;
310 regulator-max-microvolt = <1800000>;
315 regulator-name = "P1.8V_LDO_OUT3";
316 regulator-min-microvolt = <1800000>;
317 regulator-max-microvolt = <1800000>;
322 regulator-name = "P1.1V_LDO_OUT7";
323 regulator-min-microvolt = <1100000>;
324 regulator-max-microvolt = <1100000>;
329 regulator-name = "P1.0V_LDO_OUT8";
330 regulator-min-microvolt = <1000000>;
331 regulator-max-microvolt = <1000000>;
336 regulator-name = "P1.8V_LDO_OUT10";
337 regulator-min-microvolt = <1800000>;
338 regulator-max-microvolt = <1800000>;
343 regulator-name = "P3.0V_LDO_OUT12";
344 regulator-min-microvolt = <3000000>;
345 regulator-max-microvolt = <3000000>;
350 regulator-name = "P1.8V_LDO_OUT14";
351 regulator-min-microvolt = <1800000>;
352 regulator-max-microvolt = <1800000>;
357 regulator-name = "P1.0V_LDO_OUT15";
358 regulator-min-microvolt = <1000000>;
359 regulator-max-microvolt = <1000000>;
364 regulator-name = "P1.8V_LDO_OUT16";
365 regulator-min-microvolt = <1800000>;
366 regulator-max-microvolt = <1800000>;
371 regulator-name = "vdd_mif";
372 regulator-min-microvolt = <950000>;
373 regulator-max-microvolt = <1300000>;
379 regulator-name = "vdd_arm";
380 regulator-min-microvolt = <850000>;
381 regulator-max-microvolt = <1350000>;
387 regulator-name = "vdd_int";
388 regulator-min-microvolt = <900000>;
389 regulator-max-microvolt = <1200000>;
395 regulator-name = "vdd_g3d";
396 regulator-min-microvolt = <850000>;
397 regulator-max-microvolt = <1300000>;
403 regulator-name = "P1.8V_BUCK_OUT5";
404 regulator-min-microvolt = <1800000>;
405 regulator-max-microvolt = <1800000>;
411 regulator-name = "P1.35V_BUCK_OUT6";
412 regulator-min-microvolt = <1350000>;
413 regulator-max-microvolt = <1350000>;
418 regulator-name = "P2.0V_BUCK_OUT7";
419 regulator-min-microvolt = <2000000>;
420 regulator-max-microvolt = <2000000>;
425 regulator-name = "P2.85V_BUCK_OUT8";
426 regulator-min-microvolt = <2850000>;
427 regulator-max-microvolt = <2850000>;
436 samsung,i2c-sda-delay = <100>;
437 samsung,i2c-max-bus-freq = <378000>;
441 compatible = "cypress,cyapa";
442 interrupts = <2 IRQ_TYPE_NONE>;
443 interrupt-parent = <&gpx1>;
449 * Disabled pullups since external part has its own pullups and
450 * double-pulling gets us out of spec in some cases.
453 samsung,pin-pud = <0>;
458 samsung,i2c-sda-delay = <100>;
459 samsung,i2c-max-bus-freq = <66000>;
462 compatible = "samsung,exynos4210-hdmiddc";
469 samsung,i2c-sda-delay = <100>;
470 samsung,i2c-max-bus-freq = <66000>;
475 samsung,i2c-sda-delay = <100>;
476 samsung,i2c-max-bus-freq = <66000>;
481 samsung,i2c-sda-delay = <100>;
482 samsung,i2c-max-bus-freq = <66000>;
487 samsung,i2c-sda-delay = <100>;
488 samsung,i2c-max-bus-freq = <66000>;
490 ptn3460: lvds-bridge@20 {
491 compatible = "nxp,ptn3460";
493 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
494 reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
495 edid-emulation = <5>;
499 bridge_out: endpoint {
500 remote-endpoint = <&panel_in>;
505 bridge_in: endpoint {
506 remote-endpoint = <&dp_out>;
513 compatible = "maxim,max98095";
515 pinctrl-0 = <&max98095_en>;
516 pinctrl-names = "default";
522 samsung,i2c-sda-delay = <100>;
523 samsung,i2c-max-bus-freq = <378000>;
525 hdmiphy: hdmiphy@38 {
526 compatible = "samsung,exynos4212-hdmiphy";
539 card-detect-delay = <200>;
540 samsung,dw-mshc-ciu-div = <3>;
541 samsung,dw-mshc-sdr-timing = <2 3>;
542 samsung,dw-mshc-ddr-timing = <1 2>;
543 pinctrl-names = "default";
544 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
552 card-detect-delay = <200>;
553 samsung,dw-mshc-ciu-div = <3>;
554 samsung,dw-mshc-sdr-timing = <2 3>;
555 samsung,dw-mshc-ddr-timing = <1 2>;
556 pinctrl-names = "default";
557 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
559 wp-gpios = <&gpc2 1 GPIO_ACTIVE_HIGH>;
564 * On Snow we've got SIP WiFi and so can keep drive strengths low to
572 keep-power-in-suspend;
573 card-detect-delay = <200>;
574 samsung,dw-mshc-ciu-div = <3>;
575 samsung,dw-mshc-sdr-timing = <2 3>;
576 samsung,dw-mshc-ddr-timing = <1 2>;
577 pinctrl-names = "default";
578 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4 &wifi_en &wifi_rst>;
581 mmc-pwrseq = <&mmc3_pwrseq>;
586 samsung,pins = "gpx0-1";
587 samsung,pin-function = <1>;
588 samsung,pin-pud = <0>;
589 samsung,pin-drv = <0>;
593 samsung,pins = "gpx0-2";
594 samsung,pin-function = <1>;
595 samsung,pin-pud = <0>;
596 samsung,pin-drv = <0>;
599 power_key_irq: power-key-irq {
600 samsung,pins = "gpx1-3";
601 samsung,pin-function = <0xf>;
602 samsung,pin-pud = <0>;
603 samsung,pin-drv = <0>;
607 samsung,pins = "gpx1-6";
608 samsung,pin-function = <0>;
609 samsung,pin-pud = <0>;
610 samsung,pin-drv = <0>;
613 max98095_en: max98095-en {
614 samsung,pins = "gpx1-7";
615 samsung,pin-function = <0>;
616 samsung,pin-pud = <3>;
617 samsung,pin-drv = <0>;
620 tps65090_irq: tps65090-irq {
621 samsung,pins = "gpx2-6";
622 samsung,pin-function = <0>;
623 samsung,pin-pud = <0>;
624 samsung,pin-drv = <0>;
627 usb3_vbus_en: usb3-vbus-en {
628 samsung,pins = "gpx2-7";
629 samsung,pin-function = <1>;
630 samsung,pin-pud = <0>;
631 samsung,pin-drv = <0>;
634 max77686_irq: max77686-irq {
635 samsung,pins = "gpx3-2";
636 samsung,pin-function = <0>;
637 samsung,pin-pud = <0>;
638 samsung,pin-drv = <0>;
642 samsung,pins = "gpx3-5";
643 samsung,pin-function = <0xf>;
644 samsung,pin-pud = <0>;
645 samsung,pin-drv = <0>;
648 hdmi_hpd_irq: hdmi-hpd-irq {
649 samsung,pins = "gpx3-7";
650 samsung,pin-function = <0>;
651 samsung,pin-pud = <1>;
652 samsung,pin-drv = <0>;
657 arb_their_claim: arb-their-claim {
658 samsung,pins = "gpe0-4";
659 samsung,pin-function = <0>;
660 samsung,pin-pud = <3>;
661 samsung,pin-drv = <0>;
664 arb_our_claim: arb-our-claim {
665 samsung,pins = "gpf0-3";
666 samsung,pin-function = <1>;
667 samsung,pin-pud = <0>;
668 samsung,pin-drv = <0>;
674 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
675 clock-names = "rtc", "rtc_src";
679 samsung,pin-drv = <0>;
683 samsung,pin-drv = <0>;
687 samsung,pin-pud = <3>;
688 samsung,pin-drv = <0>;
693 samsung,spi-src-clk = <0>;
695 cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>;
703 vbus-supply = <&usb3_vbus_reg>;
706 #include "cros-ec-keyboard.dtsi"