2 * Google Spring board device tree source
4 * Copyright (c) 2013 Google, Inc
5 * Copyright (c) 2014 SUSE LINUX Products GmbH
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 Spring";
20 compatible = "google,spring", "samsung,exynos5250", "samsung,exynos5";
23 reg = <0x40000000 0x80000000>;
27 bootargs = "console=tty1";
28 stdout-path = "serial3:115200n8";
32 compatible = "gpio-keys";
33 pinctrl-names = "default";
34 pinctrl-0 = <&power_key_irq>, <&lid_irq>;
38 gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_POWER>;
45 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
46 linux,input-type = <5>; /* EV_SW */
47 linux,code = <0>; /* SW_LID */
48 debounce-interval = <1>;
54 compatible = "smsc,usb3503a";
55 reset-gpios = <&gpe1 0 GPIO_ACTIVE_LOW>;
56 pinctrl-names = "default";
57 pinctrl-0 = <&hsic_reset>;
62 compatible = "samsung,clock-xxti";
63 clock-frequency = <24000000>;
69 cpu0-supply = <&buck2_reg>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&dp_hpd_gpio>;
76 samsung,color-space = <0>;
77 samsung,dynamic-range = <0>;
78 samsung,ycbcr-coeff = <0>;
79 samsung,color-depth = <1>;
80 samsung,link-rate = <0x0a>;
81 samsung,lane-count = <1>;
82 samsung,hpd-gpio = <&gpc3 0 GPIO_ACTIVE_HIGH>;
86 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
95 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
96 pinctrl-names = "default";
97 pinctrl-0 = <&hdmi_hpd_irq>;
100 hdmi-en-supply = <&ldo8_reg>;
101 vdd-supply = <&ldo8_reg>;
102 vdd_osc-supply = <&ldo10_reg>;
103 vdd_pll-supply = <&ldo8_reg>;
108 samsung,i2c-sda-delay = <100>;
109 samsung,i2c-max-bus-freq = <378000>;
112 compatible = "samsung,s5m8767-pmic";
114 interrupt-parent = <&gpx3>;
115 interrupts = <2 IRQ_TYPE_NONE>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
120 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
121 <&gpd1 1 GPIO_ACTIVE_LOW>, /* DVS2 */
122 <&gpd1 2 GPIO_ACTIVE_LOW>; /* DVS3 */
124 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
125 <&gpx2 4 GPIO_ACTIVE_LOW>, /* SET2 */
126 <&gpx2 5 GPIO_ACTIVE_LOW>; /* SET3 */
129 * The following arrays of DVS voltages are not used, since we are
130 * not using GPIOs to control PMIC bucks, but they must be defined
131 * to please the driver.
133 s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
134 <1250000>, <1200000>,
135 <1150000>, <1100000>,
138 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
139 <1100000>, <1100000>,
140 <1000000>, <1000000>,
141 <1000000>, <1000000>;
143 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
144 <1200000>, <1200000>,
145 <1200000>, <1200000>,
146 <1200000>, <1200000>;
149 compatible = "samsung,s5m8767-clk";
151 clock-output-names = "en32khz_ap",
158 regulator-name = "P1.0V_LDO_OUT4";
159 regulator-min-microvolt = <1000000>;
160 regulator-max-microvolt = <1000000>;
166 regulator-name = "P1.0V_LDO_OUT5";
167 regulator-min-microvolt = <1000000>;
168 regulator-max-microvolt = <1000000>;
174 regulator-name = "vdd_mydp";
175 regulator-min-microvolt = <1000000>;
176 regulator-max-microvolt = <1000000>;
182 regulator-name = "P1.1V_LDO_OUT7";
183 regulator-min-microvolt = <1100000>;
184 regulator-max-microvolt = <1100000>;
190 regulator-name = "P1.0V_LDO_OUT8";
191 regulator-min-microvolt = <1000000>;
192 regulator-max-microvolt = <1000000>;
198 regulator-name = "P1.8V_LDO_OUT10";
199 regulator-min-microvolt = <1800000>;
200 regulator-max-microvolt = <1800000>;
206 regulator-name = "P1.8V_LDO_OUT11";
207 regulator-min-microvolt = <1800000>;
208 regulator-max-microvolt = <1800000>;
214 regulator-name = "P3.0V_LDO_OUT12";
215 regulator-min-microvolt = <3000000>;
216 regulator-max-microvolt = <3000000>;
222 regulator-name = "P1.8V_LDO_OUT13";
223 regulator-min-microvolt = <1800000>;
224 regulator-max-microvolt = <1800000>;
230 regulator-name = "P1.8V_LDO_OUT14";
231 regulator-min-microvolt = <1800000>;
232 regulator-max-microvolt = <1800000>;
238 regulator-name = "P1.0V_LDO_OUT15";
239 regulator-min-microvolt = <1000000>;
240 regulator-max-microvolt = <1000000>;
246 regulator-name = "P1.8V_LDO_OUT16";
247 regulator-min-microvolt = <1800000>;
248 regulator-max-microvolt = <1800000>;
254 regulator-name = "P2.8V_LDO_OUT17";
255 regulator-min-microvolt = <2800000>;
256 regulator-max-microvolt = <2800000>;
262 regulator-name = "vdd_bridge";
263 regulator-min-microvolt = <1200000>;
264 regulator-max-microvolt = <1200000>;
270 regulator-name = "vdd_mif";
271 regulator-min-microvolt = <950000>;
272 regulator-max-microvolt = <1300000>;
279 regulator-name = "vdd_arm";
280 regulator-min-microvolt = <850000>;
281 regulator-max-microvolt = <1350000>;
288 regulator-name = "vdd_int";
289 regulator-min-microvolt = <900000>;
290 regulator-max-microvolt = <1200000>;
297 regulator-name = "vdd_g3d";
298 regulator-min-microvolt = <850000>;
299 regulator-max-microvolt = <1300000>;
305 regulator-name = "P1.8V_BUCK_OUT5";
306 regulator-min-microvolt = <1800000>;
307 regulator-max-microvolt = <1800000>;
314 regulator-name = "P1.2V_BUCK_OUT6";
315 regulator-min-microvolt = <1200000>;
316 regulator-max-microvolt = <1200000>;
323 regulator-name = "vdd_ummc";
324 regulator-min-microvolt = <950000>;
325 regulator-max-microvolt = <3000000>;
336 samsung,i2c-sda-delay = <100>;
337 samsung,i2c-max-bus-freq = <378000>;
340 compatible = "atmel,maxtouch";
342 interrupt-parent = <&gpx1>;
343 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
344 pinctrl-names = "default";
345 pinctrl-0 = <&trackpad_irq>;
346 linux,gpio-keymap = <KEY_RESERVED
357 * Disabled pullups since external part has its own pullups and
358 * double-pulling gets us out of spec in some cases.
361 samsung,pin-pud = <0>;
366 samsung,i2c-sda-delay = <100>;
367 samsung,i2c-max-bus-freq = <66000>;
370 compatible = "samsung,exynos4210-hdmiddc";
377 samsung,i2c-sda-delay = <100>;
378 samsung,i2c-max-bus-freq = <66000>;
383 samsung,i2c-sda-delay = <100>;
384 samsung,i2c-max-bus-freq = <66000>;
386 cros_ec: embedded-controller {
387 compatible = "google,cros-ec-i2c";
389 interrupts = <6 IRQ_TYPE_NONE>;
390 interrupt-parent = <&gpx1>;
392 pinctrl-names = "default";
393 pinctrl-0 = <&ec_irq>;
399 samsung,i2c-sda-delay = <100>;
400 samsung,i2c-max-bus-freq = <66000>;
405 samsung,i2c-sda-delay = <100>;
406 samsung,i2c-max-bus-freq = <66000>;
408 temperature-sensor@4c {
409 compatible = "gmt,g781";
416 samsung,i2c-sda-delay = <100>;
417 samsung,i2c-max-bus-freq = <378000>;
419 hdmiphy: hdmiphy@38 {
420 compatible = "samsung,exynos4212-hdmiphy";
430 samsung,mfc-r = <0x43000000 0x800000>;
431 samsung,mfc-l = <0x51000000 0x800000>;
438 card-detect-delay = <200>;
439 samsung,dw-mshc-ciu-div = <3>;
440 samsung,dw-mshc-sdr-timing = <2 3>;
441 samsung,dw-mshc-ddr-timing = <1 2>;
442 pinctrl-names = "default";
443 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
449 * On Spring we've got SIP WiFi and so can keep drive strengths low to
456 card-detect-delay = <200>;
457 samsung,dw-mshc-ciu-div = <3>;
458 samsung,dw-mshc-sdr-timing = <2 3>;
459 samsung,dw-mshc-ddr-timing = <1 2>;
460 pinctrl-names = "default";
461 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus4>;
467 s5m8767_dvs: s5m8767-dvs {
468 samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2";
469 samsung,pin-function = <0>;
470 samsung,pin-pud = <1>;
471 samsung,pin-drv = <0>;
474 dp_hpd_gpio: dp-hpd-gpio {
475 samsung,pins = "gpc3-0";
476 samsung,pin-function = <0>;
477 samsung,pin-pud = <3>;
478 samsung,pin-drv = <0>;
481 trackpad_irq: trackpad-irq {
482 samsung,pins = "gpx1-2";
483 samsung,pin-function = <0xf>;
484 samsung,pin-pud = <0>;
485 samsung,pin-drv = <0>;
488 power_key_irq: power-key-irq {
489 samsung,pins = "gpx1-3";
490 samsung,pin-function = <0xf>;
491 samsung,pin-pud = <0>;
492 samsung,pin-drv = <0>;
496 samsung,pins = "gpx1-6";
497 samsung,pin-function = <0>;
498 samsung,pin-pud = <0>;
499 samsung,pin-drv = <0>;
502 s5m8767_ds: s5m8767-ds {
503 samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
504 samsung,pin-function = <0>;
505 samsung,pin-pud = <1>;
506 samsung,pin-drv = <0>;
509 s5m8767_irq: s5m8767-irq {
510 samsung,pins = "gpx3-2";
511 samsung,pin-function = <0>;
512 samsung,pin-pud = <0>;
513 samsung,pin-drv = <0>;
517 samsung,pins = "gpx3-5";
518 samsung,pin-function = <0xf>;
519 samsung,pin-pud = <0>;
520 samsung,pin-drv = <0>;
523 hdmi_hpd_irq: hdmi-hpd-irq {
524 samsung,pins = "gpx3-7";
525 samsung,pin-function = <0>;
526 samsung,pin-pud = <1>;
527 samsung,pin-drv = <0>;
532 hsic_reset: hsic-reset {
533 samsung,pins = "gpe1-0";
534 samsung,pin-function = <1>;
535 samsung,pin-pud = <0>;
536 samsung,pin-drv = <0>;
541 samsung,pin-drv = <0>;
545 samsung,pin-drv = <0>;
549 samsung,pin-drv = <0>;
553 samsung,pin-pud = <3>;
554 samsung,pin-drv = <0>;
559 samsung,spi-src-clk = <0>;
563 #include "cros-ec-keyboard.dtsi"