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>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&dp_hpd_gpio>;
72 samsung,color-space = <0>;
73 samsung,dynamic-range = <0>;
74 samsung,ycbcr-coeff = <0>;
75 samsung,color-depth = <1>;
76 samsung,link-rate = <0x0a>;
77 samsung,lane-count = <1>;
78 samsung,hpd-gpio = <&gpc3 0 GPIO_ACTIVE_HIGH>;
82 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
91 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&hdmi_hpd_irq>;
96 hdmi-en-supply = <&ldo8_reg>;
97 vdd-supply = <&ldo8_reg>;
98 vdd_osc-supply = <&ldo10_reg>;
99 vdd_pll-supply = <&ldo8_reg>;
104 samsung,i2c-sda-delay = <100>;
105 samsung,i2c-max-bus-freq = <378000>;
108 compatible = "samsung,s5m8767-pmic";
110 interrupt-parent = <&gpx3>;
111 interrupts = <2 IRQ_TYPE_NONE>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
116 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
117 <&gpd1 1 GPIO_ACTIVE_LOW>, /* DVS2 */
118 <&gpd1 2 GPIO_ACTIVE_LOW>; /* DVS3 */
120 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
121 <&gpx2 4 GPIO_ACTIVE_LOW>, /* SET2 */
122 <&gpx2 5 GPIO_ACTIVE_LOW>; /* SET3 */
125 * The following arrays of DVS voltages are not used, since we are
126 * not using GPIOs to control PMIC bucks, but they must be defined
127 * to please the driver.
129 s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
130 <1250000>, <1200000>,
131 <1150000>, <1100000>,
134 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
135 <1100000>, <1100000>,
136 <1000000>, <1000000>,
137 <1000000>, <1000000>;
139 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
140 <1200000>, <1200000>,
141 <1200000>, <1200000>,
142 <1200000>, <1200000>;
145 compatible = "samsung,s5m8767-clk";
147 clock-output-names = "en32khz_ap",
154 regulator-name = "P1.0V_LDO_OUT4";
155 regulator-min-microvolt = <1000000>;
156 regulator-max-microvolt = <1000000>;
162 regulator-name = "P1.0V_LDO_OUT5";
163 regulator-min-microvolt = <1000000>;
164 regulator-max-microvolt = <1000000>;
170 regulator-name = "vdd_mydp";
171 regulator-min-microvolt = <1000000>;
172 regulator-max-microvolt = <1000000>;
178 regulator-name = "P1.1V_LDO_OUT7";
179 regulator-min-microvolt = <1100000>;
180 regulator-max-microvolt = <1100000>;
186 regulator-name = "P1.0V_LDO_OUT8";
187 regulator-min-microvolt = <1000000>;
188 regulator-max-microvolt = <1000000>;
194 regulator-name = "P1.8V_LDO_OUT10";
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1800000>;
202 regulator-name = "P1.8V_LDO_OUT11";
203 regulator-min-microvolt = <1800000>;
204 regulator-max-microvolt = <1800000>;
210 regulator-name = "P3.0V_LDO_OUT12";
211 regulator-min-microvolt = <3000000>;
212 regulator-max-microvolt = <3000000>;
218 regulator-name = "P1.8V_LDO_OUT13";
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <1800000>;
226 regulator-name = "P1.8V_LDO_OUT14";
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <1800000>;
234 regulator-name = "P1.0V_LDO_OUT15";
235 regulator-min-microvolt = <1000000>;
236 regulator-max-microvolt = <1000000>;
242 regulator-name = "P1.8V_LDO_OUT16";
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <1800000>;
250 regulator-name = "P2.8V_LDO_OUT17";
251 regulator-min-microvolt = <2800000>;
252 regulator-max-microvolt = <2800000>;
258 regulator-name = "vdd_bridge";
259 regulator-min-microvolt = <1200000>;
260 regulator-max-microvolt = <1200000>;
266 regulator-name = "vdd_mif";
267 regulator-min-microvolt = <950000>;
268 regulator-max-microvolt = <1300000>;
275 regulator-name = "vdd_arm";
276 regulator-min-microvolt = <850000>;
277 regulator-max-microvolt = <1350000>;
284 regulator-name = "vdd_int";
285 regulator-min-microvolt = <900000>;
286 regulator-max-microvolt = <1200000>;
293 regulator-name = "vdd_g3d";
294 regulator-min-microvolt = <850000>;
295 regulator-max-microvolt = <1300000>;
301 regulator-name = "P1.8V_BUCK_OUT5";
302 regulator-min-microvolt = <1800000>;
303 regulator-max-microvolt = <1800000>;
310 regulator-name = "P1.2V_BUCK_OUT6";
311 regulator-min-microvolt = <1200000>;
312 regulator-max-microvolt = <1200000>;
319 regulator-name = "vdd_ummc";
320 regulator-min-microvolt = <950000>;
321 regulator-max-microvolt = <3000000>;
332 samsung,i2c-sda-delay = <100>;
333 samsung,i2c-max-bus-freq = <378000>;
336 compatible = "atmel,maxtouch";
338 interrupt-parent = <&gpx1>;
339 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
340 pinctrl-names = "default";
341 pinctrl-0 = <&trackpad_irq>;
342 linux,gpio-keymap = <KEY_RESERVED
353 * Disabled pullups since external part has its own pullups and
354 * double-pulling gets us out of spec in some cases.
357 samsung,pin-pud = <0>;
362 samsung,i2c-sda-delay = <100>;
363 samsung,i2c-max-bus-freq = <66000>;
366 compatible = "samsung,exynos4210-hdmiddc";
373 samsung,i2c-sda-delay = <100>;
374 samsung,i2c-max-bus-freq = <66000>;
379 samsung,i2c-sda-delay = <100>;
380 samsung,i2c-max-bus-freq = <66000>;
382 cros_ec: embedded-controller {
383 compatible = "google,cros-ec-i2c";
385 interrupts = <6 IRQ_TYPE_NONE>;
386 interrupt-parent = <&gpx1>;
388 pinctrl-names = "default";
389 pinctrl-0 = <&ec_irq>;
395 samsung,i2c-sda-delay = <100>;
396 samsung,i2c-max-bus-freq = <66000>;
401 samsung,i2c-sda-delay = <100>;
402 samsung,i2c-max-bus-freq = <66000>;
404 temperature-sensor@4c {
405 compatible = "gmt,g781";
412 samsung,i2c-sda-delay = <100>;
413 samsung,i2c-max-bus-freq = <378000>;
415 hdmiphy: hdmiphy@38 {
416 compatible = "samsung,exynos4212-hdmiphy";
426 samsung,mfc-r = <0x43000000 0x800000>;
427 samsung,mfc-l = <0x51000000 0x800000>;
434 card-detect-delay = <200>;
435 samsung,dw-mshc-ciu-div = <3>;
436 samsung,dw-mshc-sdr-timing = <2 3>;
437 samsung,dw-mshc-ddr-timing = <1 2>;
438 pinctrl-names = "default";
439 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
445 * On Spring we've got SIP WiFi and so can keep drive strengths low to
452 card-detect-delay = <200>;
453 samsung,dw-mshc-ciu-div = <3>;
454 samsung,dw-mshc-sdr-timing = <2 3>;
455 samsung,dw-mshc-ddr-timing = <1 2>;
456 pinctrl-names = "default";
457 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus4>;
463 s5m8767_dvs: s5m8767-dvs {
464 samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2";
465 samsung,pin-function = <0>;
466 samsung,pin-pud = <1>;
467 samsung,pin-drv = <0>;
470 dp_hpd_gpio: dp-hpd-gpio {
471 samsung,pins = "gpc3-0";
472 samsung,pin-function = <0>;
473 samsung,pin-pud = <3>;
474 samsung,pin-drv = <0>;
477 trackpad_irq: trackpad-irq {
478 samsung,pins = "gpx1-2";
479 samsung,pin-function = <0xf>;
480 samsung,pin-pud = <0>;
481 samsung,pin-drv = <0>;
484 power_key_irq: power-key-irq {
485 samsung,pins = "gpx1-3";
486 samsung,pin-function = <0xf>;
487 samsung,pin-pud = <0>;
488 samsung,pin-drv = <0>;
492 samsung,pins = "gpx1-6";
493 samsung,pin-function = <0>;
494 samsung,pin-pud = <0>;
495 samsung,pin-drv = <0>;
498 s5m8767_ds: s5m8767-ds {
499 samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
500 samsung,pin-function = <0>;
501 samsung,pin-pud = <1>;
502 samsung,pin-drv = <0>;
505 s5m8767_irq: s5m8767-irq {
506 samsung,pins = "gpx3-2";
507 samsung,pin-function = <0>;
508 samsung,pin-pud = <0>;
509 samsung,pin-drv = <0>;
513 samsung,pins = "gpx3-5";
514 samsung,pin-function = <0xf>;
515 samsung,pin-pud = <0>;
516 samsung,pin-drv = <0>;
519 hdmi_hpd_irq: hdmi-hpd-irq {
520 samsung,pins = "gpx3-7";
521 samsung,pin-function = <0>;
522 samsung,pin-pud = <1>;
523 samsung,pin-drv = <0>;
528 hsic_reset: hsic-reset {
529 samsung,pins = "gpe1-0";
530 samsung,pin-function = <1>;
531 samsung,pin-pud = <0>;
532 samsung,pin-drv = <0>;
537 samsung,pin-drv = <0>;
541 samsung,pin-drv = <0>;
545 samsung,pin-drv = <0>;
549 samsung,pin-pud = <3>;
550 samsung,pin-drv = <0>;
555 samsung,spi-src-clk = <0>;
559 #include "cros-ec-keyboard.dtsi"