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 cros_ec: embedded-controller {
141 compatible = "google,cros-ec-i2c";
144 interrupt-parent = <&gpx1>;
145 pinctrl-names = "default";
146 pinctrl-0 = <&ec_irq>;
151 compatible = "ti,tps65090";
155 * Config irq to disable internal pulls
156 * even though we run in polling mode.
158 pinctrl-names = "default";
159 pinctrl-0 = <&tps65090_irq>;
161 vsys1-supply = <&vbat>;
162 vsys2-supply = <&vbat>;
163 vsys3-supply = <&vbat>;
164 infet1-supply = <&vbat>;
165 infet2-supply = <&vbat>;
166 infet3-supply = <&vbat>;
167 infet4-supply = <&vbat>;
168 infet5-supply = <&vbat>;
169 infet6-supply = <&vbat>;
170 infet7-supply = <&vbat>;
171 vsys-l1-supply = <&vbat>;
172 vsys-l2-supply = <&vbat>;
176 ti,enable-ext-control;
179 ti,enable-ext-control;
182 ti,enable-ext-control;
185 regulator-name = "vcd_led";
186 ti,overcurrent-wait = <3>;
188 tps65090_fet2: fet2 {
189 regulator-name = "video_mid";
191 ti,overcurrent-wait = <3>;
194 regulator-name = "wwan_r";
196 ti,overcurrent-wait = <3>;
199 regulator-name = "sdcard";
200 ti,overcurrent-wait = <3>;
203 regulator-name = "camout";
205 ti,overcurrent-wait = <3>;
208 regulator-name = "lcd_vdd";
209 ti,overcurrent-wait = <3>;
211 tps65090_fet7: fet7 {
212 regulator-name = "video_mid_1a";
214 ti,overcurrent-wait = <3>;
223 compatible = "ti,tps65090-charger";
238 * On Snow we've got SIP WiFi and so can keep drive strengths low to
244 pinctrl-names = "default";
245 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
251 compatible = "maxim,max98095";
253 pinctrl-0 = <&max98095_en>;
254 pinctrl-names = "default";
263 compatible = "google,snow-audio-max98095";
265 samsung,model = "Snow-I2S-MAX98095";
266 samsung,i2s-controller = <&i2s0>;
267 samsung,audio-codec = <&max98095>;
270 usb3_vbus_reg: regulator-usb3 {
271 compatible = "regulator-fixed";
272 regulator-name = "P5.0V_USB3CON";
273 regulator-min-microvolt = <5000000>;
274 regulator-max-microvolt = <5000000>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&usb3_vbus_en>;
282 vbus-supply = <&usb3_vbus_reg>;
286 samsung,vbus-gpio = <&gpx1 1 0>;
291 compatible = "samsung,clock-xxti";
292 clock-frequency = <24000000>;
297 hdmi-en-supply = <&tps65090_fet7>;
298 vdd-supply = <&ldo8_reg>;
299 vdd_osc-supply = <&ldo10_reg>;
300 vdd_pll-supply = <&ldo8_reg>;
304 compatible = "pwm-backlight";
305 pwms = <&pwm 0 1000000 0>;
306 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
307 default-brightness-level = <7>;
308 pinctrl-0 = <&pwm0_out>;
309 pinctrl-names = "default";
317 dp-controller@145B0000 {
319 pinctrl-names = "default";
320 pinctrl-0 = <&dp_hpd>;
321 samsung,color-space = <0>;
322 samsung,dynamic-range = <0>;
323 samsung,ycbcr-coeff = <0>;
324 samsung,color-depth = <1>;
325 samsung,link-rate = <0x0a>;
326 samsung,lane-count = <2>;
327 samsung,hpd-gpio = <&gpx0 7 0>;
330 native-mode = <&timing1>;
333 clock-frequency = <70589280>;
347 #include "cros-ec-keyboard.dtsi"