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.
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/clock/maxim,max77686.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/input/input.h>
15 #include "exynos5250.dtsi"
23 reg = <0x40000000 0x80000000>;
27 bootargs = "console=tty1";
28 stdout-path = "serial3:115200n8";
32 compatible = "gpio-keys";
33 pinctrl-names = "default";
34 pinctrl-0 = <&power_key_irq &lid_irq>;
38 gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_POWER>;
45 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
46 linux,input-type = <5>; /* EV_SW */
47 linux,code = <0>; /* SW_LID */
48 debounce-interval = <1>;
53 vbat: vbat-fixed-regulator {
54 compatible = "regulator-fixed";
55 regulator-name = "vbat-supply";
60 compatible = "i2c-arb-gpio-challenge";
64 i2c-parent = <&{/i2c@12CA0000}>;
66 our-claim-gpio = <&gpf0 3 GPIO_ACTIVE_LOW>;
67 their-claim-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
69 wait-retry-us = <3000>;
70 wait-free-us = <50000>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&arb_our_claim &arb_their_claim>;
75 /* Use ID 104 as a hint that we're on physical bus 4 */
81 battery: sbs-battery@b {
82 compatible = "sbs,sbs-battery";
84 sbs,poll-retry-count = <1>;
87 cros_ec: embedded-controller {
88 compatible = "google,cros-ec-i2c";
90 interrupts = <6 IRQ_TYPE_NONE>;
91 interrupt-parent = <&gpx1>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&ec_irq>;
98 compatible = "ti,tps65090";
102 * Config irq to disable internal pulls
103 * even though we run in polling mode.
105 pinctrl-names = "default";
106 pinctrl-0 = <&tps65090_irq>;
108 vsys1-supply = <&vbat>;
109 vsys2-supply = <&vbat>;
110 vsys3-supply = <&vbat>;
111 infet1-supply = <&vbat>;
112 infet2-supply = <&vbat>;
113 infet3-supply = <&vbat>;
114 infet4-supply = <&vbat>;
115 infet5-supply = <&vbat>;
116 infet6-supply = <&vbat>;
117 infet7-supply = <&vbat>;
118 vsys-l1-supply = <&vbat>;
119 vsys-l2-supply = <&vbat>;
123 ti,enable-ext-control;
126 ti,enable-ext-control;
129 ti,enable-ext-control;
132 regulator-name = "vcd_led";
133 ti,overcurrent-wait = <3>;
135 tps65090_fet2: fet2 {
136 regulator-name = "video_mid";
138 ti,overcurrent-wait = <3>;
141 regulator-name = "wwan_r";
143 ti,overcurrent-wait = <3>;
146 regulator-name = "sdcard";
147 ti,overcurrent-wait = <3>;
150 regulator-name = "camout";
152 ti,overcurrent-wait = <3>;
155 regulator-name = "lcd_vdd";
156 ti,overcurrent-wait = <3>;
158 tps65090_fet7: fet7 {
159 regulator-name = "video_mid_1a";
161 ti,overcurrent-wait = <3>;
170 compatible = "ti,tps65090-charger";
177 samsung,i2s-controller = <&i2s0>;
180 usb3_vbus_reg: regulator-usb3 {
181 compatible = "regulator-fixed";
182 regulator-name = "P5.0V_USB3CON";
183 regulator-min-microvolt = <5000000>;
184 regulator-max-microvolt = <5000000>;
185 gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&usb3_vbus_en>;
193 compatible = "samsung,clock-xxti";
194 clock-frequency = <24000000>;
198 backlight: backlight {
199 compatible = "pwm-backlight";
200 pwms = <&pwm 0 1000000 0>;
201 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
202 default-brightness-level = <7>;
203 enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
204 power-supply = <&fet1>;
205 pinctrl-0 = <&pwm0_out>;
206 pinctrl-names = "default";
210 compatible = "auo,b116xw03";
211 power-supply = <&fet6>;
212 backlight = <&backlight>;
216 remote-endpoint = <&bridge_out>;
221 mmc3_pwrseq: mmc3_pwrseq {
222 compatible = "mmc-pwrseq-simple";
223 reset-gpios = <&gpx0 2 GPIO_ACTIVE_LOW>, /* WIFI_RSTn */
224 <&gpx0 1 GPIO_ACTIVE_LOW>; /* WIFI_EN */
225 clocks = <&max77686 MAX77686_CLK_PMIC>;
226 clock-names = "ext_clock";
231 cpu0-supply = <&buck2_reg>;
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 remote-endpoint = <&bridge_in>;
256 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
265 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
266 pinctrl-names = "default";
267 pinctrl-0 = <&hdmi_hpd_irq>;
270 hdmi-en-supply = <&tps65090_fet7>;
271 vdd-supply = <&ldo8_reg>;
272 vdd_osc-supply = <&ldo10_reg>;
273 vdd_pll-supply = <&ldo8_reg>;
278 samsung,i2c-sda-delay = <100>;
279 samsung,i2c-max-bus-freq = <378000>;
281 max77686: max77686@09 {
282 compatible = "maxim,max77686";
283 interrupt-parent = <&gpx3>;
284 interrupts = <2 IRQ_TYPE_NONE>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&max77686_irq>;
293 regulator-name = "P1.0V_LDO_OUT1";
294 regulator-min-microvolt = <1000000>;
295 regulator-max-microvolt = <1000000>;
300 regulator-name = "P1.8V_LDO_OUT2";
301 regulator-min-microvolt = <1800000>;
302 regulator-max-microvolt = <1800000>;
307 regulator-name = "P1.8V_LDO_OUT3";
308 regulator-min-microvolt = <1800000>;
309 regulator-max-microvolt = <1800000>;
314 regulator-name = "P1.1V_LDO_OUT7";
315 regulator-min-microvolt = <1100000>;
316 regulator-max-microvolt = <1100000>;
321 regulator-name = "P1.0V_LDO_OUT8";
322 regulator-min-microvolt = <1000000>;
323 regulator-max-microvolt = <1000000>;
328 regulator-name = "P1.8V_LDO_OUT10";
329 regulator-min-microvolt = <1800000>;
330 regulator-max-microvolt = <1800000>;
335 regulator-name = "P3.0V_LDO_OUT12";
336 regulator-min-microvolt = <3000000>;
337 regulator-max-microvolt = <3000000>;
342 regulator-name = "P1.8V_LDO_OUT14";
343 regulator-min-microvolt = <1800000>;
344 regulator-max-microvolt = <1800000>;
349 regulator-name = "P1.0V_LDO_OUT15";
350 regulator-min-microvolt = <1000000>;
351 regulator-max-microvolt = <1000000>;
356 regulator-name = "P1.8V_LDO_OUT16";
357 regulator-min-microvolt = <1800000>;
358 regulator-max-microvolt = <1800000>;
363 regulator-name = "vdd_mif";
364 regulator-min-microvolt = <950000>;
365 regulator-max-microvolt = <1300000>;
371 regulator-name = "vdd_arm";
372 regulator-min-microvolt = <850000>;
373 regulator-max-microvolt = <1350000>;
379 regulator-name = "vdd_int";
380 regulator-min-microvolt = <900000>;
381 regulator-max-microvolt = <1200000>;
387 regulator-name = "vdd_g3d";
388 regulator-min-microvolt = <850000>;
389 regulator-max-microvolt = <1300000>;
395 regulator-name = "P1.8V_BUCK_OUT5";
396 regulator-min-microvolt = <1800000>;
397 regulator-max-microvolt = <1800000>;
403 regulator-name = "P1.35V_BUCK_OUT6";
404 regulator-min-microvolt = <1350000>;
405 regulator-max-microvolt = <1350000>;
410 regulator-name = "P2.0V_BUCK_OUT7";
411 regulator-min-microvolt = <2000000>;
412 regulator-max-microvolt = <2000000>;
417 regulator-name = "P2.85V_BUCK_OUT8";
418 regulator-min-microvolt = <2850000>;
419 regulator-max-microvolt = <2850000>;
428 samsung,i2c-sda-delay = <100>;
429 samsung,i2c-max-bus-freq = <378000>;
433 compatible = "cypress,cyapa";
434 interrupts = <2 IRQ_TYPE_NONE>;
435 interrupt-parent = <&gpx1>;
441 * Disabled pullups since external part has its own pullups and
442 * double-pulling gets us out of spec in some cases.
445 samsung,pin-pud = <0>;
450 samsung,i2c-sda-delay = <100>;
451 samsung,i2c-max-bus-freq = <66000>;
454 compatible = "samsung,exynos4210-hdmiddc";
461 samsung,i2c-sda-delay = <100>;
462 samsung,i2c-max-bus-freq = <66000>;
467 samsung,i2c-sda-delay = <100>;
468 samsung,i2c-max-bus-freq = <66000>;
473 samsung,i2c-sda-delay = <100>;
474 samsung,i2c-max-bus-freq = <66000>;
479 samsung,i2c-sda-delay = <100>;
480 samsung,i2c-max-bus-freq = <66000>;
482 ptn3460: lvds-bridge@20 {
483 compatible = "nxp,ptn3460";
485 powerdown-gpios = <&gpy2 5 GPIO_ACTIVE_HIGH>;
486 reset-gpios = <&gpx1 5 GPIO_ACTIVE_HIGH>;
487 edid-emulation = <5>;
491 bridge_out: endpoint {
492 remote-endpoint = <&panel_in>;
497 bridge_in: endpoint {
498 remote-endpoint = <&dp_out>;
507 samsung,i2c-sda-delay = <100>;
508 samsung,i2c-max-bus-freq = <378000>;
510 hdmiphy: hdmiphy@38 {
511 compatible = "samsung,exynos4212-hdmiphy";
524 card-detect-delay = <200>;
525 samsung,dw-mshc-ciu-div = <3>;
526 samsung,dw-mshc-sdr-timing = <2 3>;
527 samsung,dw-mshc-ddr-timing = <1 2>;
528 pinctrl-names = "default";
529 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
537 card-detect-delay = <200>;
538 samsung,dw-mshc-ciu-div = <3>;
539 samsung,dw-mshc-sdr-timing = <2 3>;
540 samsung,dw-mshc-ddr-timing = <1 2>;
541 pinctrl-names = "default";
542 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
544 wp-gpios = <&gpc2 1 GPIO_ACTIVE_HIGH>;
549 * On Snow we've got SIP WiFi and so can keep drive strengths low to
557 keep-power-in-suspend;
558 card-detect-delay = <200>;
559 samsung,dw-mshc-ciu-div = <3>;
560 samsung,dw-mshc-sdr-timing = <2 3>;
561 samsung,dw-mshc-ddr-timing = <1 2>;
562 pinctrl-names = "default";
563 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4 &wifi_en &wifi_rst>;
566 mmc-pwrseq = <&mmc3_pwrseq>;
571 samsung,pins = "gpx0-1";
572 samsung,pin-function = <1>;
573 samsung,pin-pud = <0>;
574 samsung,pin-drv = <0>;
578 samsung,pins = "gpx0-2";
579 samsung,pin-function = <1>;
580 samsung,pin-pud = <0>;
581 samsung,pin-drv = <0>;
584 power_key_irq: power-key-irq {
585 samsung,pins = "gpx1-3";
586 samsung,pin-function = <0xf>;
587 samsung,pin-pud = <0>;
588 samsung,pin-drv = <0>;
592 samsung,pins = "gpx1-6";
593 samsung,pin-function = <0>;
594 samsung,pin-pud = <0>;
595 samsung,pin-drv = <0>;
598 tps65090_irq: tps65090-irq {
599 samsung,pins = "gpx2-6";
600 samsung,pin-function = <0>;
601 samsung,pin-pud = <0>;
602 samsung,pin-drv = <0>;
605 usb3_vbus_en: usb3-vbus-en {
606 samsung,pins = "gpx2-7";
607 samsung,pin-function = <1>;
608 samsung,pin-pud = <0>;
609 samsung,pin-drv = <0>;
612 max77686_irq: max77686-irq {
613 samsung,pins = "gpx3-2";
614 samsung,pin-function = <0>;
615 samsung,pin-pud = <0>;
616 samsung,pin-drv = <0>;
620 samsung,pins = "gpx3-5";
621 samsung,pin-function = <0xf>;
622 samsung,pin-pud = <0>;
623 samsung,pin-drv = <0>;
626 hdmi_hpd_irq: hdmi-hpd-irq {
627 samsung,pins = "gpx3-7";
628 samsung,pin-function = <0>;
629 samsung,pin-pud = <1>;
630 samsung,pin-drv = <0>;
635 arb_their_claim: arb-their-claim {
636 samsung,pins = "gpe0-4";
637 samsung,pin-function = <0>;
638 samsung,pin-pud = <3>;
639 samsung,pin-drv = <0>;
642 arb_our_claim: arb-our-claim {
643 samsung,pins = "gpf0-3";
644 samsung,pin-function = <1>;
645 samsung,pin-pud = <0>;
646 samsung,pin-drv = <0>;
652 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
653 clock-names = "rtc", "rtc_src";
657 samsung,pin-drv = <0>;
661 samsung,pin-drv = <0>;
665 samsung,pin-pud = <3>;
666 samsung,pin-drv = <0>;
671 samsung,spi-src-clk = <0>;
673 cs-gpios = <&gpa2 5 GPIO_ACTIVE_HIGH>;
681 vbus-supply = <&usb3_vbus_reg>;
684 #include "cros-ec-keyboard.dtsi"