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"
17 #include "exynos-mfc-reserved-memory.dtsi"
20 model = "Google Spring";
21 compatible = "google,spring", "samsung,exynos5250", "samsung,exynos5";
24 device_type = "memory";
25 reg = <0x40000000 0x80000000>;
29 bootargs = "console=tty1";
30 stdout-path = "serial3:115200n8";
34 compatible = "gpio-keys";
35 pinctrl-names = "default";
36 pinctrl-0 = <&power_key_irq>, <&lid_irq>;
40 gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_POWER>;
47 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
48 linux,input-type = <5>; /* EV_SW */
49 linux,code = <0>; /* SW_LID */
50 debounce-interval = <1>;
56 compatible = "smsc,usb3503a";
57 reset-gpios = <&gpe1 0 GPIO_ACTIVE_LOW>;
58 pinctrl-names = "default";
59 pinctrl-0 = <&hsic_reset>;
64 compatible = "samsung,clock-xxti";
65 clock-frequency = <24000000>;
71 cpu0-supply = <&buck2_reg>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&dp_hpd_gpio>;
78 samsung,color-space = <0>;
79 samsung,color-depth = <1>;
80 samsung,link-rate = <0x0a>;
81 samsung,lane-count = <1>;
82 hpd-gpios = <&gpc3 0 GPIO_ACTIVE_HIGH>;
86 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
95 hpd-gpios = <&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 = <EXYNOS_PIN_PULL_NONE>;
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@1e {
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";
433 card-detect-delay = <200>;
434 samsung,dw-mshc-ciu-div = <3>;
435 samsung,dw-mshc-sdr-timing = <2 3>;
436 samsung,dw-mshc-ddr-timing = <1 2>;
437 pinctrl-names = "default";
438 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
444 * On Spring we've got SIP WiFi and so can keep drive strengths low to
451 card-detect-delay = <200>;
452 samsung,dw-mshc-ciu-div = <3>;
453 samsung,dw-mshc-sdr-timing = <2 3>;
454 samsung,dw-mshc-ddr-timing = <1 2>;
455 pinctrl-names = "default";
456 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus4>;
462 s5m8767_dvs: s5m8767-dvs {
463 samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2";
464 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
465 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
466 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
469 dp_hpd_gpio: dp-hpd-gpio {
470 samsung,pins = "gpc3-0";
471 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
472 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
473 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
476 trackpad_irq: trackpad-irq {
477 samsung,pins = "gpx1-2";
478 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
479 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
480 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
483 power_key_irq: power-key-irq {
484 samsung,pins = "gpx1-3";
485 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
486 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
487 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
491 samsung,pins = "gpx1-6";
492 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
493 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
494 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
497 s5m8767_ds: s5m8767-ds {
498 samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
499 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
500 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
501 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
504 s5m8767_irq: s5m8767-irq {
505 samsung,pins = "gpx3-2";
506 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
507 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
508 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
512 samsung,pins = "gpx3-5";
513 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
514 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
515 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
518 hdmi_hpd_irq: hdmi-hpd-irq {
519 samsung,pins = "gpx3-7";
520 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
521 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
522 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
527 hsic_reset: hsic-reset {
528 samsung,pins = "gpe1-0";
529 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
530 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
531 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
536 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
540 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
544 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
548 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
549 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
554 samsung,spi-src-clk = <0>;
558 #include "cros-ec-keyboard.dtsi"