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"
13 #include "exynos5250-cros-common.dtsi"
16 model = "Google Snow";
17 compatible = "google,snow", "samsung,exynos5250", "samsung,exynos5";
29 samsung,pins = "gpx1-6";
30 samsung,pin-function = <0>;
31 samsung,pin-pud = <0>;
32 samsung,pin-drv = <0>;
36 samsung,pin-drv = <0>;
40 samsung,pin-pud = <3>;
41 samsung,pin-drv = <0>;
44 sd3_bus4: sd3-bus-width4 {
45 samsung,pin-drv = <0>;
48 max98095_en: max98095-en {
49 samsung,pins = "gpx1-7";
50 samsung,pin-function = <0>;
51 samsung,pin-pud = <3>;
52 samsung,pin-drv = <0>;
55 tps65090_irq: tps65090-irq {
56 samsung,pins = "gpx2-6";
57 samsung,pin-function = <0>;
58 samsung,pin-pud = <0>;
59 samsung,pin-drv = <0>;
62 usb3_vbus_en: usb3-vbus-en {
63 samsung,pins = "gpx2-7";
64 samsung,pin-function = <1>;
65 samsung,pin-pud = <0>;
66 samsung,pin-drv = <0>;
69 hdmi_hpd_irq: hdmi-hpd-irq {
70 samsung,pins = "gpx3-7";
71 samsung,pin-function = <0>;
72 samsung,pin-pud = <1>;
73 samsung,pin-drv = <0>;
78 arb_their_claim: arb-their-claim {
79 samsung,pins = "gpe0-4";
80 samsung,pin-function = <0>;
81 samsung,pin-pud = <3>;
82 samsung,pin-drv = <0>;
85 arb_our_claim: arb-our-claim {
86 samsung,pins = "gpf0-3";
87 samsung,pin-function = <1>;
88 samsung,pin-pud = <0>;
89 samsung,pin-drv = <0>;
94 compatible = "gpio-keys";
99 linux,input-type = <5>; /* EV_SW */
100 linux,code = <0>; /* SW_LID */
101 debounce-interval = <1>;
106 vbat: vbat-fixed-regulator {
107 compatible = "regulator-fixed";
108 regulator-name = "vbat-supply";
113 compatible = "i2c-arb-gpio-challenge";
114 #address-cells = <1>;
117 i2c-parent = <&{/i2c@12CA0000}>;
119 our-claim-gpio = <&gpf0 3 1>;
120 their-claim-gpios = <&gpe0 4 1>;
121 slew-delay-us = <10>;
122 wait-retry-us = <3000>;
123 wait-free-us = <50000>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&arb_our_claim &arb_their_claim>;
128 /* Use ID 104 as a hint that we're on physical bus 4 */
131 #address-cells = <1>;
134 battery: sbs-battery@b {
135 compatible = "sbs,sbs-battery";
137 sbs,poll-retry-count = <1>;
140 ec: embedded-controller {
141 compatible = "google,cros-ec-i2c";
144 interrupt-parent = <&gpx1>;
145 pinctrl-names = "default";
146 pinctrl-0 = <&ec_irq>;
149 keyboard-controller {
150 compatible = "google,cros-ec-keyb";
151 keypad,num-rows = <8>;
152 keypad,num-columns = <13>;
153 google,needs-ghost-filter;
154 linux,keymap = <0x0001007d /* L_META */
160 0x000a0064 /* R_ALT */
169 0x010b000e /* BKSPACE */
171 0x0200001d /* L_CTRL */
178 0x02070056 /* 102ND */
182 0x03010029 /* GRAVE */
190 0x04000061 /* R_CTRL */
200 0x040b001c /* ENTER */
208 0x0507002a /* L_SHIFT */
211 0x050B0039 /* SPACE */
221 0x060a0038 /* L_ALT */
222 0x060b006c /* DOWN */
223 0x060c006a /* RIGHT */
231 0x07070036 /* R_SHIFT */
235 0x070c0069>; /* LEFT */
240 compatible = "ti,tps65090";
244 * Config irq to disable internal pulls
245 * even though we run in polling mode.
247 pinctrl-names = "default";
248 pinctrl-0 = <&tps65090_irq>;
250 vsys1-supply = <&vbat>;
251 vsys2-supply = <&vbat>;
252 vsys3-supply = <&vbat>;
253 infet1-supply = <&vbat>;
254 infet2-supply = <&vbat>;
255 infet3-supply = <&vbat>;
256 infet4-supply = <&vbat>;
257 infet5-supply = <&vbat>;
258 infet6-supply = <&vbat>;
259 infet7-supply = <&vbat>;
260 vsys-l1-supply = <&vbat>;
261 vsys-l2-supply = <&vbat>;
265 ti,enable-ext-control;
268 ti,enable-ext-control;
271 ti,enable-ext-control;
274 regulator-name = "vcd_led";
275 ti,overcurrent-wait = <3>;
277 tps65090_fet2: fet2 {
278 regulator-name = "video_mid";
280 ti,overcurrent-wait = <3>;
283 regulator-name = "wwan_r";
285 ti,overcurrent-wait = <3>;
288 regulator-name = "sdcard";
289 ti,overcurrent-wait = <3>;
292 regulator-name = "camout";
294 ti,overcurrent-wait = <3>;
297 regulator-name = "lcd_vdd";
298 ti,overcurrent-wait = <3>;
300 tps65090_fet7: fet7 {
301 regulator-name = "video_mid_1a";
303 ti,overcurrent-wait = <3>;
312 compatible = "ti,tps65090-charger";
327 * On Snow we've got SIP WiFi and so can keep drive strengths low to
333 pinctrl-names = "default";
334 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
340 compatible = "maxim,max98095";
342 pinctrl-0 = <&max98095_en>;
343 pinctrl-names = "default";
352 compatible = "google,snow-audio-max98095";
354 samsung,model = "Snow-I2S-MAX98095";
355 samsung,i2s-controller = <&i2s0>;
356 samsung,audio-codec = <&max98095>;
359 usb3_vbus_reg: regulator-usb3 {
360 compatible = "regulator-fixed";
361 regulator-name = "P5.0V_USB3CON";
362 regulator-min-microvolt = <5000000>;
363 regulator-max-microvolt = <5000000>;
365 pinctrl-names = "default";
366 pinctrl-0 = <&usb3_vbus_en>;
371 vbus-supply = <&usb3_vbus_reg>;
375 samsung,vbus-gpio = <&gpx1 1 0>;
380 compatible = "samsung,clock-xxti";
381 clock-frequency = <24000000>;
386 hdmi-en-supply = <&tps65090_fet7>;
387 vdd-supply = <&ldo8_reg>;
388 vdd_osc-supply = <&ldo10_reg>;
389 vdd_pll-supply = <&ldo8_reg>;
393 compatible = "pwm-backlight";
394 pwms = <&pwm 0 1000000 0>;
395 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
396 default-brightness-level = <7>;
397 pinctrl-0 = <&pwm0_out>;
398 pinctrl-names = "default";
406 dp-controller@145B0000 {
408 pinctrl-names = "default";
409 pinctrl-0 = <&dp_hpd>;
410 samsung,color-space = <0>;
411 samsung,dynamic-range = <0>;
412 samsung,ycbcr-coeff = <0>;
413 samsung,color-depth = <1>;
414 samsung,link-rate = <0x0a>;
415 samsung,lane-count = <2>;
416 samsung,hpd-gpio = <&gpx0 7 0>;
419 native-mode = <&timing1>;
422 clock-frequency = <70589280>;
438 compatible = "maxim,max77686";
439 interrupt-parent = <&gpx3>;
441 pinctrl-names = "default";
442 pinctrl-0 = <&max77686_irq>;
449 regulator-name = "P1.0V_LDO_OUT1";
450 regulator-min-microvolt = <1000000>;
451 regulator-max-microvolt = <1000000>;
456 regulator-name = "P1.8V_LDO_OUT2";
457 regulator-min-microvolt = <1800000>;
458 regulator-max-microvolt = <1800000>;
463 regulator-name = "P1.8V_LDO_OUT3";
464 regulator-min-microvolt = <1800000>;
465 regulator-max-microvolt = <1800000>;
470 regulator-name = "P1.1V_LDO_OUT7";
471 regulator-min-microvolt = <1100000>;
472 regulator-max-microvolt = <1100000>;
477 regulator-name = "P1.0V_LDO_OUT8";
478 regulator-min-microvolt = <1000000>;
479 regulator-max-microvolt = <1000000>;
484 regulator-name = "P1.8V_LDO_OUT10";
485 regulator-min-microvolt = <1800000>;
486 regulator-max-microvolt = <1800000>;
491 regulator-name = "P3.0V_LDO_OUT12";
492 regulator-min-microvolt = <3000000>;
493 regulator-max-microvolt = <3000000>;
498 regulator-name = "P1.8V_LDO_OUT14";
499 regulator-min-microvolt = <1800000>;
500 regulator-max-microvolt = <1800000>;
505 regulator-name = "P1.0V_LDO_OUT15";
506 regulator-min-microvolt = <1000000>;
507 regulator-max-microvolt = <1000000>;
512 regulator-name = "P1.8V_LDO_OUT16";
513 regulator-min-microvolt = <1800000>;
514 regulator-max-microvolt = <1800000>;
519 regulator-name = "vdd_mif";
520 regulator-min-microvolt = <950000>;
521 regulator-max-microvolt = <1300000>;
527 regulator-name = "vdd_arm";
528 regulator-min-microvolt = <850000>;
529 regulator-max-microvolt = <1350000>;
535 regulator-name = "vdd_int";
536 regulator-min-microvolt = <900000>;
537 regulator-max-microvolt = <1200000>;
543 regulator-name = "vdd_g3d";
544 regulator-min-microvolt = <850000>;
545 regulator-max-microvolt = <1300000>;
551 regulator-name = "P1.8V_BUCK_OUT5";
552 regulator-min-microvolt = <1800000>;
553 regulator-max-microvolt = <1800000>;
559 regulator-name = "P1.35V_BUCK_OUT6";
560 regulator-min-microvolt = <1350000>;
561 regulator-max-microvolt = <1350000>;
566 regulator-name = "P2.0V_BUCK_OUT7";
567 regulator-min-microvolt = <2000000>;
568 regulator-max-microvolt = <2000000>;
573 regulator-name = "P2.85V_BUCK_OUT8";
574 regulator-min-microvolt = <2850000>;
575 regulator-max-microvolt = <2850000>;
585 compatible = "cypress,cyapa";
587 interrupt-parent = <&gpx1>;
593 max77686_irq: max77686-irq {
594 samsung,pins = "gpx3-2";
595 samsung,pin-function = <0>;
596 samsung,pin-pud = <0>;
597 samsung,pin-drv = <0>;