1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel Odroid XU3/XU3-Lite/XU4/HC1 boards core device tree source
5 * Copyright (c) 2017 Marek Szyprowski
6 * Copyright (c) 2013-2017 Samsung Electronics Co., Ltd.
7 * http://www.samsung.com
10 #include <dt-bindings/clock/samsung,s2mps11.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include "exynos5800.dtsi"
14 #include "exynos5422-cpus.dtsi"
18 device_type = "memory";
19 reg = <0x40000000 0x7EA00000>;
23 stdout-path = "serial2:115200n8";
27 compatible = "samsung,secure-firmware";
28 reg = <0x02073000 0x1000>;
33 compatible = "samsung,exynos5420-oscclk";
34 clock-frequency = <24000000>;
40 vdd-supply = <&ldo4_reg>;
45 devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>,
46 <&nocp_mem1_0>, <&nocp_mem1_1>;
47 vdd-supply = <&buck3_reg>;
48 exynos,saturation-ratio = <100>;
53 devfreq = <&bus_wcore>;
58 devfreq = <&bus_wcore>;
63 devfreq = <&bus_wcore>;
68 devfreq = <&bus_wcore>;
73 devfreq = <&bus_wcore>;
78 devfreq = <&bus_wcore>;
83 devfreq = <&bus_wcore>;
88 devfreq = <&bus_wcore>;
93 devfreq = <&bus_wcore>;
98 devfreq = <&bus_wcore>;
103 devfreq = <&bus_wcore>;
108 devfreq = <&bus_wcore>;
113 devfreq = <&bus_wcore>;
118 devfreq = <&bus_wcore>;
123 devfreq = <&bus_wcore>;
128 cpu-supply = <&buck6_reg>;
132 cpu-supply = <&buck2_reg>;
139 compatible = "samsung,s2mps11-pmic";
141 samsung,s2mps11-acokb-ground;
143 interrupt-parent = <&gpx0>;
144 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
145 pinctrl-names = "default";
146 pinctrl-0 = <&s2mps11_irq>;
148 s2mps11_osc: clocks {
149 compatible = "samsung,s2mps11-clk";
151 clock-output-names = "s2mps11_ap",
152 "s2mps11_cp", "s2mps11_bt";
157 regulator-name = "vdd_ldo1";
158 regulator-min-microvolt = <1000000>;
159 regulator-max-microvolt = <1000000>;
164 regulator-name = "vdd_ldo2";
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1800000>;
171 regulator-name = "vddq_mmc0";
172 regulator-min-microvolt = <1800000>;
173 regulator-max-microvolt = <1800000>;
177 regulator-name = "vdd_adc";
178 regulator-min-microvolt = <1800000>;
179 regulator-max-microvolt = <1800000>;
183 regulator-name = "vdd_ldo5";
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
190 regulator-name = "vdd_ldo6";
191 regulator-min-microvolt = <1000000>;
192 regulator-max-microvolt = <1000000>;
197 regulator-name = "vdd_ldo7";
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <1800000>;
204 regulator-name = "vdd_ldo8";
205 regulator-min-microvolt = <1800000>;
206 regulator-max-microvolt = <1800000>;
211 regulator-name = "vdd_ldo9";
212 regulator-min-microvolt = <3000000>;
213 regulator-max-microvolt = <3000000>;
218 regulator-name = "vdd_ldo10";
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <1800000>;
225 regulator-name = "vdd_ldo11";
226 regulator-min-microvolt = <1000000>;
227 regulator-max-microvolt = <1000000>;
233 regulator-name = "vdd_ldo12";
234 regulator-min-microvolt = <800000>;
235 regulator-max-microvolt = <2375000>;
239 regulator-name = "vddq_mmc2";
240 regulator-min-microvolt = <1800000>;
241 regulator-max-microvolt = <2800000>;
246 regulator-name = "vdd_ldo14";
247 regulator-min-microvolt = <800000>;
248 regulator-max-microvolt = <3950000>;
252 regulator-name = "vdd_ldo15";
253 regulator-min-microvolt = <3300000>;
254 regulator-max-microvolt = <3300000>;
260 regulator-name = "vdd_ldo16";
261 regulator-min-microvolt = <800000>;
262 regulator-max-microvolt = <3950000>;
266 regulator-name = "vdd_ldo17";
267 regulator-min-microvolt = <3300000>;
268 regulator-max-microvolt = <3300000>;
273 regulator-name = "vdd_emmc_1V8";
274 regulator-min-microvolt = <1800000>;
275 regulator-max-microvolt = <1800000>;
279 regulator-name = "vdd_sd";
280 regulator-min-microvolt = <2800000>;
281 regulator-max-microvolt = <2800000>;
286 regulator-name = "vdd_ldo20";
287 regulator-min-microvolt = <800000>;
288 regulator-max-microvolt = <3950000>;
293 regulator-name = "vdd_ldo21";
294 regulator-min-microvolt = <800000>;
295 regulator-max-microvolt = <3950000>;
300 regulator-name = "vdd_ldo22";
301 regulator-min-microvolt = <800000>;
302 regulator-max-microvolt = <2375000>;
306 regulator-name = "vdd_mifs";
307 regulator-min-microvolt = <1100000>;
308 regulator-max-microvolt = <1100000>;
314 regulator-name = "vdd_ldo24";
315 regulator-min-microvolt = <800000>;
316 regulator-max-microvolt = <3950000>;
321 regulator-name = "vdd_ldo25";
322 regulator-min-microvolt = <800000>;
323 regulator-max-microvolt = <3950000>;
327 /* Used on XU3, XU3-Lite and XU4 */
328 regulator-name = "vdd_ldo26";
329 regulator-min-microvolt = <800000>;
330 regulator-max-microvolt = <3950000>;
334 regulator-name = "vdd_g3ds";
335 regulator-min-microvolt = <1000000>;
336 regulator-max-microvolt = <1000000>;
342 regulator-name = "vdd_ldo28";
343 regulator-min-microvolt = <800000>;
344 regulator-max-microvolt = <3950000>;
349 regulator-name = "vdd_ldo29";
350 regulator-min-microvolt = <800000>;
351 regulator-max-microvolt = <3950000>;
356 regulator-name = "vdd_ldo30";
357 regulator-min-microvolt = <800000>;
358 regulator-max-microvolt = <3950000>;
363 regulator-name = "vdd_ldo31";
364 regulator-min-microvolt = <800000>;
365 regulator-max-microvolt = <3950000>;
370 regulator-name = "vdd_ldo32";
371 regulator-min-microvolt = <800000>;
372 regulator-max-microvolt = <3950000>;
377 regulator-name = "vdd_ldo33";
378 regulator-min-microvolt = <800000>;
379 regulator-max-microvolt = <3950000>;
384 regulator-name = "vdd_ldo34";
385 regulator-min-microvolt = <800000>;
386 regulator-max-microvolt = <3950000>;
391 regulator-name = "vdd_ldo35";
392 regulator-min-microvolt = <800000>;
393 regulator-max-microvolt = <2375000>;
398 regulator-name = "vdd_ldo36";
399 regulator-min-microvolt = <800000>;
400 regulator-max-microvolt = <3950000>;
405 regulator-name = "vdd_ldo37";
406 regulator-min-microvolt = <800000>;
407 regulator-max-microvolt = <3950000>;
412 regulator-name = "vdd_ldo38";
413 regulator-min-microvolt = <800000>;
414 regulator-max-microvolt = <3950000>;
418 regulator-name = "vdd_mif";
419 regulator-min-microvolt = <800000>;
420 regulator-max-microvolt = <1300000>;
426 regulator-name = "vdd_arm";
427 regulator-min-microvolt = <800000>;
428 regulator-max-microvolt = <1500000>;
434 regulator-name = "vdd_int";
435 regulator-min-microvolt = <800000>;
436 regulator-max-microvolt = <1400000>;
442 regulator-name = "vdd_g3d";
443 regulator-min-microvolt = <800000>;
444 regulator-max-microvolt = <1400000>;
450 regulator-name = "vdd_mem";
451 regulator-min-microvolt = <800000>;
452 regulator-max-microvolt = <1400000>;
458 regulator-name = "vdd_kfc";
459 regulator-min-microvolt = <800000>;
460 regulator-max-microvolt = <1500000>;
466 regulator-name = "vdd_1.0v_ldo";
467 regulator-min-microvolt = <800000>;
468 regulator-max-microvolt = <1500000>;
474 regulator-name = "vdd_1.8v_ldo";
475 regulator-min-microvolt = <800000>;
476 regulator-max-microvolt = <2000000>;
482 regulator-name = "vdd_2.8v_ldo";
483 regulator-min-microvolt = <3000000>;
484 regulator-max-microvolt = <3750000>;
490 regulator-name = "vdd_vmem";
491 regulator-min-microvolt = <2850000>;
492 regulator-max-microvolt = <2850000>;
502 card-detect-delay = <200>;
503 samsung,dw-mshc-ciu-div = <3>;
504 samsung,dw-mshc-sdr-timing = <0 4>;
505 samsung,dw-mshc-ddr-timing = <0 2>;
506 pinctrl-names = "default";
507 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_wp &sd2_bus1 &sd2_bus4>;
510 max-frequency = <200000000>;
511 vmmc-supply = <&ldo19_reg>;
512 vqmmc-supply = <&ldo13_reg>;
535 s2mps11_irq: s2mps11-irq {
536 samsung,pins = "gpx0-4";
537 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
538 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
539 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
544 vtmu-supply = <&ldo7_reg>;
548 vtmu-supply = <&ldo7_reg>;
552 vtmu-supply = <&ldo7_reg>;
556 vtmu-supply = <&ldo7_reg>;
560 vtmu-supply = <&ldo7_reg>;
565 clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
566 clock-names = "rtc", "rtc_src";
573 /* usbdrd_dwc3_1 mode customized in each board */
576 vdd33-supply = <&ldo9_reg>;
577 vdd10-supply = <&ldo11_reg>;
581 vdd33-supply = <&ldo9_reg>;
582 vdd10-supply = <&ldo11_reg>;