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 0xb0000>;
93 type = "blob boot,dtb";
99 compatible = "i2c-arb-gpio-challenge";
100 #address-cells = <1>;
103 i2c-parent = <&{/i2c@12CA0000}>;
105 our-claim-gpio = <&gpf0 3 GPIO_ACTIVE_LOW>;
106 their-claim-gpios = <&gpe0 4 GPIO_ACTIVE_LOW>;
107 slew-delay-us = <10>;
108 wait-retry-us = <3000>;
109 wait-free-us = <50000>;
111 /* Use ID 104 as a hint that we're on physical bus 4 */
114 #address-cells = <1>;
117 battery: sbs-battery@b {
118 compatible = "sbs,sbs-battery";
120 sbs,poll-retry-count = <1>;
123 cros_ec: embedded-controller {
124 compatible = "google,cros-ec-i2c";
126 interrupts = <6 IRQ_TYPE_NONE>;
127 interrupt-parent = <&gpx1>;
129 i2c-max-frequency = <100000>;
130 u-boot,i2c-offset-len = <0>;
131 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>;
135 compatible = "ti,tps65090";
140 ti,enable-ext-control;
143 ti,enable-ext-control;
146 ti,enable-ext-control;
149 regulator-name = "vcd_led";
150 ti,overcurrent-wait = <3>;
152 tps65090_fet2: fet2 {
153 regulator-name = "video_mid";
155 ti,overcurrent-wait = <3>;
158 regulator-name = "wwan_r";
160 ti,overcurrent-wait = <3>;
163 regulator-name = "sdcard";
164 ti,overcurrent-wait = <3>;
167 regulator-name = "camout";
169 ti,overcurrent-wait = <3>;
172 regulator-name = "lcd_vdd";
173 ti,overcurrent-wait = <3>;
175 tps65090_fet7: fet7 {
176 regulator-name = "video_mid_1a";
178 ti,overcurrent-wait = <3>;
187 compatible = "ti,tps65090-charger";
194 ptn3460: lvds-bridge@20 {
195 compatible = "nxp,ptn3460";
197 sleep-gpios = <&gpy2 5 GPIO_ACTIVE_LOW>;
198 reset-gpios = <&gpx1 5 GPIO_ACTIVE_LOW>;
199 hotplug-gpios = <&gpx0 7 GPIO_ACTIVE_HIGH>;
200 edid-emulation = <5>;
204 bridge_out: endpoint {
205 remote-endpoint = <&panel_in>;
210 bridge_in: endpoint {
211 remote-endpoint = <&dp_out>;
219 compatible = "maxim,max98095-codec";
224 clock-frequency = <100000>;
227 u-boot,i2c-offset-len = <0>;
228 compatible = "infineon,slb9635tt";
233 spi-max-frequency = <50000000>;
234 firmware_storage_spi: flash@0 {
235 compatible = "spi-flash";
240 backlight: backlight {
241 compatible = "pwm-backlight";
242 pwms = <&pwm 0 1000000 0>;
243 brightness-levels = <0 100 500 1000 1500 2000 2500 2800>;
244 default-brightness-level = <7>;
245 enable-gpios = <&gpx3 0 GPIO_ACTIVE_HIGH>;
246 power-supply = <&fet1>;
250 compatible = "auo,b116xw03";
251 power-supply = <&fet6>;
252 backlight = <&backlight>;
256 remote-endpoint = <&bridge_out>;
262 spi-max-frequency = <1000000>;
263 spi-deactivate-delay = <100>;
265 /* Snow did support SPI but the released version used I2C */
266 embedded-controller {
267 compatible = "google,cros-ec-i2c";
269 spi-max-frequency = <5000000>;
270 ec-interrupt = <&gpx1 6 GPIO_ACTIVE_LOW>;
271 optimise-flash-write;
277 samsung,codec-type = "max98095";
278 codec-enable-gpio = <&gpx1 7 GPIO_ACTIVE_HIGH>;
288 compatible = "maxim,max77686";
293 samsung,bus-width = <8>;
294 samsung,timing = <1 3 3>;
295 samsung,removable = <0>;
303 samsung,bus-width = <4>;
304 samsung,timing = <1 2 3>;
305 samsung,removable = <1>;
313 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
318 samsung,vbus-gpio = <&gpx2 7 GPIO_ACTIVE_HIGH>;
322 samsung,min-temp = <25>;
323 samsung,max-temp = <125>;
324 samsung,start-warning = <95>;
325 samsung,start-tripping = <105>;
326 samsung,hw-tripping = <110>;
327 samsung,efuse-min-value = <40>;
328 samsung,efuse-value = <55>;
329 samsung,efuse-max-value = <100>;
330 samsung,slope = <274761730>;
331 samsung,dc-value = <25>;
335 samsung,vl-freq = <60>;
336 samsung,vl-col = <1366>;
337 samsung,vl-row = <768>;
338 samsung,vl-width = <1366>;
339 samsung,vl-height = <768>;
346 samsung,vl-bpix = <4>;
348 samsung,vl-hspw = <32>;
349 samsung,vl-hbpd = <80>;
350 samsung,vl-hfpd = <48>;
351 samsung,vl-vspw = <5>;
352 samsung,vl-vbpd = <14>;
353 samsung,vl-vfpd = <3>;
354 samsung,vl-cmd-allow-len = <0xf>;
357 samsung,interface-mode = <1>;
358 samsung,dp-enabled = <1>;
359 samsung,dual-lcd-enabled = <0>;
363 samsung,lt-status = <0>;
365 samsung,master-mode = <0>;
366 samsung,bist-mode = <0>;
367 samsung,bist-pattern = <0>;
368 samsung,h-sync-polarity = <0>;
369 samsung,v-sync-polarity = <0>;
370 samsung,interlaced = <0>;
371 samsung,color-space = <0>;
372 samsung,dynamic-range = <0>;
373 samsung,ycbcr-coeff = <0>;
374 samsung,color-depth = <1>;
375 samsung,hpd-gpio = <&gpx0 7 GPIO_ACTIVE_HIGH>;
380 remote-endpoint = <&bridge_in>;
390 samsung,i2c-sda-delay = <100>;
391 samsung,i2c-max-bus-freq = <378000>;
393 max77686: max77686@09 {
394 compatible = "maxim,max77686";
395 interrupt-parent = <&gpx3>;
396 interrupts = <2 IRQ_TYPE_NONE>;
403 regulator-name = "P1.0V_LDO_OUT1";
404 regulator-min-microvolt = <1000000>;
405 regulator-max-microvolt = <1000000>;
410 regulator-name = "P1.8V_LDO_OUT2";
411 regulator-min-microvolt = <1800000>;
412 regulator-max-microvolt = <1800000>;
417 regulator-name = "P1.8V_LDO_OUT3";
418 regulator-min-microvolt = <1800000>;
419 regulator-max-microvolt = <1800000>;
424 regulator-name = "P1.1V_LDO_OUT7";
425 regulator-min-microvolt = <1100000>;
426 regulator-max-microvolt = <1100000>;
431 regulator-name = "P1.0V_LDO_OUT8";
432 regulator-min-microvolt = <1000000>;
433 regulator-max-microvolt = <1000000>;
438 regulator-name = "P1.8V_LDO_OUT10";
439 regulator-min-microvolt = <1800000>;
440 regulator-max-microvolt = <1800000>;
445 regulator-name = "P3.0V_LDO_OUT12";
446 regulator-min-microvolt = <3000000>;
447 regulator-max-microvolt = <3000000>;
452 regulator-name = "P1.8V_LDO_OUT14";
453 regulator-min-microvolt = <1800000>;
454 regulator-max-microvolt = <1800000>;
459 regulator-name = "P1.0V_LDO_OUT15";
460 regulator-min-microvolt = <1000000>;
461 regulator-max-microvolt = <1000000>;
466 regulator-name = "P1.8V_LDO_OUT16";
467 regulator-min-microvolt = <1800000>;
468 regulator-max-microvolt = <1800000>;
473 regulator-name = "vdd_mydp";
474 regulator-min-microvolt = <1200000>;
475 regulator-max-microvolt = <1200000>;
479 regulator-name = "vdd_mif";
480 regulator-min-microvolt = <950000>;
481 regulator-max-microvolt = <1300000>;
487 regulator-name = "vdd_arm";
488 regulator-min-microvolt = <850000>;
489 regulator-max-microvolt = <1350000>;
495 regulator-name = "vdd_int";
496 regulator-min-microvolt = <900000>;
497 regulator-max-microvolt = <1200000>;
503 regulator-name = "vdd_g3d";
504 regulator-min-microvolt = <850000>;
505 regulator-max-microvolt = <1300000>;
511 regulator-name = "P1.8V_BUCK_OUT5";
512 regulator-min-microvolt = <1800000>;
513 regulator-max-microvolt = <1800000>;
519 regulator-name = "P1.35V_BUCK_OUT6";
520 regulator-min-microvolt = <1350000>;
521 regulator-max-microvolt = <1350000>;
526 regulator-name = "P2.0V_BUCK_OUT7";
527 regulator-min-microvolt = <2000000>;
528 regulator-max-microvolt = <2000000>;
533 regulator-name = "P2.85V_BUCK_OUT8";
534 regulator-min-microvolt = <2850000>;
535 regulator-max-microvolt = <2850000>;
542 #include "cros-ec-keyboard.dtsi"