blob: dbf0306896f65e23fdcb684e3b0327644375089d [file] [log] [blame]
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +01001// SPDX-License-Identifier: GPL-2.0
Sachin Kamat9dd51c92013-12-12 07:32:39 +09002/*
3 * Samsung's Exynos5420 based Arndale Octa board device tree source
4 *
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +01007 */
Sachin Kamat9dd51c92013-12-12 07:32:39 +09008
9/dts-v1/;
10#include "exynos5420.dtsi"
Krzysztof Kozlowski4f0d20e2015-12-11 15:05:56 +090011#include "exynos5420-cpus.dtsi"
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090012#include <dt-bindings/gpio/gpio.h>
Sachin Kamatf4deb682014-02-24 08:47:29 +090013#include <dt-bindings/interrupt-controller/irq.h>
Sachin Kamat0c6f6512014-02-24 08:54:51 +090014#include <dt-bindings/input/input.h>
Krzysztof Kozlowskice9940a2015-05-02 14:40:08 +090015#include <dt-bindings/clock/samsung,s2mps11.h>
Sachin Kamat9dd51c92013-12-12 07:32:39 +090016
17/ {
18 model = "Insignal Arndale Octa evaluation board based on EXYNOS5420";
Sachin Kamat8bdb31b2014-03-21 02:17:22 +090019 compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5";
Sachin Kamat9dd51c92013-12-12 07:32:39 +090020
Javier Martinez Canillasa0eb1092016-09-01 11:06:56 +020021 memory@20000000 {
Javier Martinez Canillas12676ee2016-09-01 11:06:53 +020022 device_type = "memory";
Sachin Kamat9dd51c92013-12-12 07:32:39 +090023 reg = <0x20000000 0x80000000>;
24 };
25
26 chosen {
Krzysztof Kozlowskif35020b2019-02-18 18:32:56 +010027 stdout-path = "serial3:115200n8";
Sachin Kamat9dd51c92013-12-12 07:32:39 +090028 };
29
Rob Herring8dccafa2017-10-13 12:54:51 -050030 firmware@2073000 {
Tushar Behera345e9bf2014-05-31 02:21:50 +090031 compatible = "samsung,secure-firmware";
32 reg = <0x02073000 0x1000>;
33 };
34
Sachin Kamat9dd51c92013-12-12 07:32:39 +090035 fixed-rate-clocks {
36 oscclk {
37 compatible = "samsung,exynos5420-oscclk";
38 clock-frequency = <24000000>;
39 };
40 };
41
Sachin Kamat0c6f6512014-02-24 08:54:51 +090042 gpio_keys {
43 compatible = "gpio-keys";
44
45 wakeup {
46 label = "SW-TACT1";
Javier Martinez Canillas31b99032015-10-08 07:39:58 +090047 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
Sachin Kamat0c6f6512014-02-24 08:54:51 +090048 linux,code = <KEY_WAKEUP>;
Sudeep Holla36a02822016-01-28 15:59:58 +000049 wakeup-source;
Sachin Kamat0c6f6512014-02-24 08:54:51 +090050 };
51 };
Sachin Kamat9dd51c92013-12-12 07:32:39 +090052};
Sjoerd Simons4e033942014-09-25 17:32:31 +090053
Krzysztof Kozlowski23c85672019-02-23 21:29:32 +010054&adc {
55 vdd-supply = <&ldo4_reg>;
56 status = "okay";
57};
58
Krzysztof Kozlowskieb1d0a52019-02-18 20:48:41 +010059&cci {
60 status = "disabled";
61};
62
Bartlomiej Zolnierkiewicz8b51c5e2015-12-15 18:33:15 +010063&cpu0 {
64 cpu-supply = <&buck2_reg>;
65};
66
67&cpu4 {
68 cpu-supply = <&buck6_reg>;
69};
70
Krzysztof Kozlowski29a0a2a2019-02-18 20:48:40 +010071&cpu0_thermal {
72 trips {
73 cpu0_alert0: cpu-alert-0 {
74 temperature = <60000>; /* millicelsius */
75 hysteresis = <5000>; /* millicelsius */
76 type = "passive";
77 };
78 cpu0_alert1: cpu-alert-1 {
79 temperature = <80000>; /* millicelsius */
80 hysteresis = <10000>; /* millicelsius */
81 type = "passive";
82 };
83 cpu0_alert2: cpu-alert-2 {
84 temperature = <110000>; /* millicelsius */
85 hysteresis = <10000>; /* millicelsius */
86 type = "passive";
87 };
88 cpu0_crit0: cpu-crit-0 {
89 temperature = <120000>; /* millicelsius */
90 hysteresis = <0>; /* millicelsius */
91 type = "critical";
92 };
93 };
94
95 cooling-maps {
96 /*
97 * Reduce the CPU speed by 2 steps, down to: 1600 MHz
98 * and 1100 MHz.
99 */
100 map0 {
101 trip = <&cpu0_alert0>;
102 cooling-device = <&cpu0 0 2>,
103 <&cpu1 0 2>,
104 <&cpu2 0 2>,
105 <&cpu3 0 2>,
106 <&cpu4 0 2>,
107 <&cpu5 0 2>,
108 <&cpu6 0 2>,
109 <&cpu7 0 2>;
110 };
111
112 /*
113 * Reduce the CPU speed down to 1200 MHz big (6 steps)
114 * and 800 MHz LITTLE (5 steps).
115 */
116 map1 {
117 trip = <&cpu0_alert1>;
118 cooling-device = <&cpu0 3 6>,
119 <&cpu1 3 6>,
120 <&cpu2 3 6>,
121 <&cpu3 3 6>,
122 <&cpu4 3 5>,
123 <&cpu5 3 5>,
124 <&cpu6 3 5>,
125 <&cpu7 3 5>;
126 };
127
128 /*
129 * Reduce the CPU speed as much as possible, down to 700 MHz
130 * big (11 steps) and 600 MHz LITTLE (7 steps).
131 */
132 map2 {
133 trip = <&cpu0_alert2>;
134 cooling-device = <&cpu0 6 11>,
135 <&cpu1 6 11>,
136 <&cpu2 6 11>,
137 <&cpu3 6 11>,
138 <&cpu4 5 7>,
139 <&cpu5 5 7>,
140 <&cpu6 5 7>,
141 <&cpu7 5 7>;
142 };
143 };
144};
145
146&cpu1_thermal {
147 trips {
148 cpu1_alert0: cpu-alert-0 {
149 temperature = <60000>; /* millicelsius */
150 hysteresis = <5000>; /* millicelsius */
151 type = "passive";
152 };
153 cpu1_alert1: cpu-alert-1 {
154 temperature = <80000>; /* millicelsius */
155 hysteresis = <10000>; /* millicelsius */
156 type = "passive";
157 };
158 cpu1_alert2: cpu-alert-2 {
159 temperature = <110000>; /* millicelsius */
160 hysteresis = <10000>; /* millicelsius */
161 type = "passive";
162 };
163 cpu1_crit0: cpu-crit-0 {
164 temperature = <120000>; /* millicelsius */
165 hysteresis = <0>; /* millicelsius */
166 type = "critical";
167 };
168 };
169
170 cooling-maps {
171 map0 {
172 trip = <&cpu1_alert0>;
173 cooling-device = <&cpu0 0 2>,
174 <&cpu1 0 2>,
175 <&cpu2 0 2>,
176 <&cpu3 0 2>,
177 <&cpu4 0 2>,
178 <&cpu5 0 2>,
179 <&cpu6 0 2>,
180 <&cpu7 0 2>;
181 };
182
183 map1 {
184 trip = <&cpu1_alert1>;
185 cooling-device = <&cpu0 3 6>,
186 <&cpu1 3 6>,
187 <&cpu2 3 6>,
188 <&cpu3 3 6>,
189 <&cpu4 3 5>,
190 <&cpu5 3 5>,
191 <&cpu6 3 5>,
192 <&cpu7 3 5>;
193 };
194
195 map2 {
196 trip = <&cpu1_alert2>;
197 cooling-device = <&cpu0 6 11>,
198 <&cpu1 6 11>,
199 <&cpu2 6 11>,
200 <&cpu3 6 11>,
201 <&cpu4 5 7>,
202 <&cpu5 5 7>,
203 <&cpu6 5 7>,
204 <&cpu7 5 7>;
205 };
206 };
207};
208
209&cpu2_thermal {
210 trips {
211 cpu2_alert0: cpu-alert-0 {
212 temperature = <60000>; /* millicelsius */
213 hysteresis = <5000>; /* millicelsius */
214 type = "passive";
215 };
216 cpu2_alert1: cpu-alert-1 {
217 temperature = <80000>; /* millicelsius */
218 hysteresis = <10000>; /* millicelsius */
219 type = "passive";
220 };
221 cpu2_alert2: cpu-alert-2 {
222 temperature = <110000>; /* millicelsius */
223 hysteresis = <10000>; /* millicelsius */
224 type = "passive";
225 };
226 cpu2_crit0: cpu-crit-0 {
227 temperature = <120000>; /* millicelsius */
228 hysteresis = <0>; /* millicelsius */
229 type = "critical";
230 };
231 };
232
233 cooling-maps {
234 map0 {
235 trip = <&cpu2_alert0>;
236 cooling-device = <&cpu0 0 2>,
237 <&cpu1 0 2>,
238 <&cpu2 0 2>,
239 <&cpu3 0 2>,
240 <&cpu4 0 2>,
241 <&cpu5 0 2>,
242 <&cpu6 0 2>,
243 <&cpu7 0 2>;
244 };
245
246 map1 {
247 trip = <&cpu2_alert1>;
248 cooling-device = <&cpu0 3 6>,
249 <&cpu1 3 6>,
250 <&cpu2 3 6>,
251 <&cpu3 3 6>,
252 <&cpu4 3 5>,
253 <&cpu5 3 5>,
254 <&cpu6 3 5>,
255 <&cpu7 3 5>;
256 };
257
258 map2 {
259 trip = <&cpu2_alert2>;
260 cooling-device = <&cpu0 6 11>,
261 <&cpu1 6 11>,
262 <&cpu2 6 11>,
263 <&cpu3 6 11>,
264 <&cpu4 6 7>,
265 <&cpu5 6 7>,
266 <&cpu6 6 7>,
267 <&cpu7 6 7>;
268 };
269 };
270};
271
272&cpu3_thermal {
273 trips {
274 cpu3_alert0: cpu-alert-0 {
275 temperature = <60000>; /* millicelsius */
276 hysteresis = <5000>; /* millicelsius */
277 type = "passive";
278 };
279 cpu3_alert1: cpu-alert-1 {
280 temperature = <80000>; /* millicelsius */
281 hysteresis = <10000>; /* millicelsius */
282 type = "passive";
283 };
284 cpu3_alert2: cpu-alert-2 {
285 temperature = <110000>; /* millicelsius */
286 hysteresis = <10000>; /* millicelsius */
287 type = "passive";
288 };
289 cpu3_crit0: cpu-crit-0 {
290 temperature = <120000>; /* millicelsius */
291 hysteresis = <0>; /* millicelsius */
292 type = "critical";
293 };
294 };
295
296 cooling-maps {
297 map0 {
298 trip = <&cpu3_alert0>;
299 cooling-device = <&cpu0 0 2>,
300 <&cpu1 0 2>,
301 <&cpu2 0 2>,
302 <&cpu3 0 2>,
303 <&cpu4 0 2>,
304 <&cpu5 0 2>,
305 <&cpu6 0 2>,
306 <&cpu7 0 2>;
307 };
308
309 map1 {
310 trip = <&cpu3_alert1>;
311 cooling-device = <&cpu0 3 6>,
312 <&cpu1 3 6>,
313 <&cpu2 3 6>,
314 <&cpu3 3 6>,
315 <&cpu4 3 5>,
316 <&cpu5 3 5>,
317 <&cpu6 3 5>,
318 <&cpu7 3 5>;
319 };
320
321 map2 {
322 trip = <&cpu3_alert2>;
323 cooling-device = <&cpu0 6 11>,
324 <&cpu1 6 11>,
325 <&cpu2 6 11>,
326 <&cpu3 6 11>,
327 <&cpu4 5 7>,
328 <&cpu5 5 7>,
329 <&cpu6 5 7>,
330 <&cpu7 5 7>;
331 };
332 };
333};
334
Milo Kimd7ec05c2016-08-31 15:08:47 +0900335&hdmi {
336 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
337 vdd_osc-supply = <&ldo7_reg>;
338 vdd_pll-supply = <&ldo6_reg>;
339 vdd-supply = <&ldo6_reg>;
340 ddc = <&i2c_2>;
341 status = "okay";
342};
343
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900344&hsi2c_4 {
345 status = "okay";
346
347 s2mps11_pmic@66 {
348 compatible = "samsung,s2mps11-pmic";
349 reg = <0x66>;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900350
351 interrupt-parent = <&gpx3>;
352 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
353 pinctrl-names = "default";
354 pinctrl-0 = <&s2mps11_irq>;
355
356 s2mps11_osc: clocks {
Krzysztof Kozlowski3f9d8672018-07-25 17:55:16 +0200357 compatible = "samsung,s2mps11-clk";
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900358 #clock-cells = <1>;
359 clock-output-names = "s2mps11_ap",
360 "s2mps11_cp", "s2mps11_bt";
361 };
362
363 regulators {
364 ldo1_reg: LDO1 {
365 regulator-name = "PVDD_ALIVE_1V0";
366 regulator-min-microvolt = <1000000>;
367 regulator-max-microvolt = <1000000>;
368 regulator-always-on;
369 };
370
371 ldo2_reg: LDO2 {
372 regulator-name = "PVDD_APIO_1V8";
373 regulator-min-microvolt = <1800000>;
374 regulator-max-microvolt = <1800000>;
Krzysztof Kozlowski5ab99cf2019-03-14 21:02:17 +0100375 regulator-always-on;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900376 };
377
378 ldo3_reg: LDO3 {
379 regulator-name = "PVDD_APIO_MMCON_1V8";
380 regulator-min-microvolt = <1800000>;
381 regulator-max-microvolt = <1800000>;
Krzysztof Kozlowski9a435fb2019-03-09 16:00:39 +0100382 /*
383 * Must be always on, even though there is
384 * a consumer (mmc_0). Otherwise the board
385 * does not reboot with vendor U-Boot
386 * (Linaro for Arndale Octa, v2012.07).
387 */
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900388 regulator-always-on;
389 };
390
391 ldo4_reg: LDO4 {
392 regulator-name = "PVDD_ADC_1V8";
393 regulator-min-microvolt = <1800000>;
394 regulator-max-microvolt = <1800000>;
395 };
396
397 ldo5_reg: LDO5 {
398 regulator-name = "PVDD_PLL_1V8";
399 regulator-min-microvolt = <1800000>;
400 regulator-max-microvolt = <1800000>;
401 regulator-always-on;
402 };
403
404 ldo6_reg: LDO6 {
405 regulator-name = "PVDD_ANAIP_1V0";
406 regulator-min-microvolt = <1000000>;
407 regulator-max-microvolt = <1000000>;
408 };
409
410 ldo7_reg: LDO7 {
411 regulator-name = "PVDD_ANAIP_1V8";
412 regulator-min-microvolt = <1800000>;
413 regulator-max-microvolt = <1800000>;
414 };
415
416 ldo8_reg: LDO8 {
417 regulator-name = "PVDD_ABB_1V8";
418 regulator-min-microvolt = <1800000>;
419 regulator-max-microvolt = <1800000>;
Krzysztof Kozlowski5ab99cf2019-03-14 21:02:17 +0100420 regulator-always-on;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900421 };
422
423 ldo9_reg: LDO9 {
424 regulator-name = "PVDD_USB_3V3";
425 regulator-min-microvolt = <3000000>;
426 regulator-max-microvolt = <3000000>;
427 regulator-always-on;
428 };
429
430 ldo10_reg: LDO10 {
431 regulator-name = "PVDD_PRE_1V8";
432 regulator-min-microvolt = <1800000>;
433 regulator-max-microvolt = <1800000>;
434 regulator-always-on;
435 };
436
437 ldo11_reg: LDO11 {
438 regulator-name = "PVDD_USB_1V0";
439 regulator-min-microvolt = <1000000>;
440 regulator-max-microvolt = <1000000>;
441 regulator-always-on;
442 };
443
444 ldo12_reg: LDO12 {
445 regulator-name = "PVDD_HSIC_1V8";
446 regulator-min-microvolt = <1800000>;
447 regulator-max-microvolt = <1800000>;
448 };
449
450 ldo13_reg: LDO13 {
451 regulator-name = "PVDD_APIO_MMCOFF_2V8";
Krzysztof Kozlowski3a6a6d02019-03-09 16:00:38 +0100452 regulator-min-microvolt = <1800000>;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900453 regulator-max-microvolt = <2800000>;
454 };
455
Krzysztof Kozlowski36194522019-02-18 18:32:57 +0100456 ldo14_reg: LDO14 {
457 /* Unused */
458 regulator-name = "PVDD_LDO14";
459 regulator-min-microvolt = <800000>;
460 regulator-max-microvolt = <3950000>;
461 };
462
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900463 ldo15_reg: LDO15 {
464 regulator-name = "PVDD_PERI_2V8";
465 regulator-min-microvolt = <3300000>;
466 regulator-max-microvolt = <3300000>;
467 };
468
469 ldo16_reg: LDO16 {
470 regulator-name = "PVDD_PERI_3V3";
471 regulator-min-microvolt = <2200000>;
472 regulator-max-microvolt = <2200000>;
473 };
474
Krzysztof Kozlowski36194522019-02-18 18:32:57 +0100475 ldo17_reg: LDO17 {
476 /* Unused */
477 regulator-name = "PVDD_LDO17";
478 regulator-min-microvolt = <800000>;
479 regulator-max-microvolt = <3950000>;
480 };
481
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900482 ldo18_reg: LDO18 {
483 regulator-name = "PVDD_EMMC_1V8";
484 regulator-min-microvolt = <1800000>;
485 regulator-max-microvolt = <1800000>;
486 };
487
488 ldo19_reg: LDO19 {
489 regulator-name = "PVDD_TFLASH_2V8";
490 regulator-min-microvolt = <2800000>;
491 regulator-max-microvolt = <2800000>;
492 };
493
494 ldo20_reg: LDO20 {
495 regulator-name = "PVDD_BTWIFI_1V8";
496 regulator-min-microvolt = <1800000>;
497 regulator-max-microvolt = <1800000>;
498 };
499
500 ldo21_reg: LDO21 {
501 regulator-name = "PVDD_CAM1IO_1V8";
502 regulator-min-microvolt = <1800000>;
503 regulator-max-microvolt = <1800000>;
504 };
505
Krzysztof Kozlowski36194522019-02-18 18:32:57 +0100506 ldo22_reg: LDO22 {
507 /* Unused */
508 regulator-name = "PVDD_LDO22";
509 regulator-min-microvolt = <800000>;
510 regulator-max-microvolt = <2375000>;
511 };
512
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900513 ldo23_reg: LDO23 {
514 regulator-name = "PVDD_MIFS_1V1";
Krzysztof Kozlowski30082e72019-03-09 16:00:37 +0100515 regulator-min-microvolt = <800000>;
516 regulator-max-microvolt = <1100000>;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900517 regulator-always-on;
518 };
519
520 ldo24_reg: LDO24 {
521 regulator-name = "PVDD_CAM1_AVDD_2V8";
522 regulator-min-microvolt = <2800000>;
523 regulator-max-microvolt = <2800000>;
524 };
525
Krzysztof Kozlowski36194522019-02-18 18:32:57 +0100526 ldo25_reg: LDO25 {
527 /* Unused */
528 regulator-name = "PVDD_LDO25";
529 regulator-min-microvolt = <800000>;
530 regulator-max-microvolt = <3950000>;
531 };
532
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900533 ldo26_reg: LDO26 {
534 regulator-name = "PVDD_CAM0_AF_2V8";
535 regulator-min-microvolt = <3000000>;
536 regulator-max-microvolt = <3000000>;
537 };
538
539 ldo27_reg: LDO27 {
540 regulator-name = "PVDD_G3DS_1V0";
Krzysztof Kozlowski30082e72019-03-09 16:00:37 +0100541 regulator-min-microvolt = <800000>;
542 regulator-max-microvolt = <1100000>;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900543 };
544
545 ldo28_reg: LDO28 {
546 regulator-name = "PVDD_TSP_3V3";
547 regulator-min-microvolt = <3300000>;
548 regulator-max-microvolt = <3300000>;
549 };
550
551 ldo29_reg: LDO29 {
552 regulator-name = "PVDD_AUDIO_1V8";
553 regulator-min-microvolt = <1800000>;
554 regulator-max-microvolt = <1800000>;
555 };
556
Krzysztof Kozlowski36194522019-02-18 18:32:57 +0100557 ldo30_reg: LDO30 {
558 /* Unused */
559 regulator-name = "PVDD_LDO30";
560 regulator-min-microvolt = <800000>;
561 regulator-max-microvolt = <3950000>;
562 };
563
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900564 ldo31_reg: LDO31 {
565 regulator-name = "PVDD_PERI_1V8";
566 regulator-min-microvolt = <1800000>;
567 regulator-max-microvolt = <1800000>;
568 };
569
570 ldo32_reg: LDO32 {
571 regulator-name = "PVDD_LCD_1V8";
572 regulator-min-microvolt = <1800000>;
573 regulator-max-microvolt = <1800000>;
574 };
575
576 ldo33_reg: LDO33 {
577 regulator-name = "PVDD_CAM0IO_1V8";
578 regulator-min-microvolt = <1800000>;
579 regulator-max-microvolt = <1800000>;
580 };
581
Krzysztof Kozlowski36194522019-02-18 18:32:57 +0100582 ldo34_reg: LDO34 {
583 /* Unused */
584 regulator-name = "PVDD_LDO34";
585 regulator-min-microvolt = <800000>;
586 regulator-max-microvolt = <3950000>;
587 };
588
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900589 ldo35_reg: LDO35 {
590 regulator-name = "PVDD_CAM0_DVDD_1V2";
591 regulator-min-microvolt = <1200000>;
592 regulator-max-microvolt = <1200000>;
593 };
594
Krzysztof Kozlowski36194522019-02-18 18:32:57 +0100595 ldo36_reg: LDO36 {
596 /* Unused */
597 regulator-name = "PVDD_LDO36";
598 regulator-min-microvolt = <800000>;
599 regulator-max-microvolt = <3950000>;
600 };
601
602 ldo37_reg: LDO37 {
603 /* Unused */
604 regulator-name = "PVDD_LDO37";
605 regulator-min-microvolt = <800000>;
606 regulator-max-microvolt = <3950000>;
607 };
608
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900609 ldo38_reg: LDO38 {
610 regulator-name = "PVDD_CAM0_AVDD_2V8";
611 regulator-min-microvolt = <2800000>;
612 regulator-max-microvolt = <2800000>;
613 };
614
615 buck1_reg: BUCK1 {
616 regulator-name = "PVDD_MIF_1V1";
617 regulator-min-microvolt = <800000>;
618 regulator-max-microvolt = <1100000>;
619 regulator-always-on;
620 };
621
622 buck2_reg: BUCK2 {
623 regulator-name = "vdd_arm";
624 regulator-min-microvolt = <800000>;
625 regulator-max-microvolt = <1000000>;
626 regulator-always-on;
627 };
628
629 buck3_reg: BUCK3 {
630 regulator-name = "PVDD_INT_1V0";
631 regulator-min-microvolt = <800000>;
632 regulator-max-microvolt = <1000000>;
633 regulator-always-on;
634 };
635
636 buck4_reg: BUCK4 {
637 regulator-name = "PVDD_G3D_1V0";
638 regulator-min-microvolt = <800000>;
639 regulator-max-microvolt = <1000000>;
640 };
641
642 buck5_reg: BUCK5 {
643 regulator-name = "PVDD_LPDDR3_1V2";
644 regulator-min-microvolt = <800000>;
645 regulator-max-microvolt = <1200000>;
646 regulator-always-on;
647 };
648
649 buck6_reg: BUCK6 {
650 regulator-name = "PVDD_KFC_1V0";
651 regulator-min-microvolt = <800000>;
652 regulator-max-microvolt = <1000000>;
653 regulator-always-on;
654 };
655
656 buck7_reg: BUCK7 {
657 regulator-name = "VIN_LLDO_1V4";
658 regulator-min-microvolt = <800000>;
659 regulator-max-microvolt = <1400000>;
660 regulator-always-on;
661 };
662
663 buck8_reg: BUCK8 {
664 regulator-name = "VIN_MLDO_2V0";
665 regulator-min-microvolt = <800000>;
666 regulator-max-microvolt = <2000000>;
667 regulator-always-on;
668 };
669
670 buck9_reg: BUCK9 {
671 regulator-name = "VIN_HLDO_3V5";
672 regulator-min-microvolt = <3000000>;
673 regulator-max-microvolt = <3500000>;
674 regulator-always-on;
675 };
676
677 buck10_reg: BUCK10 {
678 regulator-name = "PVDD_EMMCF_2V8";
679 regulator-min-microvolt = <2800000>;
680 regulator-max-microvolt = <2800000>;
681 };
682 };
683 };
684};
685
Milo Kimd7ec05c2016-08-31 15:08:47 +0900686&i2c_2 {
687 status = "okay";
688};
689
Marek Szyprowski1cb686c2017-09-15 11:11:23 +0200690&mixer {
691 status = "okay";
692};
693
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900694&mmc_0 {
695 status = "okay";
Krzysztof Kozlowski9a435fb2019-03-09 16:00:39 +0100696 non-removable;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900697 card-detect-delay = <200>;
698 samsung,dw-mshc-ciu-div = <3>;
699 samsung,dw-mshc-sdr-timing = <0 4>;
700 samsung,dw-mshc-ddr-timing = <0 2>;
701 pinctrl-names = "default";
702 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
703 vmmc-supply = <&ldo10_reg>;
Krzysztof Kozlowski9a435fb2019-03-09 16:00:39 +0100704 vqmmc-supply = <&ldo3_reg>;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900705 bus-width = <8>;
706 cap-mmc-highspeed;
Krzysztof Kozlowski9a435fb2019-03-09 16:00:39 +0100707 mmc-hs200-1_8v;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900708};
709
710&mmc_2 {
711 status = "okay";
712 card-detect-delay = <200>;
713 samsung,dw-mshc-ciu-div = <3>;
Krzysztof Kozlowski3a6a6d02019-03-09 16:00:38 +0100714 samsung,dw-mshc-sdr-timing = <0 4>;
715 samsung,dw-mshc-ddr-timing = <0 2>;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900716 pinctrl-names = "default";
717 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
718 vmmc-supply = <&ldo19_reg>;
719 vqmmc-supply = <&ldo13_reg>;
720 bus-width = <4>;
721 cap-sd-highspeed;
Krzysztof Kozlowski3a6a6d02019-03-09 16:00:38 +0100722 sd-uhs-sdr50;
723 sd-uhs-sdr104;
724 sd-uhs-ddr50;
Krzysztof Kozlowski5e6b2882015-04-12 20:56:51 +0900725};
726
Krzysztof Kozlowski1fed2252015-04-02 16:15:20 +0200727&pinctrl_0 {
728 s2mps11_irq: s2mps11-irq {
729 samsung,pins = "gpx3-2";
Krzysztof Kozlowskia2f2bc32016-09-04 13:04:14 +0200730 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
731 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
732 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
Krzysztof Kozlowski1fed2252015-04-02 16:15:20 +0200733 };
734};
Krzysztof Kozlowskice9940a2015-05-02 14:40:08 +0900735
736&rtc {
737 status = "okay";
738 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
739 clock-names = "rtc", "rtc_src";
740};
Krzysztof Kozlowskieb1d0a52019-02-18 20:48:41 +0100741
742&usbdrd_dwc3_1 {
743 dr_mode = "host";
744};