xref: /linux/arch/arm/boot/dts/samsung/exynos5422-odroidxu3-common.dtsi (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Hardkernel Odroid XU3/XU3-Lite/XU4 boards common device tree source
4*724ba675SRob Herring *
5*724ba675SRob Herring * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6*724ba675SRob Herring *		http://www.samsung.com
7*724ba675SRob Herring * Copyright (c) 2014 Collabora Ltd.
8*724ba675SRob Herring * Copyright (c) 2015 Lukasz Majewski <l.majewski@samsung.com>
9*724ba675SRob Herring *                    Anand Moon <linux.amoon@gmail.com>
10*724ba675SRob Herring */
11*724ba675SRob Herring
12*724ba675SRob Herring#include <dt-bindings/input/input.h>
13*724ba675SRob Herring#include "exynos5422-odroid-core.dtsi"
14*724ba675SRob Herring
15*724ba675SRob Herring/ {
16*724ba675SRob Herring	aliases {
17*724ba675SRob Herring		mmc0 = &mmc_0;
18*724ba675SRob Herring	};
19*724ba675SRob Herring
20*724ba675SRob Herring	gpio-keys {
21*724ba675SRob Herring		compatible = "gpio-keys";
22*724ba675SRob Herring		pinctrl-names = "default";
23*724ba675SRob Herring		pinctrl-0 = <&power_key>;
24*724ba675SRob Herring
25*724ba675SRob Herring		power-key {
26*724ba675SRob Herring			/*
27*724ba675SRob Herring			 * The power button (SW2) is connected to the PWRON
28*724ba675SRob Herring			 * pin (active high) of the S2MPS11 PMIC, which acts
29*724ba675SRob Herring			 * as a 16ms debouce filter and signal inverter with
30*724ba675SRob Herring			 * output on ONOB pin (active low). ONOB PMIC pin is
31*724ba675SRob Herring			 * then connected to XEINT3 SoC pin.
32*724ba675SRob Herring			 */
33*724ba675SRob Herring			gpios = <&gpx0 3 GPIO_ACTIVE_LOW>;
34*724ba675SRob Herring			linux,code = <KEY_POWER>;
35*724ba675SRob Herring			label = "power key";
36*724ba675SRob Herring			debounce-interval = <0>;
37*724ba675SRob Herring			wakeup-source;
38*724ba675SRob Herring		};
39*724ba675SRob Herring	};
40*724ba675SRob Herring
41*724ba675SRob Herring	emmc_pwrseq: pwrseq {
42*724ba675SRob Herring		pinctrl-0 = <&emmc_nrst_pin>;
43*724ba675SRob Herring		pinctrl-names = "default";
44*724ba675SRob Herring		compatible = "mmc-pwrseq-emmc";
45*724ba675SRob Herring		reset-gpios = <&gpd1 0 GPIO_ACTIVE_LOW>;
46*724ba675SRob Herring	};
47*724ba675SRob Herring
48*724ba675SRob Herring	fan0: pwm-fan {
49*724ba675SRob Herring		compatible = "pwm-fan";
50*724ba675SRob Herring		pwms = <&pwm 0 20972 0>;
51*724ba675SRob Herring		#cooling-cells = <2>;
52*724ba675SRob Herring		cooling-levels = <0 130 170 230>;
53*724ba675SRob Herring	};
54*724ba675SRob Herring
55*724ba675SRob Herring	thermal-zones {
56*724ba675SRob Herring		cpu0_thermal: cpu0-thermal {
57*724ba675SRob Herring			thermal-sensors = <&tmu_cpu0>;
58*724ba675SRob Herring			polling-delay-passive = <250>;
59*724ba675SRob Herring			polling-delay = <0>;
60*724ba675SRob Herring			trips {
61*724ba675SRob Herring				cpu0_alert0: cpu-alert-0 {
62*724ba675SRob Herring					temperature = <50000>; /* millicelsius */
63*724ba675SRob Herring					hysteresis = <5000>; /* millicelsius */
64*724ba675SRob Herring					type = "active";
65*724ba675SRob Herring				};
66*724ba675SRob Herring				cpu0_alert1: cpu-alert-1 {
67*724ba675SRob Herring					temperature = <60000>; /* millicelsius */
68*724ba675SRob Herring					hysteresis = <5000>; /* millicelsius */
69*724ba675SRob Herring					type = "active";
70*724ba675SRob Herring				};
71*724ba675SRob Herring				cpu0_alert2: cpu-alert-2 {
72*724ba675SRob Herring					temperature = <70000>; /* millicelsius */
73*724ba675SRob Herring					hysteresis = <5000>; /* millicelsius */
74*724ba675SRob Herring					type = "active";
75*724ba675SRob Herring				};
76*724ba675SRob Herring				cpu0_crit0: cpu-crit-0 {
77*724ba675SRob Herring					temperature = <120000>; /* millicelsius */
78*724ba675SRob Herring					hysteresis = <0>; /* millicelsius */
79*724ba675SRob Herring					type = "critical";
80*724ba675SRob Herring				};
81*724ba675SRob Herring				/*
82*724ba675SRob Herring				 * Exynos542x supports only 4 trip-points
83*724ba675SRob Herring				 * so for these polling mode is required.
84*724ba675SRob Herring				 * Start polling at temperature level of last
85*724ba675SRob Herring				 * interrupt-driven trip: cpu0_alert2
86*724ba675SRob Herring				 */
87*724ba675SRob Herring				cpu0_alert3: cpu-alert-3 {
88*724ba675SRob Herring					temperature = <70000>; /* millicelsius */
89*724ba675SRob Herring					hysteresis = <10000>; /* millicelsius */
90*724ba675SRob Herring					type = "passive";
91*724ba675SRob Herring				};
92*724ba675SRob Herring				cpu0_alert4: cpu-alert-4 {
93*724ba675SRob Herring					temperature = <85000>; /* millicelsius */
94*724ba675SRob Herring					hysteresis = <10000>; /* millicelsius */
95*724ba675SRob Herring					type = "passive";
96*724ba675SRob Herring				};
97*724ba675SRob Herring			};
98*724ba675SRob Herring			cooling-maps {
99*724ba675SRob Herring				map0 {
100*724ba675SRob Herring					trip = <&cpu0_alert0>;
101*724ba675SRob Herring					cooling-device = <&fan0 0 1>;
102*724ba675SRob Herring				};
103*724ba675SRob Herring				map1 {
104*724ba675SRob Herring					trip = <&cpu0_alert1>;
105*724ba675SRob Herring					cooling-device = <&fan0 1 2>;
106*724ba675SRob Herring				};
107*724ba675SRob Herring				map2 {
108*724ba675SRob Herring					trip = <&cpu0_alert2>;
109*724ba675SRob Herring					cooling-device = <&fan0 2 3>;
110*724ba675SRob Herring				};
111*724ba675SRob Herring				/*
112*724ba675SRob Herring				 * When reaching cpu0_alert3, reduce CPU
113*724ba675SRob Herring				 * by 2 steps. On Exynos5422/5800 that would
114*724ba675SRob Herring				 * (usually) be: 1800 MHz and 1200 MHz.
115*724ba675SRob Herring				 */
116*724ba675SRob Herring				map3 {
117*724ba675SRob Herring					trip = <&cpu0_alert3>;
118*724ba675SRob Herring					cooling-device = <&cpu0 0 2>,
119*724ba675SRob Herring							 <&cpu1 0 2>,
120*724ba675SRob Herring							 <&cpu2 0 2>,
121*724ba675SRob Herring							 <&cpu3 0 2>,
122*724ba675SRob Herring							 <&cpu4 0 2>,
123*724ba675SRob Herring							 <&cpu5 0 2>,
124*724ba675SRob Herring							 <&cpu6 0 2>,
125*724ba675SRob Herring							 <&cpu7 0 2>;
126*724ba675SRob Herring				};
127*724ba675SRob Herring				/*
128*724ba675SRob Herring				 * When reaching cpu0_alert4, reduce CPU
129*724ba675SRob Herring				 * further, down to 600 MHz (14 steps for big,
130*724ba675SRob Herring				 * 8 steps for LITTLE).
131*724ba675SRob Herring				 */
132*724ba675SRob Herring				cpu0_cooling_map4: map4 {
133*724ba675SRob Herring					trip = <&cpu0_alert4>;
134*724ba675SRob Herring					cooling-device = <&cpu0 3 8>,
135*724ba675SRob Herring							 <&cpu1 3 8>,
136*724ba675SRob Herring							 <&cpu2 3 8>,
137*724ba675SRob Herring							 <&cpu3 3 8>,
138*724ba675SRob Herring							 <&cpu4 3 14>,
139*724ba675SRob Herring							 <&cpu5 3 14>,
140*724ba675SRob Herring							 <&cpu6 3 14>,
141*724ba675SRob Herring							 <&cpu7 3 14>;
142*724ba675SRob Herring				};
143*724ba675SRob Herring			};
144*724ba675SRob Herring		};
145*724ba675SRob Herring		cpu1_thermal: cpu1-thermal {
146*724ba675SRob Herring			thermal-sensors = <&tmu_cpu1>;
147*724ba675SRob Herring			polling-delay-passive = <250>;
148*724ba675SRob Herring			polling-delay = <0>;
149*724ba675SRob Herring			trips {
150*724ba675SRob Herring				cpu1_alert0: cpu-alert-0 {
151*724ba675SRob Herring					temperature = <50000>;
152*724ba675SRob Herring					hysteresis = <5000>;
153*724ba675SRob Herring					type = "active";
154*724ba675SRob Herring				};
155*724ba675SRob Herring				cpu1_alert1: cpu-alert-1 {
156*724ba675SRob Herring					temperature = <60000>;
157*724ba675SRob Herring					hysteresis = <5000>;
158*724ba675SRob Herring					type = "active";
159*724ba675SRob Herring				};
160*724ba675SRob Herring				cpu1_alert2: cpu-alert-2 {
161*724ba675SRob Herring					temperature = <70000>;
162*724ba675SRob Herring					hysteresis = <5000>;
163*724ba675SRob Herring					type = "active";
164*724ba675SRob Herring				};
165*724ba675SRob Herring				cpu1_crit0: cpu-crit-0 {
166*724ba675SRob Herring					temperature = <120000>;
167*724ba675SRob Herring					hysteresis = <0>;
168*724ba675SRob Herring					type = "critical";
169*724ba675SRob Herring				};
170*724ba675SRob Herring				cpu1_alert3: cpu-alert-3 {
171*724ba675SRob Herring					temperature = <70000>;
172*724ba675SRob Herring					hysteresis = <10000>;
173*724ba675SRob Herring					type = "passive";
174*724ba675SRob Herring				};
175*724ba675SRob Herring				cpu1_alert4: cpu-alert-4 {
176*724ba675SRob Herring					temperature = <85000>;
177*724ba675SRob Herring					hysteresis = <10000>;
178*724ba675SRob Herring					type = "passive";
179*724ba675SRob Herring				};
180*724ba675SRob Herring			};
181*724ba675SRob Herring			cooling-maps {
182*724ba675SRob Herring				map0 {
183*724ba675SRob Herring					trip = <&cpu1_alert0>;
184*724ba675SRob Herring					cooling-device = <&fan0 0 1>;
185*724ba675SRob Herring				};
186*724ba675SRob Herring				map1 {
187*724ba675SRob Herring					trip = <&cpu1_alert1>;
188*724ba675SRob Herring					cooling-device = <&fan0 1 2>;
189*724ba675SRob Herring				};
190*724ba675SRob Herring				map2 {
191*724ba675SRob Herring					trip = <&cpu1_alert2>;
192*724ba675SRob Herring					cooling-device = <&fan0 2 3>;
193*724ba675SRob Herring				};
194*724ba675SRob Herring				map3 {
195*724ba675SRob Herring					trip = <&cpu1_alert3>;
196*724ba675SRob Herring					cooling-device = <&cpu0 0 2>,
197*724ba675SRob Herring							 <&cpu1 0 2>,
198*724ba675SRob Herring							 <&cpu2 0 2>,
199*724ba675SRob Herring							 <&cpu3 0 2>,
200*724ba675SRob Herring							 <&cpu4 0 2>,
201*724ba675SRob Herring							 <&cpu5 0 2>,
202*724ba675SRob Herring							 <&cpu6 0 2>,
203*724ba675SRob Herring							 <&cpu7 0 2>;
204*724ba675SRob Herring				};
205*724ba675SRob Herring				cpu1_cooling_map4: map4 {
206*724ba675SRob Herring					trip = <&cpu1_alert4>;
207*724ba675SRob Herring					cooling-device = <&cpu0 3 8>,
208*724ba675SRob Herring							 <&cpu1 3 8>,
209*724ba675SRob Herring							 <&cpu2 3 8>,
210*724ba675SRob Herring							 <&cpu3 3 8>,
211*724ba675SRob Herring							 <&cpu4 3 14>,
212*724ba675SRob Herring							 <&cpu5 3 14>,
213*724ba675SRob Herring							 <&cpu6 3 14>,
214*724ba675SRob Herring							 <&cpu7 3 14>;
215*724ba675SRob Herring				};
216*724ba675SRob Herring			};
217*724ba675SRob Herring		};
218*724ba675SRob Herring		cpu2_thermal: cpu2-thermal {
219*724ba675SRob Herring			thermal-sensors = <&tmu_cpu2>;
220*724ba675SRob Herring			polling-delay-passive = <250>;
221*724ba675SRob Herring			polling-delay = <0>;
222*724ba675SRob Herring			trips {
223*724ba675SRob Herring				cpu2_alert0: cpu-alert-0 {
224*724ba675SRob Herring					temperature = <50000>;
225*724ba675SRob Herring					hysteresis = <5000>;
226*724ba675SRob Herring					type = "active";
227*724ba675SRob Herring				};
228*724ba675SRob Herring				cpu2_alert1: cpu-alert-1 {
229*724ba675SRob Herring					temperature = <60000>;
230*724ba675SRob Herring					hysteresis = <5000>;
231*724ba675SRob Herring					type = "active";
232*724ba675SRob Herring				};
233*724ba675SRob Herring				cpu2_alert2: cpu-alert-2 {
234*724ba675SRob Herring					temperature = <70000>;
235*724ba675SRob Herring					hysteresis = <5000>;
236*724ba675SRob Herring					type = "active";
237*724ba675SRob Herring				};
238*724ba675SRob Herring				cpu2_crit0: cpu-crit-0 {
239*724ba675SRob Herring					temperature = <120000>;
240*724ba675SRob Herring					hysteresis = <0>;
241*724ba675SRob Herring					type = "critical";
242*724ba675SRob Herring				};
243*724ba675SRob Herring				cpu2_alert3: cpu-alert-3 {
244*724ba675SRob Herring					temperature = <70000>;
245*724ba675SRob Herring					hysteresis = <10000>;
246*724ba675SRob Herring					type = "passive";
247*724ba675SRob Herring				};
248*724ba675SRob Herring				cpu2_alert4: cpu-alert-4 {
249*724ba675SRob Herring					temperature = <85000>;
250*724ba675SRob Herring					hysteresis = <10000>;
251*724ba675SRob Herring					type = "passive";
252*724ba675SRob Herring				};
253*724ba675SRob Herring			};
254*724ba675SRob Herring			cooling-maps {
255*724ba675SRob Herring				map0 {
256*724ba675SRob Herring					trip = <&cpu2_alert0>;
257*724ba675SRob Herring					cooling-device = <&fan0 0 1>;
258*724ba675SRob Herring				};
259*724ba675SRob Herring				map1 {
260*724ba675SRob Herring					trip = <&cpu2_alert1>;
261*724ba675SRob Herring					cooling-device = <&fan0 1 2>;
262*724ba675SRob Herring				};
263*724ba675SRob Herring				map2 {
264*724ba675SRob Herring					trip = <&cpu2_alert2>;
265*724ba675SRob Herring					cooling-device = <&fan0 2 3>;
266*724ba675SRob Herring				};
267*724ba675SRob Herring				map3 {
268*724ba675SRob Herring					trip = <&cpu2_alert3>;
269*724ba675SRob Herring					cooling-device = <&cpu0 0 2>,
270*724ba675SRob Herring							 <&cpu1 0 2>,
271*724ba675SRob Herring							 <&cpu2 0 2>,
272*724ba675SRob Herring							 <&cpu3 0 2>,
273*724ba675SRob Herring							 <&cpu4 0 2>,
274*724ba675SRob Herring							 <&cpu5 0 2>,
275*724ba675SRob Herring							 <&cpu6 0 2>,
276*724ba675SRob Herring							 <&cpu7 0 2>;
277*724ba675SRob Herring				};
278*724ba675SRob Herring				cpu2_cooling_map4: map4 {
279*724ba675SRob Herring					trip = <&cpu2_alert4>;
280*724ba675SRob Herring					cooling-device = <&cpu0 3 8>,
281*724ba675SRob Herring							 <&cpu1 3 8>,
282*724ba675SRob Herring							 <&cpu2 3 8>,
283*724ba675SRob Herring							 <&cpu3 3 8>,
284*724ba675SRob Herring							 <&cpu4 3 14>,
285*724ba675SRob Herring							 <&cpu5 3 14>,
286*724ba675SRob Herring							 <&cpu6 3 14>,
287*724ba675SRob Herring							 <&cpu7 3 14>;
288*724ba675SRob Herring				};
289*724ba675SRob Herring			};
290*724ba675SRob Herring		};
291*724ba675SRob Herring		cpu3_thermal: cpu3-thermal {
292*724ba675SRob Herring			thermal-sensors = <&tmu_cpu3>;
293*724ba675SRob Herring			polling-delay-passive = <250>;
294*724ba675SRob Herring			polling-delay = <0>;
295*724ba675SRob Herring			trips {
296*724ba675SRob Herring				cpu3_alert0: cpu-alert-0 {
297*724ba675SRob Herring					temperature = <50000>;
298*724ba675SRob Herring					hysteresis = <5000>;
299*724ba675SRob Herring					type = "active";
300*724ba675SRob Herring				};
301*724ba675SRob Herring				cpu3_alert1: cpu-alert-1 {
302*724ba675SRob Herring					temperature = <60000>;
303*724ba675SRob Herring					hysteresis = <5000>;
304*724ba675SRob Herring					type = "active";
305*724ba675SRob Herring				};
306*724ba675SRob Herring				cpu3_alert2: cpu-alert-2 {
307*724ba675SRob Herring					temperature = <70000>;
308*724ba675SRob Herring					hysteresis = <5000>;
309*724ba675SRob Herring					type = "active";
310*724ba675SRob Herring				};
311*724ba675SRob Herring				cpu3_crit0: cpu-crit-0 {
312*724ba675SRob Herring					temperature = <120000>;
313*724ba675SRob Herring					hysteresis = <0>;
314*724ba675SRob Herring					type = "critical";
315*724ba675SRob Herring				};
316*724ba675SRob Herring				cpu3_alert3: cpu-alert-3 {
317*724ba675SRob Herring					temperature = <70000>;
318*724ba675SRob Herring					hysteresis = <10000>;
319*724ba675SRob Herring					type = "passive";
320*724ba675SRob Herring				};
321*724ba675SRob Herring				cpu3_alert4: cpu-alert-4 {
322*724ba675SRob Herring					temperature = <85000>;
323*724ba675SRob Herring					hysteresis = <10000>;
324*724ba675SRob Herring					type = "passive";
325*724ba675SRob Herring				};
326*724ba675SRob Herring			};
327*724ba675SRob Herring			cooling-maps {
328*724ba675SRob Herring				map0 {
329*724ba675SRob Herring					trip = <&cpu3_alert0>;
330*724ba675SRob Herring					cooling-device = <&fan0 0 1>;
331*724ba675SRob Herring				};
332*724ba675SRob Herring				map1 {
333*724ba675SRob Herring					trip = <&cpu3_alert1>;
334*724ba675SRob Herring					cooling-device = <&fan0 1 2>;
335*724ba675SRob Herring				};
336*724ba675SRob Herring				map2 {
337*724ba675SRob Herring					trip = <&cpu3_alert2>;
338*724ba675SRob Herring					cooling-device = <&fan0 2 3>;
339*724ba675SRob Herring				};
340*724ba675SRob Herring				map3 {
341*724ba675SRob Herring					trip = <&cpu3_alert3>;
342*724ba675SRob Herring					cooling-device = <&cpu0 0 2>,
343*724ba675SRob Herring							 <&cpu1 0 2>,
344*724ba675SRob Herring							 <&cpu2 0 2>,
345*724ba675SRob Herring							 <&cpu3 0 2>,
346*724ba675SRob Herring							 <&cpu4 0 2>,
347*724ba675SRob Herring							 <&cpu5 0 2>,
348*724ba675SRob Herring							 <&cpu6 0 2>,
349*724ba675SRob Herring							 <&cpu7 0 2>;
350*724ba675SRob Herring				};
351*724ba675SRob Herring				cpu3_cooling_map4: map4 {
352*724ba675SRob Herring					trip = <&cpu3_alert4>;
353*724ba675SRob Herring					cooling-device = <&cpu0 3 8>,
354*724ba675SRob Herring							 <&cpu1 3 8>,
355*724ba675SRob Herring							 <&cpu2 3 8>,
356*724ba675SRob Herring							 <&cpu3 3 8>,
357*724ba675SRob Herring							 <&cpu4 3 14>,
358*724ba675SRob Herring							 <&cpu5 3 14>,
359*724ba675SRob Herring							 <&cpu6 3 14>,
360*724ba675SRob Herring							 <&cpu7 3 14>;
361*724ba675SRob Herring				};
362*724ba675SRob Herring			};
363*724ba675SRob Herring		};
364*724ba675SRob Herring		gpu_thermal: gpu-thermal {
365*724ba675SRob Herring			thermal-sensors = <&tmu_gpu>;
366*724ba675SRob Herring			polling-delay-passive = <250>;
367*724ba675SRob Herring			polling-delay = <0>;
368*724ba675SRob Herring			trips {
369*724ba675SRob Herring				gpu_alert0: gpu-alert-0 {
370*724ba675SRob Herring					temperature = <50000>;
371*724ba675SRob Herring					hysteresis = <5000>;
372*724ba675SRob Herring					type = "active";
373*724ba675SRob Herring				};
374*724ba675SRob Herring				gpu_alert1: gpu-alert-1 {
375*724ba675SRob Herring					temperature = <60000>;
376*724ba675SRob Herring					hysteresis = <5000>;
377*724ba675SRob Herring					type = "active";
378*724ba675SRob Herring				};
379*724ba675SRob Herring				gpu_alert2: gpu-alert-2 {
380*724ba675SRob Herring					temperature = <70000>;
381*724ba675SRob Herring					hysteresis = <5000>;
382*724ba675SRob Herring					type = "active";
383*724ba675SRob Herring				};
384*724ba675SRob Herring				gpu_crit0: gpu-crit-0 {
385*724ba675SRob Herring					temperature = <120000>;
386*724ba675SRob Herring					hysteresis = <0>;
387*724ba675SRob Herring					type = "critical";
388*724ba675SRob Herring				};
389*724ba675SRob Herring				gpu_alert3: gpu-alert-3 {
390*724ba675SRob Herring					temperature = <70000>;
391*724ba675SRob Herring					hysteresis = <10000>;
392*724ba675SRob Herring					type = "passive";
393*724ba675SRob Herring				};
394*724ba675SRob Herring				gpu_alert4: gpu-alert-4 {
395*724ba675SRob Herring					temperature = <85000>;
396*724ba675SRob Herring					hysteresis = <10000>;
397*724ba675SRob Herring					type = "passive";
398*724ba675SRob Herring				};
399*724ba675SRob Herring			};
400*724ba675SRob Herring			cooling-maps {
401*724ba675SRob Herring				map0 {
402*724ba675SRob Herring					trip = <&gpu_alert0>;
403*724ba675SRob Herring					cooling-device = <&fan0 0 1>;
404*724ba675SRob Herring				};
405*724ba675SRob Herring				map1 {
406*724ba675SRob Herring					trip = <&gpu_alert1>;
407*724ba675SRob Herring					cooling-device = <&fan0 1 2>;
408*724ba675SRob Herring				};
409*724ba675SRob Herring				map2 {
410*724ba675SRob Herring					trip = <&gpu_alert2>;
411*724ba675SRob Herring					cooling-device = <&fan0 2 3>;
412*724ba675SRob Herring				};
413*724ba675SRob Herring				map3 {
414*724ba675SRob Herring					trip = <&gpu_alert3>;
415*724ba675SRob Herring					cooling-device = <&gpu 0 2>;
416*724ba675SRob Herring				};
417*724ba675SRob Herring				map4 {
418*724ba675SRob Herring					trip = <&gpu_alert4>;
419*724ba675SRob Herring					cooling-device = <&gpu 3 6>;
420*724ba675SRob Herring				};
421*724ba675SRob Herring			};
422*724ba675SRob Herring		};
423*724ba675SRob Herring	};
424*724ba675SRob Herring};
425*724ba675SRob Herring
426*724ba675SRob Herring&buck10_reg {
427*724ba675SRob Herring	/* Supplies vmmc-supply of mmc_0 */
428*724ba675SRob Herring	regulator-always-on;
429*724ba675SRob Herring	regulator-boot-on;
430*724ba675SRob Herring};
431*724ba675SRob Herring
432*724ba675SRob Herring&hdmi {
433*724ba675SRob Herring	status = "okay";
434*724ba675SRob Herring	ddc = <&i2c_2>;
435*724ba675SRob Herring	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
436*724ba675SRob Herring	pinctrl-names = "default";
437*724ba675SRob Herring	pinctrl-0 = <&hdmi_hpd_irq>;
438*724ba675SRob Herring
439*724ba675SRob Herring	vdd_osc-supply = <&ldo7_reg>;
440*724ba675SRob Herring	vdd_pll-supply = <&ldo6_reg>;
441*724ba675SRob Herring	vdd-supply = <&ldo6_reg>;
442*724ba675SRob Herring};
443*724ba675SRob Herring
444*724ba675SRob Herring&hdmicec {
445*724ba675SRob Herring	status = "okay";
446*724ba675SRob Herring	needs-hpd;
447*724ba675SRob Herring};
448*724ba675SRob Herring
449*724ba675SRob Herring&i2c_2 {
450*724ba675SRob Herring	samsung,i2c-sda-delay = <100>;
451*724ba675SRob Herring	samsung,i2c-max-bus-freq = <66000>;
452*724ba675SRob Herring	/* used by HDMI DDC */
453*724ba675SRob Herring	status = "okay";
454*724ba675SRob Herring};
455*724ba675SRob Herring
456*724ba675SRob Herring&ldo26_reg {
457*724ba675SRob Herring	regulator-min-microvolt = <3000000>;
458*724ba675SRob Herring	regulator-max-microvolt = <3000000>;
459*724ba675SRob Herring	regulator-always-on;
460*724ba675SRob Herring};
461*724ba675SRob Herring
462*724ba675SRob Herring&mixer {
463*724ba675SRob Herring	status = "okay";
464*724ba675SRob Herring};
465*724ba675SRob Herring
466*724ba675SRob Herring&mmc_0 {
467*724ba675SRob Herring	status = "okay";
468*724ba675SRob Herring	mmc-pwrseq = <&emmc_pwrseq>;
469*724ba675SRob Herring	card-detect-delay = <200>;
470*724ba675SRob Herring	samsung,dw-mshc-ciu-div = <3>;
471*724ba675SRob Herring	samsung,dw-mshc-sdr-timing = <0 4>;
472*724ba675SRob Herring	samsung,dw-mshc-ddr-timing = <0 2>;
473*724ba675SRob Herring	samsung,dw-mshc-hs400-timing = <0 2>;
474*724ba675SRob Herring	samsung,read-strobe-delay = <90>;
475*724ba675SRob Herring	pinctrl-names = "default";
476*724ba675SRob Herring	pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8 &sd0_cd &sd0_rclk>;
477*724ba675SRob Herring	bus-width = <8>;
478*724ba675SRob Herring	cap-mmc-highspeed;
479*724ba675SRob Herring	mmc-ddr-1_8v;
480*724ba675SRob Herring	mmc-hs200-1_8v;
481*724ba675SRob Herring	mmc-hs400-1_8v;
482*724ba675SRob Herring	max-frequency = <200000000>;
483*724ba675SRob Herring	vmmc-supply = <&ldo18_reg>;
484*724ba675SRob Herring	vqmmc-supply = <&ldo3_reg>;
485*724ba675SRob Herring};
486*724ba675SRob Herring
487*724ba675SRob Herring&pinctrl_0 {
488*724ba675SRob Herring	power_key: power-key-pins {
489*724ba675SRob Herring		samsung,pins = "gpx0-3";
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 = <EXYNOS5420_PIN_DRV_LV1>;
493*724ba675SRob Herring	};
494*724ba675SRob Herring
495*724ba675SRob Herring	hdmi_hpd_irq: hdmi-hpd-irq-pins {
496*724ba675SRob Herring		samsung,pins = "gpx3-7";
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 = <EXYNOS5420_PIN_DRV_LV1>;
500*724ba675SRob Herring	};
501*724ba675SRob Herring};
502*724ba675SRob Herring
503*724ba675SRob Herring&pinctrl_1 {
504*724ba675SRob Herring	emmc_nrst_pin: emmc-nrst-pins {
505*724ba675SRob Herring		samsung,pins = "gpd1-0";
506*724ba675SRob Herring		samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
507*724ba675SRob Herring		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
508*724ba675SRob Herring		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
509*724ba675SRob Herring	};
510*724ba675SRob Herring};
511