2 * SAMSUNG Snow board device tree source
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
13 #include <dt-bindings/gpio/gpio.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";
23 i2c0 = "/i2c@12C60000";
24 i2c1 = "/i2c@12C70000";
25 i2c2 = "/i2c@12C80000";
26 i2c3 = "/i2c@12C90000";
27 i2c4 = "/i2c@12CA0000";
29 i2c5 = "/i2c@12CB0000";
30 i2c6 = "/i2c@12CC0000";
31 i2c7 = "/i2c@12CD0000";
32 spi0 = "/spi@12d20000";
33 spi1 = "/spi@12d30000";
34 spi2 = "/spi@12d40000";
35 spi3 = "/spi@131a0000";
36 spi4 = "/spi@131b0000";
37 mmc0 = "/mmc@12200000";
38 mmc1 = "/mmc@12210000";
39 mmc2 = "/mmc@12220000";
40 mmc3 = "/mmc@12230000";
41 serial0 = "/serial@12C30000";
42 console = "/serial@12C30000";
43 i2s = "/sound@3830000";
47 reg = <0x40000000 0x80000000>;
51 bootargs = "console=tty1";
52 stdout-path = "serial3:115200n8";
56 reg = <0x02020000 0x60000>;
60 samsung,bl1-offset = <0x1400>;
61 samsung,bl2-offset = <0x3400>;
62 u-boot-memory = "/memory";
63 u-boot-offset = <0x3e00000 0x100000>;
71 label = "bl1 pre-boot";
74 filename = "e5250.nbl1.bin";
75 type = "blob exynos-bl1";
81 reg = <0x2000 0x4000>;
84 type = "blob exynos-bl2 boot,dtb";
85 payload = "/flash/ro-boot";
91 reg = <0x6000 0x9a000>;
93 type = "blob boot,dtb";
100 cros_ec_old: cros-ec@1e {
102 compatible = "google,cros-ec-i2c";
103 i2c-max-frequency = <100000>;
104 u-boot,i2c-offset-len = <0>;
105 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>;
109 compatible = "ti,tps65090";
115 compatible = "i2c-arb-gpio-challenge";
116 #address-cells = <1>;
119 i2c-parent = <&{/i2c@12CA0000}>;
121 our-claim-gpio = <&gpf0 3 GPIO_ACTIVE_LOW>;
122 their-claim-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
123 slew-delay-us = <10>;
124 wait-retry-us = <3000>;
125 wait-free-us = <50000>;
127 /* Use ID 104 as a hint that we're on physical bus 4 */
130 #address-cells = <1>;
133 battery: sbs-battery@b {
134 compatible = "sbs,sbs-battery";
136 sbs,poll-retry-count = <1>;
139 cros_ec: embedded-controller {
140 compatible = "google,cros-ec-i2c";
142 interrupts = <6 IRQ_TYPE_NONE>;
143 interrupt-parent = <&gpx1>;
145 i2c-max-frequency = <100000>;
146 u-boot,i2c-offset-len = <0>;
147 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>;
151 compatible = "ti,tps65090";
156 ti,enable-ext-control;
159 ti,enable-ext-control;
162 ti,enable-ext-control;
165 regulator-name = "vcd_led";
166 ti,overcurrent-wait = <3>;
168 tps65090_fet2: fet2 {
169 regulator-name = "video_mid";
171 ti,overcurrent-wait = <3>;
174 regulator-name = "wwan_r";
176 ti,overcurrent-wait = <3>;
179 regulator-name = "sdcard";
180 ti,overcurrent-wait = <3>;
183 regulator-name = "camout";
185 ti,overcurrent-wait = <3>;
188 regulator-name = "lcd_vdd";
189 ti,overcurrent-wait = <3>;
191 tps65090_fet7: fet7 {
192 regulator-name = "video_mid_1a";
194 ti,overcurrent-wait = <3>;
203 compatible = "ti,tps65090-charger";
210 spi-max-frequency = <50000000>;
211 firmware_storage_spi: flash@0 {
212 compatible = "spi-flash";
218 spi-max-frequency = <1000000>;
219 spi-deactivate-delay = <100>;
221 /* Snow did support SPI but the released version used I2C */
222 embedded-controller {
223 compatible = "google,cros-ec-i2c";
225 spi-max-frequency = <5000000>;
226 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>;
227 optimise-flash-write;
233 samsung,codec-type = "max98095";
234 codec-enable-gpio = <&gpx1 7 GPIO_ACTIVE_HIGH>;
244 compatible = "maxim,max98095-codec";
248 compatible = "nxp,ptn3460";
251 * TODO(sjg@chromium.org): Use GPIOs here
252 * powerdown-gpio = <&gpy2 5 0>;
253 * reset-gpio = <&gpx1 5 0>;
254 * edid-emulation = <5>;
255 * pinctrl-names = "default";
256 * pinctrl-0 = <&ptn3460_gpios>;
264 compatible = "maxim,max77686";
269 samsung,bus-width = <8>;
270 samsung,timing = <1 3 3>;
271 samsung,removable = <0>;
279 samsung,bus-width = <4>;
280 samsung,timing = <1 2 3>;
281 samsung,removable = <1>;
289 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
294 samsung,vbus-gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
298 samsung,min-temp = <25>;
299 samsung,max-temp = <125>;
300 samsung,start-warning = <95>;
301 samsung,start-tripping = <105>;
302 samsung,hw-tripping = <110>;
303 samsung,efuse-min-value = <40>;
304 samsung,efuse-value = <55>;
305 samsung,efuse-max-value = <100>;
306 samsung,slope = <274761730>;
307 samsung,dc-value = <25>;
311 samsung,vl-freq = <60>;
312 samsung,vl-col = <1366>;
313 samsung,vl-row = <768>;
314 samsung,vl-width = <1366>;
315 samsung,vl-height = <768>;
322 samsung,vl-bpix = <4>;
324 samsung,vl-hspw = <32>;
325 samsung,vl-hbpd = <80>;
326 samsung,vl-hfpd = <48>;
327 samsung,vl-vspw = <5>;
328 samsung,vl-vbpd = <14>;
329 samsung,vl-vfpd = <3>;
330 samsung,vl-cmd-allow-len = <0xf>;
333 samsung,interface-mode = <1>;
334 samsung,dp-enabled = <1>;
335 samsung,dual-lcd-enabled = <0>;
339 samsung,lt-status = <0>;
341 samsung,master-mode = <0>;
342 samsung,bist-mode = <0>;
343 samsung,bist-pattern = <0>;
344 samsung,h-sync-polarity = <0>;
345 samsung,v-sync-polarity = <0>;
346 samsung,interlaced = <0>;
347 samsung,color-space = <0>;
348 samsung,dynamic-range = <0>;
349 samsung,ycbcr-coeff = <0>;
350 samsung,color-depth = <1>;
357 samsung,i2c-sda-delay = <100>;
358 samsung,i2c-max-bus-freq = <378000>;
360 max77686: max77686@09 {
361 compatible = "maxim,max77686";
362 interrupt-parent = <&gpx3>;
363 interrupts = <2 IRQ_TYPE_NONE>;
370 regulator-name = "P1.0V_LDO_OUT1";
371 regulator-min-microvolt = <1000000>;
372 regulator-max-microvolt = <1000000>;
377 regulator-name = "P1.8V_LDO_OUT2";
378 regulator-min-microvolt = <1800000>;
379 regulator-max-microvolt = <1800000>;
384 regulator-name = "P1.8V_LDO_OUT3";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
391 regulator-name = "P1.1V_LDO_OUT7";
392 regulator-min-microvolt = <1100000>;
393 regulator-max-microvolt = <1100000>;
398 regulator-name = "P1.0V_LDO_OUT8";
399 regulator-min-microvolt = <1000000>;
400 regulator-max-microvolt = <1000000>;
405 regulator-name = "P1.8V_LDO_OUT10";
406 regulator-min-microvolt = <1800000>;
407 regulator-max-microvolt = <1800000>;
412 regulator-name = "P3.0V_LDO_OUT12";
413 regulator-min-microvolt = <3000000>;
414 regulator-max-microvolt = <3000000>;
419 regulator-name = "P1.8V_LDO_OUT14";
420 regulator-min-microvolt = <1800000>;
421 regulator-max-microvolt = <1800000>;
426 regulator-name = "P1.0V_LDO_OUT15";
427 regulator-min-microvolt = <1000000>;
428 regulator-max-microvolt = <1000000>;
433 regulator-name = "P1.8V_LDO_OUT16";
434 regulator-min-microvolt = <1800000>;
435 regulator-max-microvolt = <1800000>;
440 regulator-name = "vdd_mydp";
441 regulator-min-microvolt = <1200000>;
442 regulator-max-microvolt = <1200000>;
446 regulator-name = "vdd_mif";
447 regulator-min-microvolt = <950000>;
448 regulator-max-microvolt = <1300000>;
454 regulator-name = "vdd_arm";
455 regulator-min-microvolt = <850000>;
456 regulator-max-microvolt = <1350000>;
462 regulator-name = "vdd_int";
463 regulator-min-microvolt = <900000>;
464 regulator-max-microvolt = <1200000>;
470 regulator-name = "vdd_g3d";
471 regulator-min-microvolt = <850000>;
472 regulator-max-microvolt = <1300000>;
478 regulator-name = "P1.8V_BUCK_OUT5";
479 regulator-min-microvolt = <1800000>;
480 regulator-max-microvolt = <1800000>;
486 regulator-name = "P1.35V_BUCK_OUT6";
487 regulator-min-microvolt = <1350000>;
488 regulator-max-microvolt = <1350000>;
493 regulator-name = "P2.0V_BUCK_OUT7";
494 regulator-min-microvolt = <2000000>;
495 regulator-max-microvolt = <2000000>;
500 regulator-name = "P2.85V_BUCK_OUT8";
501 regulator-min-microvolt = <2850000>;
502 regulator-max-microvolt = <2850000>;
509 #include "cros-ec-keyboard.dtsi"