xref: /linux/scripts/dtc/include-prefixes/arm/samsung/exynos5250-spring.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Google Spring board device tree source
4*724ba675SRob Herring *
5*724ba675SRob Herring * Copyright (c) 2013 Google, Inc
6*724ba675SRob Herring * Copyright (c) 2014 SUSE LINUX Products GmbH
7*724ba675SRob Herring */
8*724ba675SRob Herring
9*724ba675SRob Herring/dts-v1/;
10*724ba675SRob Herring#include <dt-bindings/clock/samsung,s2mps11.h>
11*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
12*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
13*724ba675SRob Herring#include <dt-bindings/input/input.h>
14*724ba675SRob Herring#include "exynos5250.dtsi"
15*724ba675SRob Herring
16*724ba675SRob Herring/ {
17*724ba675SRob Herring	model = "Google Spring";
18*724ba675SRob Herring	compatible = "google,spring", "samsung,exynos5250", "samsung,exynos5";
19*724ba675SRob Herring	chassis-type = "laptop";
20*724ba675SRob Herring
21*724ba675SRob Herring	memory@40000000 {
22*724ba675SRob Herring		device_type = "memory";
23*724ba675SRob Herring		reg = <0x40000000 0x80000000>;
24*724ba675SRob Herring	};
25*724ba675SRob Herring
26*724ba675SRob Herring	aliases {
27*724ba675SRob Herring		mmc0 = &mmc_0;
28*724ba675SRob Herring		mmc1 = &mmc_1;
29*724ba675SRob Herring	};
30*724ba675SRob Herring
31*724ba675SRob Herring	chosen {
32*724ba675SRob Herring		bootargs = "console=tty1";
33*724ba675SRob Herring		stdout-path = "serial3:115200n8";
34*724ba675SRob Herring	};
35*724ba675SRob Herring
36*724ba675SRob Herring	gpio-keys {
37*724ba675SRob Herring		compatible = "gpio-keys";
38*724ba675SRob Herring		pinctrl-names = "default";
39*724ba675SRob Herring		pinctrl-0 = <&power_key_irq>, <&lid_irq>;
40*724ba675SRob Herring
41*724ba675SRob Herring		power-key {
42*724ba675SRob Herring			label = "Power";
43*724ba675SRob Herring			gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
44*724ba675SRob Herring			linux,code = <KEY_POWER>;
45*724ba675SRob Herring			wakeup-source;
46*724ba675SRob Herring		};
47*724ba675SRob Herring
48*724ba675SRob Herring		lid-switch {
49*724ba675SRob Herring			label = "Lid";
50*724ba675SRob Herring			gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
51*724ba675SRob Herring			linux,input-type = <5>; /* EV_SW */
52*724ba675SRob Herring			linux,code = <0>; /* SW_LID */
53*724ba675SRob Herring			debounce-interval = <1>;
54*724ba675SRob Herring			wakeup-source;
55*724ba675SRob Herring		};
56*724ba675SRob Herring	};
57*724ba675SRob Herring
58*724ba675SRob Herring	usb-hub {
59*724ba675SRob Herring		compatible = "smsc,usb3503a";
60*724ba675SRob Herring		reset-gpios = <&gpe1 0 GPIO_ACTIVE_LOW>;
61*724ba675SRob Herring		pinctrl-names = "default";
62*724ba675SRob Herring		pinctrl-0 = <&hsic_reset>;
63*724ba675SRob Herring	};
64*724ba675SRob Herring
65*724ba675SRob Herring	fixed-rate-clocks {
66*724ba675SRob Herring		xxti {
67*724ba675SRob Herring			compatible = "samsung,clock-xxti";
68*724ba675SRob Herring			clock-frequency = <24000000>;
69*724ba675SRob Herring		};
70*724ba675SRob Herring	};
71*724ba675SRob Herring};
72*724ba675SRob Herring
73*724ba675SRob Herring&cpu0 {
74*724ba675SRob Herring	cpu0-supply = <&buck2_reg>;
75*724ba675SRob Herring};
76*724ba675SRob Herring
77*724ba675SRob Herring&dp {
78*724ba675SRob Herring	status = "okay";
79*724ba675SRob Herring	pinctrl-names = "default";
80*724ba675SRob Herring	pinctrl-0 = <&dp_hpd_gpio>;
81*724ba675SRob Herring	samsung,color-space = <0>;
82*724ba675SRob Herring	samsung,color-depth = <1>;
83*724ba675SRob Herring	samsung,link-rate = <0x0a>;
84*724ba675SRob Herring	samsung,lane-count = <1>;
85*724ba675SRob Herring	hpd-gpios = <&gpc3 0 GPIO_ACTIVE_HIGH>;
86*724ba675SRob Herring};
87*724ba675SRob Herring
88*724ba675SRob Herring&ehci {
89*724ba675SRob Herring	samsung,vbus-gpio = <&gpx1 1 GPIO_ACTIVE_HIGH>;
90*724ba675SRob Herring};
91*724ba675SRob Herring
92*724ba675SRob Herring&fimd {
93*724ba675SRob Herring	status = "okay";
94*724ba675SRob Herring	samsung,invert-vclk;
95*724ba675SRob Herring};
96*724ba675SRob Herring
97*724ba675SRob Herring&hdmi {
98*724ba675SRob Herring	status = "okay";
99*724ba675SRob Herring	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
100*724ba675SRob Herring	pinctrl-names = "default";
101*724ba675SRob Herring	pinctrl-0 = <&hdmi_hpd_irq>;
102*724ba675SRob Herring	ddc = <&i2c_2>;
103*724ba675SRob Herring	hdmi-en-supply = <&ldo8_reg>;
104*724ba675SRob Herring	vdd-supply = <&ldo8_reg>;
105*724ba675SRob Herring	vdd_osc-supply = <&ldo10_reg>;
106*724ba675SRob Herring	vdd_pll-supply = <&ldo8_reg>;
107*724ba675SRob Herring};
108*724ba675SRob Herring
109*724ba675SRob Herring&i2c_0 {
110*724ba675SRob Herring	status = "okay";
111*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
112*724ba675SRob Herring	samsung,i2c-max-bus-freq = <378000>;
113*724ba675SRob Herring
114*724ba675SRob Herring	pmic@66 {
115*724ba675SRob Herring		compatible = "samsung,s5m8767-pmic";
116*724ba675SRob Herring		reg = <0x66>;
117*724ba675SRob Herring		interrupt-parent = <&gpx3>;
118*724ba675SRob Herring		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
119*724ba675SRob Herring		pinctrl-names = "default";
120*724ba675SRob Herring		pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
121*724ba675SRob Herring		wakeup-source;
122*724ba675SRob Herring
123*724ba675SRob Herring		s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>, /* DVS1 */
124*724ba675SRob Herring					      <&gpd1 1 GPIO_ACTIVE_LOW>, /* DVS2 */
125*724ba675SRob Herring					      <&gpd1 2 GPIO_ACTIVE_LOW>; /* DVS3 */
126*724ba675SRob Herring
127*724ba675SRob Herring		s5m8767,pmic-buck-ds-gpios = <&gpx2 3 GPIO_ACTIVE_LOW>, /* SET1 */
128*724ba675SRob Herring					     <&gpx2 4 GPIO_ACTIVE_LOW>, /* SET2 */
129*724ba675SRob Herring					     <&gpx2 5 GPIO_ACTIVE_LOW>; /* SET3 */
130*724ba675SRob Herring
131*724ba675SRob Herring		/*
132*724ba675SRob Herring		 * The following arrays of DVS voltages are not used, since we are
133*724ba675SRob Herring		 * not using GPIOs to control PMIC bucks, but they must be defined
134*724ba675SRob Herring		 * to please the driver.
135*724ba675SRob Herring		 */
136*724ba675SRob Herring		s5m8767,pmic-buck2-dvs-voltage = <1350000>, <1300000>,
137*724ba675SRob Herring						 <1250000>, <1200000>,
138*724ba675SRob Herring						 <1150000>, <1100000>,
139*724ba675SRob Herring						 <1000000>, <950000>;
140*724ba675SRob Herring
141*724ba675SRob Herring		s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
142*724ba675SRob Herring						 <1100000>, <1100000>,
143*724ba675SRob Herring						 <1000000>, <1000000>,
144*724ba675SRob Herring						 <1000000>, <1000000>;
145*724ba675SRob Herring
146*724ba675SRob Herring		s5m8767,pmic-buck4-dvs-voltage = <1200000>, <1200000>,
147*724ba675SRob Herring						 <1200000>, <1200000>,
148*724ba675SRob Herring						 <1200000>, <1200000>,
149*724ba675SRob Herring						 <1200000>, <1200000>;
150*724ba675SRob Herring
151*724ba675SRob Herring		s5m8767_osc: clocks {
152*724ba675SRob Herring			compatible = "samsung,s5m8767-clk";
153*724ba675SRob Herring			#clock-cells = <1>;
154*724ba675SRob Herring			clock-output-names = "en32khz_ap",
155*724ba675SRob Herring					     "en32khz_cp",
156*724ba675SRob Herring					     "en32khz_bt";
157*724ba675SRob Herring		};
158*724ba675SRob Herring
159*724ba675SRob Herring		regulators {
160*724ba675SRob Herring			ldo4_reg: LDO4 {
161*724ba675SRob Herring				regulator-name = "P1.0V_LDO_OUT4";
162*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
163*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
164*724ba675SRob Herring				regulator-always-on;
165*724ba675SRob Herring				op_mode = <0>;
166*724ba675SRob Herring			};
167*724ba675SRob Herring
168*724ba675SRob Herring			ldo5_reg: LDO5 {
169*724ba675SRob Herring				regulator-name = "P1.0V_LDO_OUT5";
170*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
171*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
172*724ba675SRob Herring				regulator-always-on;
173*724ba675SRob Herring				op_mode = <0>;
174*724ba675SRob Herring			};
175*724ba675SRob Herring
176*724ba675SRob Herring			ldo6_reg: LDO6 {
177*724ba675SRob Herring				regulator-name = "vdd_mydp";
178*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
179*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
180*724ba675SRob Herring				regulator-always-on;
181*724ba675SRob Herring				op_mode = <3>;
182*724ba675SRob Herring			};
183*724ba675SRob Herring
184*724ba675SRob Herring			ldo7_reg: LDO7 {
185*724ba675SRob Herring				regulator-name = "P1.1V_LDO_OUT7";
186*724ba675SRob Herring				regulator-min-microvolt = <1100000>;
187*724ba675SRob Herring				regulator-max-microvolt = <1100000>;
188*724ba675SRob Herring				regulator-always-on;
189*724ba675SRob Herring				op_mode = <3>;
190*724ba675SRob Herring			};
191*724ba675SRob Herring
192*724ba675SRob Herring			ldo8_reg: LDO8 {
193*724ba675SRob Herring				regulator-name = "P1.0V_LDO_OUT8";
194*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
195*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
196*724ba675SRob Herring				regulator-always-on;
197*724ba675SRob Herring				op_mode = <3>;
198*724ba675SRob Herring			};
199*724ba675SRob Herring
200*724ba675SRob Herring			ldo10_reg: LDO10 {
201*724ba675SRob Herring				regulator-name = "P1.8V_LDO_OUT10";
202*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
203*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
204*724ba675SRob Herring				regulator-always-on;
205*724ba675SRob Herring				op_mode = <3>;
206*724ba675SRob Herring			};
207*724ba675SRob Herring
208*724ba675SRob Herring			ldo11_reg: LDO11 {
209*724ba675SRob Herring				regulator-name = "P1.8V_LDO_OUT11";
210*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
211*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
212*724ba675SRob Herring				regulator-always-on;
213*724ba675SRob Herring				op_mode = <0>;
214*724ba675SRob Herring			};
215*724ba675SRob Herring
216*724ba675SRob Herring			ldo12_reg: LDO12 {
217*724ba675SRob Herring				regulator-name = "P3.0V_LDO_OUT12";
218*724ba675SRob Herring				regulator-min-microvolt = <3000000>;
219*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
220*724ba675SRob Herring				regulator-always-on;
221*724ba675SRob Herring				op_mode = <3>;
222*724ba675SRob Herring			};
223*724ba675SRob Herring
224*724ba675SRob Herring			ldo13_reg: LDO13 {
225*724ba675SRob Herring				regulator-name = "P1.8V_LDO_OUT13";
226*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
227*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
228*724ba675SRob Herring				regulator-always-on;
229*724ba675SRob Herring				op_mode = <0>;
230*724ba675SRob Herring			};
231*724ba675SRob Herring
232*724ba675SRob Herring			ldo14_reg: LDO14 {
233*724ba675SRob Herring				regulator-name = "P1.8V_LDO_OUT14";
234*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
235*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
236*724ba675SRob Herring				regulator-always-on;
237*724ba675SRob Herring				op_mode = <3>;
238*724ba675SRob Herring			};
239*724ba675SRob Herring
240*724ba675SRob Herring			ldo15_reg: LDO15 {
241*724ba675SRob Herring				regulator-name = "P1.0V_LDO_OUT15";
242*724ba675SRob Herring				regulator-min-microvolt = <1000000>;
243*724ba675SRob Herring				regulator-max-microvolt = <1000000>;
244*724ba675SRob Herring				regulator-always-on;
245*724ba675SRob Herring				op_mode = <3>;
246*724ba675SRob Herring			};
247*724ba675SRob Herring
248*724ba675SRob Herring			ldo16_reg: LDO16 {
249*724ba675SRob Herring				regulator-name = "P1.8V_LDO_OUT16";
250*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
251*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
252*724ba675SRob Herring				regulator-always-on;
253*724ba675SRob Herring				op_mode = <3>;
254*724ba675SRob Herring			};
255*724ba675SRob Herring
256*724ba675SRob Herring			ldo17_reg: LDO17 {
257*724ba675SRob Herring				regulator-name = "P2.8V_LDO_OUT17";
258*724ba675SRob Herring				regulator-min-microvolt = <2800000>;
259*724ba675SRob Herring				regulator-max-microvolt = <2800000>;
260*724ba675SRob Herring				regulator-always-on;
261*724ba675SRob Herring				op_mode = <0>;
262*724ba675SRob Herring			};
263*724ba675SRob Herring
264*724ba675SRob Herring			ldo25_reg: LDO25 {
265*724ba675SRob Herring				regulator-name = "vdd_bridge";
266*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
267*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
268*724ba675SRob Herring				regulator-always-on;
269*724ba675SRob Herring				op_mode = <1>;
270*724ba675SRob Herring			};
271*724ba675SRob Herring
272*724ba675SRob Herring			buck1_reg: BUCK1 {
273*724ba675SRob Herring				regulator-name = "vdd_mif";
274*724ba675SRob Herring				regulator-min-microvolt = <950000>;
275*724ba675SRob Herring				regulator-max-microvolt = <1300000>;
276*724ba675SRob Herring				regulator-always-on;
277*724ba675SRob Herring				regulator-boot-on;
278*724ba675SRob Herring				op_mode = <3>;
279*724ba675SRob Herring			};
280*724ba675SRob Herring
281*724ba675SRob Herring			buck2_reg: BUCK2 {
282*724ba675SRob Herring				regulator-name = "vdd_arm";
283*724ba675SRob Herring				regulator-min-microvolt = <850000>;
284*724ba675SRob Herring				regulator-max-microvolt = <1350000>;
285*724ba675SRob Herring				regulator-always-on;
286*724ba675SRob Herring				regulator-boot-on;
287*724ba675SRob Herring				op_mode = <3>;
288*724ba675SRob Herring			};
289*724ba675SRob Herring
290*724ba675SRob Herring			buck3_reg: BUCK3 {
291*724ba675SRob Herring				regulator-name = "vdd_int";
292*724ba675SRob Herring				regulator-min-microvolt = <900000>;
293*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
294*724ba675SRob Herring				regulator-always-on;
295*724ba675SRob Herring				regulator-boot-on;
296*724ba675SRob Herring				op_mode = <3>;
297*724ba675SRob Herring			};
298*724ba675SRob Herring
299*724ba675SRob Herring			buck4_reg: BUCK4 {
300*724ba675SRob Herring				regulator-name = "vdd_g3d";
301*724ba675SRob Herring				regulator-min-microvolt = <850000>;
302*724ba675SRob Herring				regulator-max-microvolt = <1300000>;
303*724ba675SRob Herring				regulator-boot-on;
304*724ba675SRob Herring				op_mode = <3>;
305*724ba675SRob Herring			};
306*724ba675SRob Herring
307*724ba675SRob Herring			buck5_reg: BUCK5 {
308*724ba675SRob Herring				regulator-name = "P1.8V_BUCK_OUT5";
309*724ba675SRob Herring				regulator-min-microvolt = <1800000>;
310*724ba675SRob Herring				regulator-max-microvolt = <1800000>;
311*724ba675SRob Herring				regulator-always-on;
312*724ba675SRob Herring				regulator-boot-on;
313*724ba675SRob Herring				op_mode = <1>;
314*724ba675SRob Herring			};
315*724ba675SRob Herring
316*724ba675SRob Herring			buck6_reg: BUCK6 {
317*724ba675SRob Herring				regulator-name = "P1.2V_BUCK_OUT6";
318*724ba675SRob Herring				regulator-min-microvolt = <1200000>;
319*724ba675SRob Herring				regulator-max-microvolt = <1200000>;
320*724ba675SRob Herring				regulator-always-on;
321*724ba675SRob Herring				regulator-boot-on;
322*724ba675SRob Herring				op_mode = <0>;
323*724ba675SRob Herring			};
324*724ba675SRob Herring
325*724ba675SRob Herring			buck9_reg: BUCK9 {
326*724ba675SRob Herring				regulator-name = "vdd_ummc";
327*724ba675SRob Herring				regulator-min-microvolt = <950000>;
328*724ba675SRob Herring				regulator-max-microvolt = <3000000>;
329*724ba675SRob Herring				regulator-always-on;
330*724ba675SRob Herring				regulator-boot-on;
331*724ba675SRob Herring				op_mode = <3>;
332*724ba675SRob Herring			};
333*724ba675SRob Herring		};
334*724ba675SRob Herring	};
335*724ba675SRob Herring};
336*724ba675SRob Herring
337*724ba675SRob Herring&i2c_1 {
338*724ba675SRob Herring	status = "okay";
339*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
340*724ba675SRob Herring	samsung,i2c-max-bus-freq = <378000>;
341*724ba675SRob Herring
342*724ba675SRob Herring	trackpad@4b {
343*724ba675SRob Herring		compatible = "atmel,maxtouch";
344*724ba675SRob Herring		reg = <0x4b>;
345*724ba675SRob Herring		interrupt-parent = <&gpx1>;
346*724ba675SRob Herring		interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
347*724ba675SRob Herring		pinctrl-names = "default";
348*724ba675SRob Herring		pinctrl-0 = <&trackpad_irq>;
349*724ba675SRob Herring		linux,gpio-keymap = <KEY_RESERVED
350*724ba675SRob Herring				     KEY_RESERVED
351*724ba675SRob Herring				     KEY_RESERVED
352*724ba675SRob Herring				     KEY_RESERVED
353*724ba675SRob Herring				     KEY_RESERVED
354*724ba675SRob Herring				     BTN_LEFT>;
355*724ba675SRob Herring		wakeup-source;
356*724ba675SRob Herring	};
357*724ba675SRob Herring};
358*724ba675SRob Herring
359*724ba675SRob Herring/*
360*724ba675SRob Herring * Disabled pullups since external part has its own pullups and
361*724ba675SRob Herring * double-pulling gets us out of spec in some cases.
362*724ba675SRob Herring */
363*724ba675SRob Herring&i2c2_bus {
364*724ba675SRob Herring	samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
365*724ba675SRob Herring};
366*724ba675SRob Herring
367*724ba675SRob Herring&i2c_2 {
368*724ba675SRob Herring	status = "okay";
369*724ba675SRob Herring	/* used by HDMI DDC */
370*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
371*724ba675SRob Herring	samsung,i2c-max-bus-freq = <66000>;
372*724ba675SRob Herring};
373*724ba675SRob Herring
374*724ba675SRob Herring&i2c_3 {
375*724ba675SRob Herring	status = "okay";
376*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
377*724ba675SRob Herring	samsung,i2c-max-bus-freq = <66000>;
378*724ba675SRob Herring};
379*724ba675SRob Herring
380*724ba675SRob Herring&i2c_4 {
381*724ba675SRob Herring	status = "okay";
382*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
383*724ba675SRob Herring	samsung,i2c-max-bus-freq = <66000>;
384*724ba675SRob Herring
385*724ba675SRob Herring	cros_ec: embedded-controller@1e {
386*724ba675SRob Herring		compatible = "google,cros-ec-i2c";
387*724ba675SRob Herring		reg = <0x1e>;
388*724ba675SRob Herring		interrupts = <6 IRQ_TYPE_NONE>;
389*724ba675SRob Herring		interrupt-parent = <&gpx1>;
390*724ba675SRob Herring		wakeup-source;
391*724ba675SRob Herring		pinctrl-names = "default";
392*724ba675SRob Herring		pinctrl-0 = <&ec_irq>;
393*724ba675SRob Herring	};
394*724ba675SRob Herring};
395*724ba675SRob Herring
396*724ba675SRob Herring&i2c_5 {
397*724ba675SRob Herring	status = "okay";
398*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
399*724ba675SRob Herring	samsung,i2c-max-bus-freq = <66000>;
400*724ba675SRob Herring};
401*724ba675SRob Herring
402*724ba675SRob Herring&i2c_7 {
403*724ba675SRob Herring	status = "okay";
404*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
405*724ba675SRob Herring	samsung,i2c-max-bus-freq = <66000>;
406*724ba675SRob Herring
407*724ba675SRob Herring	temperature-sensor@4c {
408*724ba675SRob Herring		compatible = "gmt,g781";
409*724ba675SRob Herring		reg = <0x4c>;
410*724ba675SRob Herring	};
411*724ba675SRob Herring};
412*724ba675SRob Herring
413*724ba675SRob Herring&i2c_8 {
414*724ba675SRob Herring	status = "okay";
415*724ba675SRob Herring	/* used by HDMI PHY */
416*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
417*724ba675SRob Herring	samsung,i2c-max-bus-freq = <378000>;
418*724ba675SRob Herring};
419*724ba675SRob Herring
420*724ba675SRob Herring&i2s0 {
421*724ba675SRob Herring	status = "okay";
422*724ba675SRob Herring};
423*724ba675SRob Herring
424*724ba675SRob Herring&mixer {
425*724ba675SRob Herring	status = "okay";
426*724ba675SRob Herring};
427*724ba675SRob Herring
428*724ba675SRob Herring&mmc_0 {
429*724ba675SRob Herring	status = "okay";
430*724ba675SRob Herring	broken-cd;
431*724ba675SRob Herring	card-detect-delay = <200>;
432*724ba675SRob Herring	samsung,dw-mshc-ciu-div = <3>;
433*724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <2 3>;
434*724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <1 2>;
435*724ba675SRob Herring	pinctrl-names = "default";
436*724ba675SRob Herring	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_cd &sd0_bus4 &sd0_bus8>;
437*724ba675SRob Herring	bus-width = <8>;
438*724ba675SRob Herring	cap-mmc-highspeed;
439*724ba675SRob Herring	mmc-ddr-1_8v;
440*724ba675SRob Herring};
441*724ba675SRob Herring
442*724ba675SRob Herring/*
443*724ba675SRob Herring * On Spring we've got SIP WiFi and so can keep drive strengths low to
444*724ba675SRob Herring * reduce EMI.
445*724ba675SRob Herring */
446*724ba675SRob Herring&mmc_1 {
447*724ba675SRob Herring	status = "okay";
448*724ba675SRob Herring	broken-cd;
449*724ba675SRob Herring	card-detect-delay = <200>;
450*724ba675SRob Herring	samsung,dw-mshc-ciu-div = <3>;
451*724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <2 3>;
452*724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <1 2>;
453*724ba675SRob Herring	pinctrl-names = "default";
454*724ba675SRob Herring	pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_cd &sd1_bus4>;
455*724ba675SRob Herring	bus-width = <4>;
456*724ba675SRob Herring	cap-sd-highspeed;
457*724ba675SRob Herring};
458*724ba675SRob Herring
459*724ba675SRob Herring&pinctrl_0 {
460*724ba675SRob Herring	s5m8767_dvs: s5m8767-dvs-pins {
461*724ba675SRob Herring		samsung,pins = "gpd1-0", "gpd1-1", "gpd1-2";
462*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
463*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
464*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
465*724ba675SRob Herring	};
466*724ba675SRob Herring
467*724ba675SRob Herring	dp_hpd_gpio: dp-hpd-pins {
468*724ba675SRob Herring		samsung,pins = "gpc3-0";
469*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
470*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
471*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
472*724ba675SRob Herring	};
473*724ba675SRob Herring
474*724ba675SRob Herring	trackpad_irq: trackpad-irq-pins {
475*724ba675SRob Herring		samsung,pins = "gpx1-2";
476*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
477*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
478*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
479*724ba675SRob Herring	};
480*724ba675SRob Herring
481*724ba675SRob Herring	power_key_irq: power-key-irq-pins {
482*724ba675SRob Herring		samsung,pins = "gpx1-3";
483*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
484*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
485*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
486*724ba675SRob Herring	};
487*724ba675SRob Herring
488*724ba675SRob Herring	ec_irq: ec-irq-pins {
489*724ba675SRob Herring		samsung,pins = "gpx1-6";
490*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
491*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
492*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
493*724ba675SRob Herring	};
494*724ba675SRob Herring
495*724ba675SRob Herring	s5m8767_ds: s5m8767-ds-pins {
496*724ba675SRob Herring		samsung,pins = "gpx2-3", "gpx2-4", "gpx2-5";
497*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
498*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
499*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
500*724ba675SRob Herring	};
501*724ba675SRob Herring
502*724ba675SRob Herring	s5m8767_irq: s5m8767-irq-pins {
503*724ba675SRob Herring		samsung,pins = "gpx3-2";
504*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
505*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
506*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
507*724ba675SRob Herring	};
508*724ba675SRob Herring
509*724ba675SRob Herring	lid_irq: lid-irq-pins {
510*724ba675SRob Herring		samsung,pins = "gpx3-5";
511*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
512*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
513*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
514*724ba675SRob Herring	};
515*724ba675SRob Herring
516*724ba675SRob Herring	hdmi_hpd_irq: hdmi-hpd-irq-pins {
517*724ba675SRob Herring		samsung,pins = "gpx3-7";
518*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
519*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
520*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
521*724ba675SRob Herring	};
522*724ba675SRob Herring};
523*724ba675SRob Herring
524*724ba675SRob Herring&pinctrl_1 {
525*724ba675SRob Herring	hsic_reset: hsic-reset-pins {
526*724ba675SRob Herring		samsung,pins = "gpe1-0";
527*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
528*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
529*724ba675SRob Herring		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
530*724ba675SRob Herring	};
531*724ba675SRob Herring};
532*724ba675SRob Herring
533*724ba675SRob Herring&rtc {
534*724ba675SRob Herring	status = "okay";
535*724ba675SRob Herring	clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>;
536*724ba675SRob Herring	clock-names = "rtc", "rtc_src";
537*724ba675SRob Herring};
538*724ba675SRob Herring
539*724ba675SRob Herring&sd1_bus4 {
540*724ba675SRob Herring	samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
541*724ba675SRob Herring};
542*724ba675SRob Herring
543*724ba675SRob Herring&sd1_cd {
544*724ba675SRob Herring	samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
545*724ba675SRob Herring};
546*724ba675SRob Herring
547*724ba675SRob Herring&sd1_clk {
548*724ba675SRob Herring	samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
549*724ba675SRob Herring};
550*724ba675SRob Herring
551*724ba675SRob Herring&sd1_cmd {
552*724ba675SRob Herring	samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
553*724ba675SRob Herring	samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
554*724ba675SRob Herring};
555*724ba675SRob Herring
556*724ba675SRob Herring&spi_1 {
557*724ba675SRob Herring	status = "okay";
558*724ba675SRob Herring	samsung,spi-src-clk = <0>;
559*724ba675SRob Herring	num-cs = <1>;
560*724ba675SRob Herring};
561*724ba675SRob Herring
562*724ba675SRob Herring&usbdrd {
563*724ba675SRob Herring	vdd10-supply = <&ldo15_reg>;
564*724ba675SRob Herring	vdd33-supply = <&ldo12_reg>;
565*724ba675SRob Herring};
566*724ba675SRob Herring
567*724ba675SRob Herring#include "../cros-ec-keyboard.dtsi"
568