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";
31 compatible = "gpio-keys";
32 pinctrl-names = "default";
33 pinctrl-0 = <&power_key_irq>, <&lid_irq>;
37 gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_POWER>;
44 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
45 linux,input-type = <5>; /* EV_SW */
46 linux,code = <0>; /* SW_LID */
47 debounce-interval = <1>;
53 compatible = "smsc,usb3503a";
54 reset-gpios = <&gpe1 0 GPIO_ACTIVE_LOW>;
55 pinctrl-names = "default";
56 pinctrl-0 = <&hsic_reset>;
61 compatible = "samsung,clock-xxti";
62 clock-frequency = <24000000>;
69 pinctrl-names = "default";
70 pinctrl-0 = <&dp_hpd_gpio>;
71 samsung,color-space = <0>;
72 samsung,dynamic-range = <0>;
73 samsung,ycbcr-coeff = <0>;
74 samsung,color-depth = <1>;
75 samsung,link-rate = <0x0a>;
76 samsung,lane-count = <1>;
77 samsung,hpd-gpio = <&gpc3 0 GPIO_ACTIVE_HIGH>;
81 samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
90 hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
91 pinctrl-names = "default";
92 pinctrl-0 = <&hdmi_hpd_irq>;
95 hdmi-en-supply = <&ldo8_reg>;
96 vdd-supply = <&ldo8_reg>;
97 vdd_osc-supply = <&ldo10_reg>;
98 vdd_pll-supply = <&ldo8_reg>;
103 samsung,i2c-sda-delay = <100>;
104 samsung,i2c-max-bus-freq = <378000>;
107 compatible = "samsung,s5m8767-pmic";
109 interrupt-parent = <&gpx3>;
110 interrupts = <2 IRQ_TYPE_NONE>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
115 s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
116 <&gpd1 1 GPIO_ACTIVE_LOW>, /* DVS2 */
117 <&gpd1 2 GPIO_ACTIVE_LOW>; /* DVS3 */
119 s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
120 <&gpx2 4 GPIO_ACTIVE_LOW>, /* SET2 */
121 <&gpx2 5 GPIO_ACTIVE_LOW>; /* SET3 */
124 * The following arrays of DVS voltages are not used, since we are
125 * not using GPIOs to control PMIC bucks, but they must be defined
126 * to please the driver.
128 s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
129 <1250000>, <1200000>,
130 <1150000>, <1100000>,
133 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
134 <1100000>, <1100000>,
135 <1000000>, <1000000>,
136 <1000000>, <1000000>;
138 s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
139 <1200000>, <1200000>,
140 <1200000>, <1200000>,
141 <1200000>, <1200000>;
144 compatible = "samsung,s5m8767-clk";
146 clock-output-names = "en32khz_ap",
153 regulator-name = "P1.0V_LDO_OUT4";
154 regulator-min-microvolt = <1000000>;
155 regulator-max-microvolt = <1000000>;
161 regulator-name = "P1.0V_LDO_OUT5";
162 regulator-min-microvolt = <1000000>;
163 regulator-max-microvolt = <1000000>;
169 regulator-name = "vdd_mydp";
170 regulator-min-microvolt = <1000000>;
171 regulator-max-microvolt = <1000000>;
177 regulator-name = "P1.1V_LDO_OUT7";
178 regulator-min-microvolt = <1100000>;
179 regulator-max-microvolt = <1100000>;
185 regulator-name = "P1.0V_LDO_OUT8";
186 regulator-min-microvolt = <1000000>;
187 regulator-max-microvolt = <1000000>;
193 regulator-name = "P1.8V_LDO_OUT10";
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
201 regulator-name = "P1.8V_LDO_OUT11";
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <1800000>;
209 regulator-name = "P3.0V_LDO_OUT12";
210 regulator-min-microvolt = <3000000>;
211 regulator-max-microvolt = <3000000>;
217 regulator-name = "P1.8V_LDO_OUT13";
218 regulator-min-microvolt = <1800000>;
219 regulator-max-microvolt = <1800000>;
225 regulator-name = "P1.8V_LDO_OUT14";
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <1800000>;
233 regulator-name = "P1.0V_LDO_OUT15";
234 regulator-min-microvolt = <1000000>;
235 regulator-max-microvolt = <1000000>;
241 regulator-name = "P1.8V_LDO_OUT16";
242 regulator-min-microvolt = <1800000>;
243 regulator-max-microvolt = <1800000>;
249 regulator-name = "P2.8V_LDO_OUT17";
250 regulator-min-microvolt = <2800000>;
251 regulator-max-microvolt = <2800000>;
257 regulator-name = "vdd_bridge";
258 regulator-min-microvolt = <1200000>;
259 regulator-max-microvolt = <1200000>;
265 regulator-name = "vdd_mif";
266 regulator-min-microvolt = <950000>;
267 regulator-max-microvolt = <1300000>;
274 regulator-name = "vdd_arm";
275 regulator-min-microvolt = <850000>;
276 regulator-max-microvolt = <1350000>;
283 regulator-name = "vdd_int";
284 regulator-min-microvolt = <900000>;
285 regulator-max-microvolt = <1200000>;
292 regulator-name = "vdd_g3d";
293 regulator-min-microvolt = <850000>;
294 regulator-max-microvolt = <1300000>;
300 regulator-name = "P1.8V_BUCK_OUT5";
301 regulator-min-microvolt = <1800000>;
302 regulator-max-microvolt = <1800000>;
309 regulator-name = "P1.2V_BUCK_OUT6";
310 regulator-min-microvolt = <1200000>;
311 regulator-max-microvolt = <1200000>;
318 regulator-name = "vdd_ummc";
319 regulator-min-microvolt = <950000>;
320 regulator-max-microvolt = <3000000>;
331 samsung,i2c-sda-delay = <100>;
332 samsung,i2c-max-bus-freq = <378000>;
335 compatible = "atmel,maxtouch";
337 interrupt-parent = <&gpx1>;
338 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
339 pinctrl-names = "default";
340 pinctrl-0 = <&trackpad_irq>;
341 linux,gpio-keymap = <KEY_RESERVED
352 * Disabled pullups since external part has its own pullups and
353 * double-pulling gets us out of spec in some cases.
356 samsung,pin-pud = <0>;
361 samsung,i2c-sda-delay = <100>;
362 samsung,i2c-max-bus-freq = <66000>;
365 compatible = "samsung,exynos4210-hdmiddc";
372 samsung,i2c-sda-delay = <100>;
373 samsung,i2c-max-bus-freq = <66000>;
378 samsung,i2c-sda-delay = <100>;
379 samsung,i2c-max-bus-freq = <66000>;
381 cros_ec: embedded-controller {
382 compatible = "google,cros-ec-i2c";
384 interrupts = <6 IRQ_TYPE_NONE>;
385 interrupt-parent = <&gpx1>;
387 pinctrl-names = "default";
388 pinctrl-0 = <&ec_irq>;
394 samsung,i2c-sda-delay = <100>;
395 samsung,i2c-max-bus-freq = <66000>;
400 samsung,i2c-sda-delay = <100>;
401 samsung,i2c-max-bus-freq = <66000>;
403 temperature-sensor@4c {
404 compatible = "gmt,g781";
411 samsung,i2c-sda-delay = <100>;
412 samsung,i2c-max-bus-freq = <378000>;
414 hdmiphy: hdmiphy@38 {
415 compatible = "samsung,exynos4212-hdmiphy";
425 samsung,mfc-r = <0x43000000 0x800000>;
426 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>;
448 * 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>;
470 s5m8767_dvs: s5m8767-dvs {
471 samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2";
472 samsung,pin-function = <0>;
473 samsung,pin-pud = <1>;
474 samsung,pin-drv = <0>;
477 dp_hpd_gpio: dp-hpd-gpio {
478 samsung,pins = "gpc3-0";
479 samsung,pin-function = <0>;
480 samsung,pin-pud = <3>;
481 samsung,pin-drv = <0>;
484 trackpad_irq: trackpad-irq {
485 samsung,pins = "gpx1-2";
486 samsung,pin-function = <0xf>;
487 samsung,pin-pud = <0>;
488 samsung,pin-drv = <0>;
491 power_key_irq: power-key-irq {
492 samsung,pins = "gpx1-3";
493 samsung,pin-function = <0>;
494 samsung,pin-pud = <0>;
495 samsung,pin-drv = <0>;
499 samsung,pins = "gpx1-6";
500 samsung,pin-function = <0>;
501 samsung,pin-pud = <0>;
502 samsung,pin-drv = <0>;
505 s5m8767_ds: s5m8767-ds {
506 samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
507 samsung,pin-function = <0>;
508 samsung,pin-pud = <1>;
509 samsung,pin-drv = <0>;
512 s5m8767_irq: s5m8767-irq {
513 samsung,pins = "gpx3-2";
514 samsung,pin-function = <0>;
515 samsung,pin-pud = <0>;
516 samsung,pin-drv = <0>;
520 samsung,pins = "gpx3-5";
521 samsung,pin-function = <0>;
522 samsung,pin-pud = <0>;
523 samsung,pin-drv = <0>;
526 hdmi_hpd_irq: hdmi-hpd-irq {
527 samsung,pins = "gpx3-7";
528 samsung,pin-function = <0>;
529 samsung,pin-pud = <1>;
530 samsung,pin-drv = <0>;
535 hsic_reset: hsic-reset {
536 samsung,pins = "gpe1-0";
537 samsung,pin-function = <1>;
538 samsung,pin-pud = <0>;
539 samsung,pin-drv = <0>;
544 samsung,pin-drv = <0>;
548 samsung,pin-drv = <0>;
552 samsung,pin-drv = <0>;
556 samsung,pin-pud = <3>;
557 samsung,pin-drv = <0>;
562 samsung,spi-src-clk = <0>;
566 #include "cros-ec-keyboard.dtsi"