2 * Samsung's Exynos3250 based Monk board device tree source
4 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
7 * Device tree source file for Samsung's Monk board which is based on
8 * Samsung Exynos3250 SoC.
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
16 #include "exynos3250.dtsi"
17 #include "exynos4412-ppmu-common.dtsi"
18 #include <dt-bindings/input/input.h>
19 #include <dt-bindings/gpio/gpio.h>
20 #include <dt-bindings/clock/samsung,s2mps11.h>
23 model = "Samsung Monk board";
24 compatible = "samsung,monk", "samsung,exynos3250", "samsung,exynos3";
31 device_type = "memory";
32 reg = <0x40000000 0x1ff00000>;
36 compatible = "samsung,secure-firmware";
37 reg = <0x0205F000 0x1000>;
41 compatible = "gpio-keys";
44 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_POWER>;
47 debounce-interval = <10>;
52 vemmc_reg: voltage-regulator-0 {
53 compatible = "regulator-fixed";
54 regulator-name = "V_EMMC_2.8V-fixed";
55 regulator-min-microvolt = <2800000>;
56 regulator-max-microvolt = <2800000>;
57 gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
61 i2c_max77836: i2c-gpio-0 {
62 compatible = "i2c-gpio";
63 gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
67 max77836: subpmic@25 {
68 compatible = "maxim,max77836";
69 interrupt-parent = <&gpx1>;
75 compatible = "maxim,max77836-muic";
79 compatible = "maxim,max77836-regulator";
80 safeout_reg: SAFEOUT {
81 regulator-name = "SAFEOUT";
84 charger_reg: CHARGER {
85 regulator-name = "CHARGER";
86 regulator-min-microamp = <45000>;
87 regulator-max-microamp = <475000>;
92 regulator-name = "MOT_2.7V";
93 regulator-min-microvolt = <1100000>;
94 regulator-max-microvolt = <2700000>;
98 regulator-name = "UNUSED_LDO2";
99 regulator-min-microvolt = <800000>;
100 regulator-max-microvolt = <3950000>;
105 compatible = "maxim,max77836-charger";
107 maxim,constant-uvolt = <4350000>;
108 maxim,fast-charge-uamp = <225000>;
109 maxim,eoc-uamp = <7500>;
110 maxim,ovp-uvolt = <6500000>;
116 compatible = "regulator-haptic";
117 haptic-supply = <&motor_reg>;
118 min-microvolt = <1100000>;
119 max-microvolt = <2700000>;
123 cpu_thermal: cpu-thermal {
126 /* Correspond to 500MHz at freq_table */
127 cooling-device = <&cpu0 5 5>;
130 /* Correspond to 200MHz at freq_table */
131 cooling-device = <&cpu0 8 8>;
139 vdd-supply = <&ldo3_reg>;
141 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
142 assigned-clock-rates = <6000000>;
145 compatible = "ntc,ncp15wb473";
146 pullup-uv = <1800000>;
147 pullup-ohm = <100000>;
148 pulldown-ohm = <100000>;
149 io-channels = <&adc 0>;
153 compatible = "ntc,ncp15wb473";
154 pullup-uv = <1800000>;
155 pullup-ohm = <100000>;
156 pulldown-ohm = <100000>;
157 io-channels = <&adc 1>;
162 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
163 vdd-supply = <&buck1_reg>;
168 cpu0-supply = <&buck2_reg>;
172 vbus-supply = <&safeout_reg>;
177 vusb_d-supply = <&ldo15_reg>;
178 vusb_a-supply = <&ldo12_reg>;
179 dr_mode = "peripheral";
184 #address-cells = <1>;
186 samsung,i2c-sda-delay = <100>;
187 samsung,i2c-slave-addr = <0x10>;
188 samsung,i2c-max-bus-freq = <100000>;
192 compatible = "samsung,s2mps14-pmic";
193 interrupt-parent = <&gpx0>;
198 s2mps14_osc: clocks {
199 compatible = "samsung,s2mps14-clk";
201 clock-output-names = "s2mps14_ap", "unused",
207 regulator-name = "VAP_ALIVE_1.0V";
208 regulator-min-microvolt = <1000000>;
209 regulator-max-microvolt = <1000000>;
214 regulator-name = "VAP_M1_1.2V";
215 regulator-min-microvolt = <1200000>;
216 regulator-max-microvolt = <1200000>;
221 regulator-name = "VCC_AP_1.8V";
222 regulator-min-microvolt = <1800000>;
223 regulator-max-microvolt = <1800000>;
228 regulator-name = "VAP_AVDD_PLL1";
229 regulator-min-microvolt = <1800000>;
230 regulator-max-microvolt = <1800000>;
235 regulator-name = "VAP_PLL_ISO_1.0V";
236 regulator-min-microvolt = <1000000>;
237 regulator-max-microvolt = <1000000>;
242 regulator-name = "VAP_MIPI_1.0V";
243 regulator-min-microvolt = <1000000>;
244 regulator-max-microvolt = <1000000>;
248 regulator-name = "VAP_AVDD_1.8V";
249 regulator-min-microvolt = <1800000>;
250 regulator-max-microvolt = <1800000>;
255 regulator-name = "VAP_USB_3.0V";
256 regulator-min-microvolt = <3000000>;
257 regulator-max-microvolt = <3000000>;
262 regulator-name = "V_LPDDR_1.2V";
263 regulator-min-microvolt = <1200000>;
264 regulator-max-microvolt = <1200000>;
269 regulator-name = "UNUSED_LDO10";
270 regulator-min-microvolt = <1000000>;
271 regulator-max-microvolt = <1000000>;
275 regulator-name = "V_EMMC_1.8V";
276 regulator-min-microvolt = <1800000>;
277 regulator-max-microvolt = <1800000>;
278 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
282 regulator-name = "V_EMMC_2.8V";
283 regulator-min-microvolt = <2800000>;
284 regulator-max-microvolt = <2800000>;
285 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
289 regulator-name = "VSENSOR_2.85V";
290 regulator-min-microvolt = <2850000>;
291 regulator-max-microvolt = <2850000>;
296 regulator-name = "UNUSED_LDO14";
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
302 regulator-name = "TSP_AVDD_3.3V";
303 regulator-min-microvolt = <3300000>;
304 regulator-max-microvolt = <3300000>;
308 regulator-name = "LCD_VDD_3.3V";
309 regulator-min-microvolt = <3300000>;
310 regulator-max-microvolt = <3300000>;
314 regulator-name = "UNUSED_LDO17";
315 regulator-min-microvolt = <1800000>;
316 regulator-max-microvolt = <1800000>;
320 regulator-name = "UNUSED_LDO18";
321 regulator-min-microvolt = <1800000>;
322 regulator-max-microvolt = <1800000>;
326 regulator-name = "TSP_VDD_1.8V";
327 regulator-min-microvolt = <1800000>;
328 regulator-max-microvolt = <1800000>;
332 regulator-name = "LCD_VDD_1.8V";
333 regulator-min-microvolt = <1800000>;
334 regulator-max-microvolt = <1800000>;
338 regulator-name = "UNUSED_LDO21";
339 regulator-min-microvolt = <1000000>;
340 regulator-max-microvolt = <1000000>;
344 regulator-name = "UNUSED_LDO22";
345 regulator-min-microvolt = <1000000>;
346 regulator-max-microvolt = <1000000>;
350 regulator-name = "UNUSED_LDO23";
351 regulator-min-microvolt = <1000000>;
352 regulator-max-microvolt = <1000000>;
357 regulator-name = "UNUSED_LDO24";
358 regulator-min-microvolt = <1800000>;
359 regulator-max-microvolt = <1800000>;
363 regulator-name = "UNUSED_LDO25";
364 regulator-min-microvolt = <1800000>;
365 regulator-max-microvolt = <1800000>;
369 regulator-name = "VAP_MIF_1.0V";
370 regulator-min-microvolt = <800000>;
371 regulator-max-microvolt = <900000>;
376 regulator-name = "VAP_ARM_1.0V";
377 regulator-min-microvolt = <850000>;
378 regulator-max-microvolt = <1150000>;
383 regulator-name = "VAP_INT3D_1.0V";
384 regulator-min-microvolt = <850000>;
385 regulator-max-microvolt = <1000000>;
390 regulator-name = "VCC_SUB_1.95V";
391 regulator-min-microvolt = <1950000>;
392 regulator-max-microvolt = <1950000>;
397 regulator-name = "VCC_SUB_1.35V";
398 regulator-min-microvolt = <1350000>;
399 regulator-max-microvolt = <1350000>;
407 #address-cells = <1>;
409 samsung,i2c-sda-delay = <100>;
410 samsung,i2c-slave-addr = <0x10>;
411 samsung,i2c-max-bus-freq = <400000>;
415 compatible = "maxim,max77836-battery";
416 interrupt-parent = <&gpx1>;
427 #address-cells = <1>;
435 card-detect-delay = <200>;
436 vmmc-supply = <&vemmc_reg>;
437 clock-frequency = <100000000>;
438 max-frequency = <100000000>;
439 samsung,dw-mshc-ciu-div = <1>;
440 samsung,dw-mshc-sdr-timing = <0 1>;
441 samsung,dw-mshc-ddr-timing = <1 2>;
442 pinctrl-names = "default";
443 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
449 assigned-clocks = <&cmu CLK_SCLK_UART0>;
450 assigned-clock-rates = <100000000>;
459 vtmu-supply = <&ldo7_reg>;
464 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
465 clock-names = "rtc", "rtc_src";
470 clock-frequency = <24000000>;
474 pinctrl-names = "default";
475 pinctrl-0 = <&sleep0>;
477 sleep0: sleep-state {
478 PIN_SLP(gpa0-0, INPUT, DOWN);
479 PIN_SLP(gpa0-1, INPUT, DOWN);
480 PIN_SLP(gpa0-2, INPUT, DOWN);
481 PIN_SLP(gpa0-3, INPUT, DOWN);
482 PIN_SLP(gpa0-4, INPUT, DOWN);
483 PIN_SLP(gpa0-5, INPUT, DOWN);
484 PIN_SLP(gpa0-6, INPUT, DOWN);
485 PIN_SLP(gpa0-7, INPUT, DOWN);
487 PIN_SLP(gpa1-0, INPUT, DOWN);
488 PIN_SLP(gpa1-1, INPUT, DOWN);
489 PIN_SLP(gpa1-2, INPUT, DOWN);
490 PIN_SLP(gpa1-3, INPUT, DOWN);
491 PIN_SLP(gpa1-4, INPUT, DOWN);
492 PIN_SLP(gpa1-5, INPUT, DOWN);
494 PIN_SLP(gpb-0, PREV, NONE);
495 PIN_SLP(gpb-1, PREV, NONE);
496 PIN_SLP(gpb-2, PREV, NONE);
497 PIN_SLP(gpb-3, PREV, NONE);
498 PIN_SLP(gpb-4, INPUT, DOWN);
499 PIN_SLP(gpb-5, INPUT, DOWN);
500 PIN_SLP(gpb-6, INPUT, DOWN);
501 PIN_SLP(gpb-7, INPUT, DOWN);
503 PIN_SLP(gpc0-0, INPUT, DOWN);
504 PIN_SLP(gpc0-1, INPUT, DOWN);
505 PIN_SLP(gpc0-2, INPUT, DOWN);
506 PIN_SLP(gpc0-3, INPUT, DOWN);
507 PIN_SLP(gpc0-4, INPUT, DOWN);
509 PIN_SLP(gpc1-0, INPUT, DOWN);
510 PIN_SLP(gpc1-1, INPUT, DOWN);
511 PIN_SLP(gpc1-2, INPUT, DOWN);
512 PIN_SLP(gpc1-3, INPUT, DOWN);
513 PIN_SLP(gpc1-4, INPUT, DOWN);
515 PIN_SLP(gpd0-0, INPUT, DOWN);
516 PIN_SLP(gpd0-1, INPUT, DOWN);
517 PIN_SLP(gpd0-2, INPUT, NONE);
518 PIN_SLP(gpd0-3, INPUT, NONE);
520 PIN_SLP(gpd1-0, INPUT, NONE);
521 PIN_SLP(gpd1-1, INPUT, NONE);
522 PIN_SLP(gpd1-2, INPUT, NONE);
523 PIN_SLP(gpd1-3, INPUT, NONE);
528 pinctrl-names = "default";
529 pinctrl-0 = <&initial1 &sleep1>;
531 initial1: initial-state {
532 PIN_IN(gpk2-0, DOWN, LV1);
533 PIN_IN(gpk2-1, DOWN, LV1);
534 PIN_IN(gpk2-2, DOWN, LV1);
535 PIN_IN(gpk2-3, DOWN, LV1);
536 PIN_IN(gpk2-4, DOWN, LV1);
537 PIN_IN(gpk2-5, DOWN, LV1);
538 PIN_IN(gpk2-6, DOWN, LV1);
541 sleep1: sleep-state {
542 PIN_SLP(gpe0-0, PREV, NONE);
543 PIN_SLP(gpe0-1, PREV, NONE);
544 PIN_SLP(gpe0-2, INPUT, DOWN);
545 PIN_SLP(gpe0-3, INPUT, DOWN);
546 PIN_SLP(gpe0-4, PREV, NONE);
547 PIN_SLP(gpe0-5, INPUT, DOWN);
548 PIN_SLP(gpe0-6, INPUT, DOWN);
549 PIN_SLP(gpe0-7, INPUT, DOWN);
551 PIN_SLP(gpe1-0, INPUT, DOWN);
552 PIN_SLP(gpe1-1, PREV, NONE);
553 PIN_SLP(gpe1-2, INPUT, DOWN);
554 PIN_SLP(gpe1-3, INPUT, DOWN);
555 PIN_SLP(gpe1-4, INPUT, DOWN);
556 PIN_SLP(gpe1-5, INPUT, DOWN);
557 PIN_SLP(gpe1-6, INPUT, DOWN);
558 PIN_SLP(gpe1-7, INPUT, NONE);
560 PIN_SLP(gpe2-0, INPUT, NONE);
561 PIN_SLP(gpe2-1, INPUT, NONE);
562 PIN_SLP(gpe2-2, INPUT, NONE);
564 PIN_SLP(gpk0-0, INPUT, DOWN);
565 PIN_SLP(gpk0-1, INPUT, DOWN);
566 PIN_SLP(gpk0-2, OUT0, NONE);
567 PIN_SLP(gpk0-3, INPUT, DOWN);
568 PIN_SLP(gpk0-4, INPUT, DOWN);
569 PIN_SLP(gpk0-5, INPUT, DOWN);
570 PIN_SLP(gpk0-6, INPUT, DOWN);
571 PIN_SLP(gpk0-7, INPUT, DOWN);
573 PIN_SLP(gpk1-0, PREV, NONE);
574 PIN_SLP(gpk1-1, PREV, NONE);
575 PIN_SLP(gpk1-2, INPUT, DOWN);
576 PIN_SLP(gpk1-3, PREV, NONE);
577 PIN_SLP(gpk1-4, PREV, NONE);
578 PIN_SLP(gpk1-5, PREV, NONE);
579 PIN_SLP(gpk1-6, PREV, NONE);
581 PIN_SLP(gpk2-0, INPUT, DOWN);
582 PIN_SLP(gpk2-1, INPUT, DOWN);
583 PIN_SLP(gpk2-2, INPUT, DOWN);
584 PIN_SLP(gpk2-3, INPUT, DOWN);
585 PIN_SLP(gpk2-4, INPUT, DOWN);
586 PIN_SLP(gpk2-5, INPUT, DOWN);
587 PIN_SLP(gpk2-6, INPUT, DOWN);
589 PIN_SLP(gpl0-0, INPUT, DOWN);
590 PIN_SLP(gpl0-1, INPUT, DOWN);
591 PIN_SLP(gpl0-2, INPUT, DOWN);
592 PIN_SLP(gpl0-3, INPUT, DOWN);
594 PIN_SLP(gpm0-0, INPUT, DOWN);
595 PIN_SLP(gpm0-1, INPUT, DOWN);
596 PIN_SLP(gpm0-2, INPUT, DOWN);
597 PIN_SLP(gpm0-3, INPUT, DOWN);
598 PIN_SLP(gpm0-4, INPUT, DOWN);
599 PIN_SLP(gpm0-5, INPUT, DOWN);
600 PIN_SLP(gpm0-6, INPUT, DOWN);
601 PIN_SLP(gpm0-7, INPUT, DOWN);
603 PIN_SLP(gpm1-0, INPUT, DOWN);
604 PIN_SLP(gpm1-1, INPUT, DOWN);
605 PIN_SLP(gpm1-2, INPUT, DOWN);
606 PIN_SLP(gpm1-3, INPUT, DOWN);
607 PIN_SLP(gpm1-4, INPUT, DOWN);
608 PIN_SLP(gpm1-5, INPUT, DOWN);
609 PIN_SLP(gpm1-6, INPUT, DOWN);
611 PIN_SLP(gpm2-0, INPUT, DOWN);
612 PIN_SLP(gpm2-1, INPUT, DOWN);
613 PIN_SLP(gpm2-2, INPUT, DOWN);
614 PIN_SLP(gpm2-3, INPUT, DOWN);
615 PIN_SLP(gpm2-4, INPUT, DOWN);
617 PIN_SLP(gpm3-0, INPUT, DOWN);
618 PIN_SLP(gpm3-1, INPUT, DOWN);
619 PIN_SLP(gpm3-2, INPUT, DOWN);
620 PIN_SLP(gpm3-3, INPUT, DOWN);
621 PIN_SLP(gpm3-4, INPUT, DOWN);
622 PIN_SLP(gpm3-5, INPUT, DOWN);
623 PIN_SLP(gpm3-6, INPUT, DOWN);
624 PIN_SLP(gpm3-7, INPUT, DOWN);
626 PIN_SLP(gpm4-0, INPUT, DOWN);
627 PIN_SLP(gpm4-1, INPUT, DOWN);
628 PIN_SLP(gpm4-2, INPUT, DOWN);
629 PIN_SLP(gpm4-3, INPUT, DOWN);
630 PIN_SLP(gpm4-4, INPUT, DOWN);
631 PIN_SLP(gpm4-5, INPUT, DOWN);
632 PIN_SLP(gpm4-6, INPUT, DOWN);
633 PIN_SLP(gpm4-7, INPUT, DOWN);