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>;
134 dr_mode = "peripheral";
139 vddcore-supply = <&ldo6_reg>;
140 vddio-supply = <&ldo6_reg>;
141 samsung,pll-clock-frequency = <24000000>;
145 #address-cells = <1>;
152 remote-endpoint = <&dsi_in>;
153 samsung,burst-clock-frequency = <250000000>;
154 samsung,esc-clock-frequency = <20000000>;
160 compatible = "samsung,s6e63j0x03";
162 vdd3-supply = <&ldo16_reg>;
163 vci-supply = <&ldo20_reg>;
164 reset-gpios = <&gpe0 1 0>;
165 te-gpios = <&gpx0 6 0>;
166 power-on-delay= <30>;
167 power-off-delay= <120>;
172 panel-width-mm = <29>;
173 panel-height-mm = <29>;
177 clock-frequency = <0>;
183 vfront-porch = <150>;
191 remote-endpoint = <&dsi_out>;
209 #address-cells = <1>;
211 samsung,i2c-sda-delay = <100>;
212 samsung,i2c-slave-addr = <0x10>;
213 samsung,i2c-max-bus-freq = <100000>;
217 compatible = "samsung,s2mps14-pmic";
218 interrupt-parent = <&gpx0>;
223 s2mps14_osc: clocks {
224 compatible = "samsung,s2mps14-clk";
226 clock-output-names = "s2mps14_ap", "unused",
232 regulator-name = "VAP_ALIVE_1.0V";
233 regulator-min-microvolt = <1000000>;
234 regulator-max-microvolt = <1000000>;
237 regulator-state-mem {
238 regulator-on-in-suspend;
243 regulator-name = "VAP_M1_1.2V";
244 regulator-min-microvolt = <1200000>;
245 regulator-max-microvolt = <1200000>;
248 regulator-state-mem {
249 regulator-off-in-suspend;
254 regulator-name = "VCC_AP_1.8V";
255 regulator-min-microvolt = <1800000>;
256 regulator-max-microvolt = <1800000>;
259 regulator-state-mem {
260 regulator-off-in-suspend;
265 regulator-name = "VAP_AVDD_PLL1";
266 regulator-min-microvolt = <1800000>;
267 regulator-max-microvolt = <1800000>;
270 regulator-state-mem {
271 regulator-off-in-suspend;
276 regulator-name = "VAP_PLL_ISO_1.0V";
277 regulator-min-microvolt = <1000000>;
278 regulator-max-microvolt = <1000000>;
281 regulator-state-mem {
282 regulator-off-in-suspend;
287 regulator-name = "VAP_VMIPI_1.0V";
288 regulator-min-microvolt = <1000000>;
289 regulator-max-microvolt = <1000000>;
292 regulator-state-mem {
293 regulator-off-in-suspend;
298 regulator-name = "VAP_AVDD_1.8V";
299 regulator-min-microvolt = <1800000>;
300 regulator-max-microvolt = <1800000>;
303 regulator-state-mem {
304 regulator-off-in-suspend;
309 regulator-name = "VAP_USB_3.0V";
310 regulator-min-microvolt = <3000000>;
311 regulator-max-microvolt = <3000000>;
314 regulator-state-mem {
315 regulator-off-in-suspend;
320 regulator-name = "V_LPDDR_1.2V";
321 regulator-min-microvolt = <1200000>;
322 regulator-max-microvolt = <1200000>;
325 regulator-state-mem {
326 regulator-on-in-suspend;
331 regulator-name = "UNUSED_LDO10";
332 regulator-min-microvolt = <1000000>;
333 regulator-max-microvolt = <1000000>;
335 regulator-state-mem {
336 regulator-off-in-suspend;
341 regulator-name = "V_EMMC_1.8V";
342 regulator-min-microvolt = <1800000>;
343 regulator-max-microvolt = <1800000>;
344 samsung,ext-control-gpios = <&gpk0 2 0>;
348 regulator-name = "V_EMMC_2.8V";
349 regulator-min-microvolt = <2800000>;
350 regulator-max-microvolt = <2800000>;
351 samsung,ext-control-gpios = <&gpk0 2 0>;
355 regulator-name = "CAM_AVDD_2.8V";
356 regulator-min-microvolt = <2800000>;
357 regulator-max-microvolt = <2800000>;
359 regulator-state-mem {
360 regulator-off-in-suspend;
365 regulator-name = "UNUSED_LDO14";
366 regulator-min-microvolt = <2700000>;
367 regulator-max-microvolt = <2700000>;
369 regulator-state-mem {
370 regulator-off-in-suspend;
375 regulator-name = "TSP_AVDD_3.3V";
376 regulator-min-microvolt = <3300000>;
377 regulator-max-microvolt = <3300000>;
379 regulator-state-mem {
380 regulator-off-in-suspend;
385 regulator-name = "LCD_VDD_3.3V";
386 regulator-min-microvolt = <3300000>;
387 regulator-max-microvolt = <3300000>;
389 regulator-state-mem {
390 regulator-off-in-suspend;
395 regulator-name = "V_IRLED_3.3V";
396 regulator-min-microvolt = <3300000>;
397 regulator-max-microvolt = <3300000>;
399 regulator-state-mem {
400 regulator-off-in-suspend;
405 regulator-name = "CAM_AF_2.8V";
406 regulator-min-microvolt = <2800000>;
407 regulator-max-microvolt = <2800000>;
409 regulator-state-mem {
410 regulator-off-in-suspend;
415 regulator-name = "TSP_VDD_1.8V";
416 regulator-min-microvolt = <1800000>;
417 regulator-max-microvolt = <1800000>;
419 regulator-state-mem {
420 regulator-off-in-suspend;
425 regulator-name = "LCD_VDD_1.8V";
426 regulator-min-microvolt = <1800000>;
427 regulator-max-microvolt = <1800000>;
429 regulator-state-mem {
430 regulator-off-in-suspend;
435 regulator-name = "CAM_IO_1.8V";
436 regulator-min-microvolt = <1800000>;
437 regulator-max-microvolt = <1800000>;
439 regulator-state-mem {
440 regulator-off-in-suspend;
445 regulator-name = "CAM_DVDD_1.2V";
446 regulator-min-microvolt = <1200000>;
447 regulator-max-microvolt = <1200000>;
449 regulator-state-mem {
450 regulator-off-in-suspend;
455 regulator-name = "HRM_VCC_1.8V";
456 regulator-min-microvolt = <1800000>;
457 regulator-max-microvolt = <1800000>;
462 regulator-name = "HRM_VCC_3.3V";
463 regulator-min-microvolt = <3000000>;
464 regulator-max-microvolt = <3000000>;
466 regulator-state-mem {
467 regulator-off-in-suspend;
472 regulator-name = "UNUSED_LDO25";
473 regulator-min-microvolt = <3000000>;
474 regulator-max-microvolt = <3000000>;
476 regulator-state-mem {
477 regulator-off-in-suspend;
482 regulator-name = "VAP_MIF_1.0V";
483 regulator-min-microvolt = <800000>;
484 regulator-max-microvolt = <900000>;
487 regulator-state-mem {
488 regulator-off-in-suspend;
493 regulator-name = "VAP_ARM_1.0V";
494 regulator-min-microvolt = <850000>;
495 regulator-max-microvolt = <1150000>;
498 regulator-state-mem {
499 regulator-off-in-suspend;
504 regulator-name = "VAP_INT3D_1.0V";
505 regulator-min-microvolt = <850000>;
506 regulator-max-microvolt = <1000000>;
509 regulator-state-mem {
510 regulator-off-in-suspend;
515 regulator-name = "VCC_SUB_1.95V";
516 regulator-min-microvolt = <1950000>;
517 regulator-max-microvolt = <1950000>;
520 regulator-state-mem {
521 regulator-on-in-suspend;
526 regulator-name = "VCC_SUB_1.35V";
527 regulator-min-microvolt = <1350000>;
528 regulator-max-microvolt = <1350000>;
531 regulator-state-mem {
532 regulator-on-in-suspend;
540 #address-cells = <1>;
542 samsung,i2c-sda-delay = <100>;
543 samsung,i2c-slave-addr = <0x10>;
544 samsung,i2c-max-bus-freq = <400000>;
548 compatible = "maxim,max77836-battery";
549 interrupt-parent = <&gpx1>;
564 #address-cells = <1>;
572 card-detect-delay = <200>;
573 vmmc-supply = <&ldo12_reg>;
574 clock-frequency = <100000000>;
575 clock-freq-min-max = <400000 100000000>;
576 samsung,dw-mshc-ciu-div = <1>;
577 samsung,dw-mshc-sdr-timing = <0 1>;
578 samsung,dw-mshc-ddr-timing = <1 2>;
579 pinctrl-names = "default";
580 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
586 assigned-clocks = <&cmu CLK_SCLK_UART0>;
587 assigned-clock-rates = <100000000>;
596 vtmu-supply = <&ldo7_reg>;
601 clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>;
602 clock-names = "rtc", "rtc_src";
607 clock-frequency = <24000000>;
611 pinctrl-names = "default";
612 pinctrl-0 = <&sleep0>;
614 sleep0: sleep-state {
615 PIN_SLP(gpa0-0, INPUT, DOWN);
616 PIN_SLP(gpa0-1, INPUT, DOWN);
617 PIN_SLP(gpa0-2, INPUT, DOWN);
618 PIN_SLP(gpa0-3, INPUT, DOWN);
619 PIN_SLP(gpa0-4, INPUT, DOWN);
620 PIN_SLP(gpa0-5, INPUT, DOWN);
621 PIN_SLP(gpa0-6, INPUT, DOWN);
622 PIN_SLP(gpa0-7, INPUT, DOWN);
624 PIN_SLP(gpa1-0, INPUT, DOWN);
625 PIN_SLP(gpa1-1, INPUT, DOWN);
626 PIN_SLP(gpa1-2, INPUT, DOWN);
627 PIN_SLP(gpa1-3, INPUT, DOWN);
628 PIN_SLP(gpa1-4, INPUT, DOWN);
629 PIN_SLP(gpa1-5, INPUT, DOWN);
631 PIN_SLP(gpb-0, PREV, NONE);
632 PIN_SLP(gpb-1, PREV, NONE);
633 PIN_SLP(gpb-2, PREV, NONE);
634 PIN_SLP(gpb-3, PREV, NONE);
635 PIN_SLP(gpb-4, INPUT, DOWN);
636 PIN_SLP(gpb-5, INPUT, DOWN);
637 PIN_SLP(gpb-6, INPUT, DOWN);
638 PIN_SLP(gpb-7, INPUT, DOWN);
640 PIN_SLP(gpc0-0, INPUT, DOWN);
641 PIN_SLP(gpc0-1, INPUT, DOWN);
642 PIN_SLP(gpc0-2, INPUT, DOWN);
643 PIN_SLP(gpc0-3, INPUT, DOWN);
644 PIN_SLP(gpc0-4, INPUT, DOWN);
646 PIN_SLP(gpc1-0, INPUT, DOWN);
647 PIN_SLP(gpc1-1, INPUT, DOWN);
648 PIN_SLP(gpc1-2, INPUT, DOWN);
649 PIN_SLP(gpc1-3, INPUT, DOWN);
650 PIN_SLP(gpc1-4, INPUT, DOWN);
652 PIN_SLP(gpd0-0, INPUT, DOWN);
653 PIN_SLP(gpd0-1, INPUT, DOWN);
654 PIN_SLP(gpd0-2, INPUT, NONE);
655 PIN_SLP(gpd0-3, INPUT, NONE);
657 PIN_SLP(gpd1-0, INPUT, NONE);
658 PIN_SLP(gpd1-1, INPUT, NONE);
659 PIN_SLP(gpd1-2, INPUT, NONE);
660 PIN_SLP(gpd1-3, INPUT, NONE);
665 pinctrl-names = "default";
666 pinctrl-0 = <&sleep1>;
668 sleep1: sleep-state {
669 PIN_SLP(gpe0-0, PREV, NONE);
670 PIN_SLP(gpe0-1, PREV, NONE);
671 PIN_SLP(gpe0-2, INPUT, DOWN);
672 PIN_SLP(gpe0-3, INPUT, UP);
673 PIN_SLP(gpe0-4, INPUT, DOWN);
674 PIN_SLP(gpe0-5, INPUT, DOWN);
675 PIN_SLP(gpe0-6, INPUT, DOWN);
676 PIN_SLP(gpe0-7, INPUT, DOWN);
678 PIN_SLP(gpe1-0, INPUT, DOWN);
679 PIN_SLP(gpe1-1, PREV, NONE);
680 PIN_SLP(gpe1-2, INPUT, DOWN);
681 PIN_SLP(gpe1-3, INPUT, DOWN);
682 PIN_SLP(gpe1-4, INPUT, DOWN);
683 PIN_SLP(gpe1-5, INPUT, DOWN);
684 PIN_SLP(gpe1-6, INPUT, DOWN);
685 PIN_SLP(gpe1-7, INPUT, NONE);
687 PIN_SLP(gpe2-0, INPUT, NONE);
688 PIN_SLP(gpe2-1, INPUT, NONE);
689 PIN_SLP(gpe2-2, INPUT, NONE);
691 PIN_SLP(gpk0-0, INPUT, DOWN);
692 PIN_SLP(gpk0-1, INPUT, DOWN);
693 PIN_SLP(gpk0-2, OUT0, NONE);
694 PIN_SLP(gpk0-3, INPUT, DOWN);
695 PIN_SLP(gpk0-4, INPUT, DOWN);
696 PIN_SLP(gpk0-5, INPUT, DOWN);
697 PIN_SLP(gpk0-6, INPUT, DOWN);
698 PIN_SLP(gpk0-7, INPUT, DOWN);
700 PIN_SLP(gpk1-0, INPUT, DOWN);
701 PIN_SLP(gpk1-1, INPUT, DOWN);
702 PIN_SLP(gpk1-2, INPUT, DOWN);
703 PIN_SLP(gpk1-3, INPUT, DOWN);
704 PIN_SLP(gpk1-4, INPUT, DOWN);
705 PIN_SLP(gpk1-5, INPUT, DOWN);
706 PIN_SLP(gpk1-6, INPUT, DOWN);
708 PIN_SLP(gpk2-0, INPUT, DOWN);
709 PIN_SLP(gpk2-1, INPUT, DOWN);
710 PIN_SLP(gpk2-2, INPUT, DOWN);
711 PIN_SLP(gpk2-3, INPUT, DOWN);
712 PIN_SLP(gpk2-4, INPUT, DOWN);
713 PIN_SLP(gpk2-5, INPUT, DOWN);
714 PIN_SLP(gpk2-6, INPUT, DOWN);
716 PIN_SLP(gpl0-0, INPUT, DOWN);
717 PIN_SLP(gpl0-1, INPUT, DOWN);
718 PIN_SLP(gpl0-2, INPUT, DOWN);
719 PIN_SLP(gpl0-3, INPUT, DOWN);
721 PIN_SLP(gpm0-0, INPUT, DOWN);
722 PIN_SLP(gpm0-1, INPUT, DOWN);
723 PIN_SLP(gpm0-2, INPUT, DOWN);
724 PIN_SLP(gpm0-3, INPUT, DOWN);
725 PIN_SLP(gpm0-4, INPUT, DOWN);
726 PIN_SLP(gpm0-5, INPUT, DOWN);
727 PIN_SLP(gpm0-6, INPUT, DOWN);
728 PIN_SLP(gpm0-7, INPUT, DOWN);
730 PIN_SLP(gpm1-0, INPUT, DOWN);
731 PIN_SLP(gpm1-1, INPUT, DOWN);
732 PIN_SLP(gpm1-2, INPUT, DOWN);
733 PIN_SLP(gpm1-3, INPUT, DOWN);
734 PIN_SLP(gpm1-4, INPUT, DOWN);
735 PIN_SLP(gpm1-5, INPUT, DOWN);
736 PIN_SLP(gpm1-6, INPUT, DOWN);
738 PIN_SLP(gpm2-0, INPUT, DOWN);
739 PIN_SLP(gpm2-1, INPUT, DOWN);
740 PIN_SLP(gpm2-2, INPUT, DOWN);
741 PIN_SLP(gpm2-3, INPUT, DOWN);
742 PIN_SLP(gpm2-4, INPUT, DOWN);
744 PIN_SLP(gpm3-0, INPUT, DOWN);
745 PIN_SLP(gpm3-1, INPUT, DOWN);
746 PIN_SLP(gpm3-2, INPUT, DOWN);
747 PIN_SLP(gpm3-3, INPUT, DOWN);
748 PIN_SLP(gpm3-4, INPUT, DOWN);
749 PIN_SLP(gpm3-5, INPUT, DOWN);
750 PIN_SLP(gpm3-6, INPUT, DOWN);
751 PIN_SLP(gpm3-7, INPUT, DOWN);
753 PIN_SLP(gpm4-0, INPUT, DOWN);
754 PIN_SLP(gpm4-1, INPUT, DOWN);
755 PIN_SLP(gpm4-2, INPUT, DOWN);
756 PIN_SLP(gpm4-3, INPUT, DOWN);
757 PIN_SLP(gpm4-4, INPUT, DOWN);
758 PIN_SLP(gpm4-5, INPUT, DOWN);
759 PIN_SLP(gpm4-6, INPUT, DOWN);
760 PIN_SLP(gpm4-7, INPUT, DOWN);