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,i2s-controller = <&i2s0>;
355 samsung,audio-codec = <&max98095>;
358 usb3_vbus_reg: regulator-usb3 {
359 compatible = "regulator-fixed";
360 regulator-name = "P5.0V_USB3CON";
361 regulator-min-microvolt = <5000000>;
362 regulator-max-microvolt = <5000000>;
364 pinctrl-names = "default";
365 pinctrl-0 = <&usb3_vbus_en>;
370 vbus-supply = <&usb3_vbus_reg>;
374 samsung,vbus-gpio = <&gpx1 1 0>;
379 compatible = "samsung,clock-xxti";
380 clock-frequency = <24000000>;
385 hdmi-en-supply = <&tps65090_fet7>;
386 vdd-supply = <&ldo8_reg>;
387 vdd_osc-supply = <&ldo10_reg>;
388 vdd_pll-supply = <&ldo8_reg>;
392 compatible = "pwm-backlight";
393 pwms = <&pwm 0 1000000 0>;
394 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
395 default-brightness-level = <7>;
396 pinctrl-0 = <&pwm0_out>;
397 pinctrl-names = "default";
405 dp-controller@145B0000 {
407 pinctrl-names = "default";
408 pinctrl-0 = <&dp_hpd>;
409 samsung,color-space = <0>;
410 samsung,dynamic-range = <0>;
411 samsung,ycbcr-coeff = <0>;
412 samsung,color-depth = <1>;
413 samsung,link-rate = <0x0a>;
414 samsung,lane-count = <2>;
415 samsung,hpd-gpio = <&gpx0 7 0>;
418 native-mode = <&timing1>;
421 clock-frequency = <70589280>;