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";
35 compatible = "gpio-keys";
36 pinctrl-names = "default";
37 pinctrl-0 = <&power_key_irq &lid_irq>;
41 gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_POWER>;
48 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
49 linux,input-type = <5>; /* EV_SW */
50 linux,code = <0>; /* SW_LID */
51 debounce-interval = <1>;
56 vbat: vbat-fixed-regulator {
57 compatible = "regulator-fixed";
58 regulator-name = "vbat-supply";
63 compatible = "i2c-arb-gpio-challenge";
67 i2c-parent = <&{/i2c@12CA0000}>;
69 our-claim-gpio = <&gpf0 3 GPIO_ACTIVE_LOW>;
70 their-claim-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
72 wait-retry-us = <3000>;
73 wait-free-us = <50000>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&arb_our_claim &arb_their_claim>;
78 /* Use ID 104 as a hint that we're on physical bus 4 */
84 battery: sbs-battery@b {
85 compatible = "sbs,sbs-battery";
87 sbs,poll-retry-count = <1>;
90 cros_ec: embedded-controller {
91 compatible = "google,cros-ec-i2c";
93 interrupts = <6 IRQ_TYPE_NONE>;
94 interrupt-parent = <&gpx1>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&ec_irq>;
101 compatible = "ti,tps65090";
105 * Config irq to disable internal pulls
106 * even though we run in polling mode.
108 pinctrl-names = "default";
109 pinctrl-0 = <&tps65090_irq>;
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>;
126 ti,enable-ext-control;
129 ti,enable-ext-control;
132 ti,enable-ext-control;
135 regulator-name = "vcd_led";
136 ti,overcurrent-wait = <3>;
138 tps65090_fet2: fet2 {
139 regulator-name = "video_mid";
141 ti,overcurrent-wait = <3>;
144 regulator-name = "wwan_r";
146 ti,overcurrent-wait = <3>;
149 regulator-name = "sdcard";
150 ti,overcurrent-wait = <3>;
153 regulator-name = "camout";
155 ti,overcurrent-wait = <3>;
158 regulator-name = "lcd_vdd";
159 ti,overcurrent-wait = <3>;
161 tps65090_fet7: fet7 {
162 regulator-name = "video_mid_1a";
164 ti,overcurrent-wait = <3>;
173 compatible = "ti,tps65090-charger";
180 ptn3460: lvds-bridge@20 {
181 compatible = "nxp,ptn3460";
183 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
184 reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
185 edid-emulation = <5>;
191 compatible = "google,snow-audio-max98095";
193 samsung,model = "Snow-I2S-MAX98095";
194 samsung,i2s-controller = <&i2s0>;
195 samsung,audio-codec = <&max98095>;
198 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>;
203 gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
204 pinctrl-names = "default";
205 pinctrl-0 = <&usb3_vbus_en>;
211 compatible = "samsung,clock-xxti";
212 clock-frequency = <24000000>;
216 backlight: backlight {
217 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>;
221 enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
222 power-supply = <&fet1>;
223 pinctrl-0 = <&pwm0_out>;
224 pinctrl-names = "default";
228 compatible = "auo,b116xw03";
229 power-supply = <&fet6>;
230 backlight = <&backlight>;
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>;
249 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
258 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
259 pinctrl-names = "default";
260 pinctrl-0 = <&hdmi_hpd_irq>;
263 hdmi-en-supply = <&tps65090_fet7>;
264 vdd-supply = <&ldo8_reg>;
265 vdd_osc-supply = <&ldo10_reg>;
266 vdd_pll-supply = <&ldo8_reg>;
271 samsung,i2c-sda-delay = <100>;
272 samsung,i2c-max-bus-freq = <378000>;
274 max77686: max77686@09 {
275 compatible = "maxim,max77686";
276 interrupt-parent = <&gpx3>;
277 interrupts = <2 IRQ_TYPE_NONE>;
278 pinctrl-names = "default";
279 pinctrl-0 = <&max77686_irq>;
286 regulator-name = "P1.0V_LDO_OUT1";
287 regulator-min-microvolt = <1000000>;
288 regulator-max-microvolt = <1000000>;
293 regulator-name = "P1.8V_LDO_OUT2";
294 regulator-min-microvolt = <1800000>;
295 regulator-max-microvolt = <1800000>;
300 regulator-name = "P1.8V_LDO_OUT3";
301 regulator-min-microvolt = <1800000>;
302 regulator-max-microvolt = <1800000>;
307 regulator-name = "P1.1V_LDO_OUT7";
308 regulator-min-microvolt = <1100000>;
309 regulator-max-microvolt = <1100000>;
314 regulator-name = "P1.0V_LDO_OUT8";
315 regulator-min-microvolt = <1000000>;
316 regulator-max-microvolt = <1000000>;
321 regulator-name = "P1.8V_LDO_OUT10";
322 regulator-min-microvolt = <1800000>;
323 regulator-max-microvolt = <1800000>;
328 regulator-name = "P3.0V_LDO_OUT12";
329 regulator-min-microvolt = <3000000>;
330 regulator-max-microvolt = <3000000>;
335 regulator-name = "P1.8V_LDO_OUT14";
336 regulator-min-microvolt = <1800000>;
337 regulator-max-microvolt = <1800000>;
342 regulator-name = "P1.0V_LDO_OUT15";
343 regulator-min-microvolt = <1000000>;
344 regulator-max-microvolt = <1000000>;
349 regulator-name = "P1.8V_LDO_OUT16";
350 regulator-min-microvolt = <1800000>;
351 regulator-max-microvolt = <1800000>;
356 regulator-name = "vdd_mif";
357 regulator-min-microvolt = <950000>;
358 regulator-max-microvolt = <1300000>;
364 regulator-name = "vdd_arm";
365 regulator-min-microvolt = <850000>;
366 regulator-max-microvolt = <1350000>;
372 regulator-name = "vdd_int";
373 regulator-min-microvolt = <900000>;
374 regulator-max-microvolt = <1200000>;
380 regulator-name = "vdd_g3d";
381 regulator-min-microvolt = <850000>;
382 regulator-max-microvolt = <1300000>;
388 regulator-name = "P1.8V_BUCK_OUT5";
389 regulator-min-microvolt = <1800000>;
390 regulator-max-microvolt = <1800000>;
396 regulator-name = "P1.35V_BUCK_OUT6";
397 regulator-min-microvolt = <1350000>;
398 regulator-max-microvolt = <1350000>;
403 regulator-name = "P2.0V_BUCK_OUT7";
404 regulator-min-microvolt = <2000000>;
405 regulator-max-microvolt = <2000000>;
410 regulator-name = "P2.85V_BUCK_OUT8";
411 regulator-min-microvolt = <2850000>;
412 regulator-max-microvolt = <2850000>;
421 samsung,i2c-sda-delay = <100>;
422 samsung,i2c-max-bus-freq = <378000>;
426 compatible = "cypress,cyapa";
427 interrupts = <2 IRQ_TYPE_NONE>;
428 interrupt-parent = <&gpx1>;
434 * Disabled pullups since external part has its own pullups and
435 * double-pulling gets us out of spec in some cases.
438 samsung,pin-pud = <0>;
443 samsung,i2c-sda-delay = <100>;
444 samsung,i2c-max-bus-freq = <66000>;
447 compatible = "samsung,exynos4210-hdmiddc";
454 samsung,i2c-sda-delay = <100>;
455 samsung,i2c-max-bus-freq = <66000>;
460 samsung,i2c-sda-delay = <100>;
461 samsung,i2c-max-bus-freq = <66000>;
466 samsung,i2c-sda-delay = <100>;
467 samsung,i2c-max-bus-freq = <66000>;
472 samsung,i2c-sda-delay = <100>;
473 samsung,i2c-max-bus-freq = <66000>;
476 compatible = "maxim,max98095";
478 pinctrl-0 = <&max98095_en>;
479 pinctrl-names = "default";
485 samsung,i2c-sda-delay = <100>;
486 samsung,i2c-max-bus-freq = <378000>;
488 hdmiphy: hdmiphy@38 {
489 compatible = "samsung,exynos4212-hdmiphy";
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>;
515 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>;
522 wp-gpios = <&gpc2 1 GPIO_ACTIVE_HIGH>;
527 * On Snow we've got SIP WiFi and so can keep drive strengths low to
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>;
545 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>;
553 samsung,pins = "gpx1-6";
554 samsung,pin-function = <0>;
555 samsung,pin-pud = <0>;
556 samsung,pin-drv = <0>;
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>;
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>;
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>;
580 max77686_irq: max77686-irq {
581 samsung,pins = "gpx3-2";
582 samsung,pin-function = <0>;
583 samsung,pin-pud = <0>;
584 samsung,pin-drv = <0>;
588 samsung,pins = "gpx3-5";
589 samsung,pin-function = <0xf>;
590 samsung,pin-pud = <0>;
591 samsung,pin-drv = <0>;
594 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>;
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>;
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>;
620 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
621 clock-names = "rtc", "rtc_src";
625 samsung,pin-drv = <0>;
629 samsung,pin-drv = <0>;
633 samsung,pin-pud = <3>;
634 samsung,pin-drv = <0>;
639 samsung,spi-src-clk = <0>;
648 vbus-supply = <&usb3_vbus_reg>;
651 #include "cros-ec-keyboard.dtsi"