2 * Samsung's Exynos3250 based Rinato 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 Rinato 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 <dt-bindings/input/input.h>
18 #include <dt-bindings/gpio/gpio.h>
21 model = "Samsung Rinato board";
22 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
29 reg = <0x40000000 0x1ff00000>;
33 compatible = "samsung,secure-firmware";
34 reg = <0x0205F000 0x1000>;
38 compatible = "gpio-keys";
41 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_POWER>;
44 debounce-interval = <10>;
49 i2c_max77836: i2c-gpio-0 {
50 compatible = "i2c-gpio";
51 gpios = <&gpd0 2 0>, <&gpd0 3 0>;
55 max77836: subpmic@25 {
56 compatible = "maxim,max77836";
57 interrupt-parent = <&gpx1>;
63 compatible = "maxim,max77836-muic";
67 compatible = "maxim,max77836-regulator";
68 safeout_reg: SAFEOUT {
69 regulator-name = "SAFEOUT";
72 charger_reg: CHARGER {
73 regulator-name = "CHARGER";
74 regulator-min-microamp = <45000>;
75 regulator-max-microamp = <475000>;
80 regulator-name = "MOT_2.7V";
81 regulator-min-microvolt = <1100000>;
82 regulator-max-microvolt = <2700000>;
86 regulator-name = "UNUSED_LDO2";
87 regulator-min-microvolt = <800000>;
88 regulator-max-microvolt = <3950000>;
93 compatible = "maxim,max77836-charger";
95 maxim,constant-uvolt = <4350000>;
96 maxim,fast-charge-uamp = <225000>;
97 maxim,eoc-uamp = <7500>;
98 maxim,ovp-uvolt = <6500000>;
105 vdd-supply = <&ldo3_reg>;
107 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
108 assigned-clock-rates = <6000000>;
111 compatible = "ntc,ncp15wb473";
112 pullup-uv = <1800000>;
113 pullup-ohm = <100000>;
114 pulldown-ohm = <100000>;
115 io-channels = <&adc 0>;
119 compatible = "ntc,ncp15wb473";
120 pullup-uv = <1800000>;
121 pullup-ohm = <100000>;
122 pulldown-ohm = <100000>;
123 io-channels = <&adc 1>;
132 vusb_d-supply = <&ldo15_reg>;
133 vusb_a-supply = <&ldo12_reg>;
138 vddcore-supply = <&ldo6_reg>;
139 vddio-supply = <&ldo6_reg>;
140 samsung,pll-clock-frequency = <24000000>;
144 #address-cells = <1>;
151 remote-endpoint = <&dsi_in>;
152 samsung,burst-clock-frequency = <250000000>;
153 samsung,esc-clock-frequency = <20000000>;
159 compatible = "samsung,s6e63j0x03";
161 vdd3-supply = <&ldo16_reg>;
162 vci-supply = <&ldo20_reg>;
163 reset-gpios = <&gpe0 1 0>;
164 te-gpios = <&gpx0 6 0>;
165 power-on-delay= <30>;
166 power-off-delay= <120>;
171 panel-width-mm = <29>;
172 panel-height-mm = <29>;
176 clock-frequency = <0>;
182 vfront-porch = <150>;
190 remote-endpoint = <&dsi_out>;
208 #address-cells = <1>;
210 samsung,i2c-sda-delay = <100>;
211 samsung,i2c-slave-addr = <0x10>;
212 samsung,i2c-max-bus-freq = <100000>;
216 compatible = "samsung,s2mps14-pmic";
217 interrupt-parent = <&gpx0>;
222 s2mps14_osc: clocks {
223 compatible = "samsung,s2mps14-clk";
225 clock-output-names = "s2mps14_ap", "unused",
231 regulator-name = "VAP_ALIVE_1.0V";
232 regulator-min-microvolt = <1000000>;
233 regulator-max-microvolt = <1000000>;
236 regulator-state-mem {
237 regulator-on-in-suspend;
242 regulator-name = "VAP_M1_1.2V";
243 regulator-min-microvolt = <1200000>;
244 regulator-max-microvolt = <1200000>;
247 regulator-state-mem {
248 regulator-off-in-suspend;
253 regulator-name = "VCC_AP_1.8V";
254 regulator-min-microvolt = <1800000>;
255 regulator-max-microvolt = <1800000>;
258 regulator-state-mem {
259 regulator-off-in-suspend;
264 regulator-name = "VAP_AVDD_PLL1";
265 regulator-min-microvolt = <1800000>;
266 regulator-max-microvolt = <1800000>;
269 regulator-state-mem {
270 regulator-off-in-suspend;
275 regulator-name = "VAP_PLL_ISO_1.0V";
276 regulator-min-microvolt = <1000000>;
277 regulator-max-microvolt = <1000000>;
280 regulator-state-mem {
281 regulator-off-in-suspend;
286 regulator-name = "VAP_VMIPI_1.0V";
287 regulator-min-microvolt = <1000000>;
288 regulator-max-microvolt = <1000000>;
291 regulator-state-mem {
292 regulator-off-in-suspend;
297 regulator-name = "VAP_AVDD_1.8V";
298 regulator-min-microvolt = <1800000>;
299 regulator-max-microvolt = <1800000>;
302 regulator-state-mem {
303 regulator-off-in-suspend;
308 regulator-name = "VAP_USB_3.0V";
309 regulator-min-microvolt = <3000000>;
310 regulator-max-microvolt = <3000000>;
313 regulator-state-mem {
314 regulator-off-in-suspend;
319 regulator-name = "V_LPDDR_1.2V";
320 regulator-min-microvolt = <1200000>;
321 regulator-max-microvolt = <1200000>;
324 regulator-state-mem {
325 regulator-on-in-suspend;
330 regulator-name = "UNUSED_LDO10";
331 regulator-min-microvolt = <1000000>;
332 regulator-max-microvolt = <1000000>;
334 regulator-state-mem {
335 regulator-off-in-suspend;
340 regulator-name = "V_EMMC_1.8V";
341 regulator-min-microvolt = <1800000>;
342 regulator-max-microvolt = <1800000>;
343 samsung,ext-control-gpios = <&gpk0 2 0>;
347 regulator-name = "V_EMMC_2.8V";
348 regulator-min-microvolt = <2800000>;
349 regulator-max-microvolt = <2800000>;
350 samsung,ext-control-gpios = <&gpk0 2 0>;
354 regulator-name = "CAM_AVDD_2.8V";
355 regulator-min-microvolt = <2800000>;
356 regulator-max-microvolt = <2800000>;
358 regulator-state-mem {
359 regulator-off-in-suspend;
364 regulator-name = "UNUSED_LDO14";
365 regulator-min-microvolt = <2700000>;
366 regulator-max-microvolt = <2700000>;
368 regulator-state-mem {
369 regulator-off-in-suspend;
374 regulator-name = "TSP_AVDD_3.3V";
375 regulator-min-microvolt = <3300000>;
376 regulator-max-microvolt = <3300000>;
378 regulator-state-mem {
379 regulator-off-in-suspend;
384 regulator-name = "LCD_VDD_3.3V";
385 regulator-min-microvolt = <3300000>;
386 regulator-max-microvolt = <3300000>;
388 regulator-state-mem {
389 regulator-off-in-suspend;
394 regulator-name = "V_IRLED_3.3V";
395 regulator-min-microvolt = <3300000>;
396 regulator-max-microvolt = <3300000>;
398 regulator-state-mem {
399 regulator-off-in-suspend;
404 regulator-name = "CAM_AF_2.8V";
405 regulator-min-microvolt = <2800000>;
406 regulator-max-microvolt = <2800000>;
408 regulator-state-mem {
409 regulator-off-in-suspend;
414 regulator-name = "TSP_VDD_1.8V";
415 regulator-min-microvolt = <1800000>;
416 regulator-max-microvolt = <1800000>;
418 regulator-state-mem {
419 regulator-off-in-suspend;
424 regulator-name = "LCD_VDD_1.8V";
425 regulator-min-microvolt = <1800000>;
426 regulator-max-microvolt = <1800000>;
428 regulator-state-mem {
429 regulator-off-in-suspend;
434 regulator-name = "CAM_IO_1.8V";
435 regulator-min-microvolt = <1800000>;
436 regulator-max-microvolt = <1800000>;
438 regulator-state-mem {
439 regulator-off-in-suspend;
444 regulator-name = "CAM_DVDD_1.2V";
445 regulator-min-microvolt = <1200000>;
446 regulator-max-microvolt = <1200000>;
448 regulator-state-mem {
449 regulator-off-in-suspend;
454 regulator-name = "HRM_VCC_1.8V";
455 regulator-min-microvolt = <1800000>;
456 regulator-max-microvolt = <1800000>;
461 regulator-name = "HRM_VCC_3.3V";
462 regulator-min-microvolt = <3000000>;
463 regulator-max-microvolt = <3000000>;
465 regulator-state-mem {
466 regulator-off-in-suspend;
471 regulator-name = "UNUSED_LDO25";
472 regulator-min-microvolt = <3000000>;
473 regulator-max-microvolt = <3000000>;
475 regulator-state-mem {
476 regulator-off-in-suspend;
481 regulator-name = "VAP_MIF_1.0V";
482 regulator-min-microvolt = <800000>;
483 regulator-max-microvolt = <900000>;
486 regulator-state-mem {
487 regulator-off-in-suspend;
492 regulator-name = "VAP_ARM_1.0V";
493 regulator-min-microvolt = <850000>;
494 regulator-max-microvolt = <1150000>;
497 regulator-state-mem {
498 regulator-off-in-suspend;
503 regulator-name = "VAP_INT3D_1.0V";
504 regulator-min-microvolt = <850000>;
505 regulator-max-microvolt = <1000000>;
508 regulator-state-mem {
509 regulator-off-in-suspend;
514 regulator-name = "VCC_SUB_1.95V";
515 regulator-min-microvolt = <1950000>;
516 regulator-max-microvolt = <1950000>;
519 regulator-state-mem {
520 regulator-on-in-suspend;
525 regulator-name = "VCC_SUB_1.35V";
526 regulator-min-microvolt = <1350000>;
527 regulator-max-microvolt = <1350000>;
530 regulator-state-mem {
531 regulator-on-in-suspend;
539 #address-cells = <1>;
541 samsung,i2c-sda-delay = <100>;
542 samsung,i2c-slave-addr = <0x10>;
543 samsung,i2c-max-bus-freq = <400000>;
547 compatible = "maxim,max77836-battery";
548 interrupt-parent = <&gpx1>;
563 #address-cells = <1>;
571 card-detect-delay = <200>;
572 vmmc-supply = <&ldo12_reg>;
573 clock-frequency = <100000000>;
574 clock-freq-min-max = <400000 100000000>;
575 samsung,dw-mshc-ciu-div = <1>;
576 samsung,dw-mshc-sdr-timing = <0 1>;
577 samsung,dw-mshc-ddr-timing = <1 2>;
578 pinctrl-names = "default";
579 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
585 assigned-clocks = <&cmu CLK_SCLK_UART0>;
586 assigned-clock-rates = <100000000>;
595 vtmu-supply = <&ldo7_reg>;
600 clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>;
601 clock-names = "rtc", "rtc_src";
606 clock-frequency = <24000000>;
610 pinctrl-names = "default";
611 pinctrl-0 = <&sleep0>;
613 sleep0: sleep-state {
614 PIN_SLP(gpa0-0, INPUT, DOWN);
615 PIN_SLP(gpa0-1, INPUT, DOWN);
616 PIN_SLP(gpa0-2, INPUT, DOWN);
617 PIN_SLP(gpa0-3, INPUT, DOWN);
618 PIN_SLP(gpa0-4, INPUT, DOWN);
619 PIN_SLP(gpa0-5, INPUT, DOWN);
620 PIN_SLP(gpa0-6, INPUT, DOWN);
621 PIN_SLP(gpa0-7, INPUT, DOWN);
623 PIN_SLP(gpa1-0, INPUT, DOWN);
624 PIN_SLP(gpa1-1, INPUT, DOWN);
625 PIN_SLP(gpa1-2, INPUT, DOWN);
626 PIN_SLP(gpa1-3, INPUT, DOWN);
627 PIN_SLP(gpa1-4, INPUT, DOWN);
628 PIN_SLP(gpa1-5, INPUT, DOWN);
630 PIN_SLP(gpb-0, PREV, NONE);
631 PIN_SLP(gpb-1, PREV, NONE);
632 PIN_SLP(gpb-2, PREV, NONE);
633 PIN_SLP(gpb-3, PREV, NONE);
634 PIN_SLP(gpb-4, INPUT, DOWN);
635 PIN_SLP(gpb-5, INPUT, DOWN);
636 PIN_SLP(gpb-6, INPUT, DOWN);
637 PIN_SLP(gpb-7, INPUT, DOWN);
639 PIN_SLP(gpc0-0, INPUT, DOWN);
640 PIN_SLP(gpc0-1, INPUT, DOWN);
641 PIN_SLP(gpc0-2, INPUT, DOWN);
642 PIN_SLP(gpc0-3, INPUT, DOWN);
643 PIN_SLP(gpc0-4, INPUT, DOWN);
645 PIN_SLP(gpc1-0, INPUT, DOWN);
646 PIN_SLP(gpc1-1, INPUT, DOWN);
647 PIN_SLP(gpc1-2, INPUT, DOWN);
648 PIN_SLP(gpc1-3, INPUT, DOWN);
649 PIN_SLP(gpc1-4, INPUT, DOWN);
651 PIN_SLP(gpd0-0, INPUT, DOWN);
652 PIN_SLP(gpd0-1, INPUT, DOWN);
653 PIN_SLP(gpd0-2, INPUT, NONE);
654 PIN_SLP(gpd0-3, INPUT, NONE);
656 PIN_SLP(gpd1-0, INPUT, NONE);
657 PIN_SLP(gpd1-1, INPUT, NONE);
658 PIN_SLP(gpd1-2, INPUT, NONE);
659 PIN_SLP(gpd1-3, INPUT, NONE);
664 pinctrl-names = "default";
665 pinctrl-0 = <&sleep1>;
667 sleep1: sleep-state {
668 PIN_SLP(gpe0-0, PREV, NONE);
669 PIN_SLP(gpe0-1, PREV, NONE);
670 PIN_SLP(gpe0-2, INPUT, DOWN);
671 PIN_SLP(gpe0-3, INPUT, UP);
672 PIN_SLP(gpe0-4, INPUT, DOWN);
673 PIN_SLP(gpe0-5, INPUT, DOWN);
674 PIN_SLP(gpe0-6, INPUT, DOWN);
675 PIN_SLP(gpe0-7, INPUT, DOWN);
677 PIN_SLP(gpe1-0, INPUT, DOWN);
678 PIN_SLP(gpe1-1, PREV, NONE);
679 PIN_SLP(gpe1-2, INPUT, DOWN);
680 PIN_SLP(gpe1-3, INPUT, DOWN);
681 PIN_SLP(gpe1-4, INPUT, DOWN);
682 PIN_SLP(gpe1-5, INPUT, DOWN);
683 PIN_SLP(gpe1-6, INPUT, DOWN);
684 PIN_SLP(gpe1-7, INPUT, NONE);
686 PIN_SLP(gpe2-0, INPUT, NONE);
687 PIN_SLP(gpe2-1, INPUT, NONE);
688 PIN_SLP(gpe2-2, INPUT, NONE);
690 PIN_SLP(gpk0-0, INPUT, DOWN);
691 PIN_SLP(gpk0-1, INPUT, DOWN);
692 PIN_SLP(gpk0-2, OUT0, NONE);
693 PIN_SLP(gpk0-3, INPUT, DOWN);
694 PIN_SLP(gpk0-4, INPUT, DOWN);
695 PIN_SLP(gpk0-5, INPUT, DOWN);
696 PIN_SLP(gpk0-6, INPUT, DOWN);
697 PIN_SLP(gpk0-7, INPUT, DOWN);
699 PIN_SLP(gpk1-0, INPUT, DOWN);
700 PIN_SLP(gpk1-1, INPUT, DOWN);
701 PIN_SLP(gpk1-2, INPUT, DOWN);
702 PIN_SLP(gpk1-3, INPUT, DOWN);
703 PIN_SLP(gpk1-4, INPUT, DOWN);
704 PIN_SLP(gpk1-5, INPUT, DOWN);
705 PIN_SLP(gpk1-6, INPUT, DOWN);
707 PIN_SLP(gpk2-0, INPUT, DOWN);
708 PIN_SLP(gpk2-1, INPUT, DOWN);
709 PIN_SLP(gpk2-2, INPUT, DOWN);
710 PIN_SLP(gpk2-3, INPUT, DOWN);
711 PIN_SLP(gpk2-4, INPUT, DOWN);
712 PIN_SLP(gpk2-5, INPUT, DOWN);
713 PIN_SLP(gpk2-6, INPUT, DOWN);
715 PIN_SLP(gpl0-0, INPUT, DOWN);
716 PIN_SLP(gpl0-1, INPUT, DOWN);
717 PIN_SLP(gpl0-2, INPUT, DOWN);
718 PIN_SLP(gpl0-3, INPUT, DOWN);
720 PIN_SLP(gpm0-0, INPUT, DOWN);
721 PIN_SLP(gpm0-1, INPUT, DOWN);
722 PIN_SLP(gpm0-2, INPUT, DOWN);
723 PIN_SLP(gpm0-3, INPUT, DOWN);
724 PIN_SLP(gpm0-4, INPUT, DOWN);
725 PIN_SLP(gpm0-5, INPUT, DOWN);
726 PIN_SLP(gpm0-6, INPUT, DOWN);
727 PIN_SLP(gpm0-7, INPUT, DOWN);
729 PIN_SLP(gpm1-0, INPUT, DOWN);
730 PIN_SLP(gpm1-1, INPUT, DOWN);
731 PIN_SLP(gpm1-2, INPUT, DOWN);
732 PIN_SLP(gpm1-3, INPUT, DOWN);
733 PIN_SLP(gpm1-4, INPUT, DOWN);
734 PIN_SLP(gpm1-5, INPUT, DOWN);
735 PIN_SLP(gpm1-6, INPUT, DOWN);
737 PIN_SLP(gpm2-0, INPUT, DOWN);
738 PIN_SLP(gpm2-1, INPUT, DOWN);
739 PIN_SLP(gpm2-2, INPUT, DOWN);
740 PIN_SLP(gpm2-3, INPUT, DOWN);
741 PIN_SLP(gpm2-4, INPUT, DOWN);
743 PIN_SLP(gpm3-0, INPUT, DOWN);
744 PIN_SLP(gpm3-1, INPUT, DOWN);
745 PIN_SLP(gpm3-2, INPUT, DOWN);
746 PIN_SLP(gpm3-3, INPUT, DOWN);
747 PIN_SLP(gpm3-4, INPUT, DOWN);
748 PIN_SLP(gpm3-5, INPUT, DOWN);
749 PIN_SLP(gpm3-6, INPUT, DOWN);
750 PIN_SLP(gpm3-7, INPUT, DOWN);
752 PIN_SLP(gpm4-0, INPUT, DOWN);
753 PIN_SLP(gpm4-1, INPUT, DOWN);
754 PIN_SLP(gpm4-2, INPUT, DOWN);
755 PIN_SLP(gpm4-3, INPUT, DOWN);
756 PIN_SLP(gpm4-4, INPUT, DOWN);
757 PIN_SLP(gpm4-5, INPUT, DOWN);
758 PIN_SLP(gpm4-6, INPUT, DOWN);
759 PIN_SLP(gpm4-7, INPUT, DOWN);