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>;
104 compatible = "regulator-haptic";
105 haptic-supply = <&motor_reg>;
106 min-microvolt = <1100000>;
107 max-microvolt = <2700000>;
112 vdd-supply = <&ldo3_reg>;
114 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
115 assigned-clock-rates = <6000000>;
118 compatible = "ntc,ncp15wb473";
119 pullup-uv = <1800000>;
120 pullup-ohm = <100000>;
121 pulldown-ohm = <100000>;
122 io-channels = <&adc 0>;
126 compatible = "ntc,ncp15wb473";
127 pullup-uv = <1800000>;
128 pullup-ohm = <100000>;
129 pulldown-ohm = <100000>;
130 io-channels = <&adc 1>;
139 vusb_d-supply = <&ldo15_reg>;
140 vusb_a-supply = <&ldo12_reg>;
141 dr_mode = "peripheral";
146 vddcore-supply = <&ldo6_reg>;
147 vddio-supply = <&ldo6_reg>;
148 samsung,pll-clock-frequency = <24000000>;
152 #address-cells = <1>;
159 remote-endpoint = <&dsi_in>;
160 samsung,burst-clock-frequency = <250000000>;
161 samsung,esc-clock-frequency = <20000000>;
167 compatible = "samsung,s6e63j0x03";
169 vdd3-supply = <&ldo16_reg>;
170 vci-supply = <&ldo20_reg>;
171 reset-gpios = <&gpe0 1 0>;
172 te-gpios = <&gpx0 6 0>;
173 power-on-delay= <30>;
174 power-off-delay= <120>;
179 panel-width-mm = <29>;
180 panel-height-mm = <29>;
184 clock-frequency = <0>;
190 vfront-porch = <150>;
198 remote-endpoint = <&dsi_out>;
216 #address-cells = <1>;
218 samsung,i2c-sda-delay = <100>;
219 samsung,i2c-slave-addr = <0x10>;
220 samsung,i2c-max-bus-freq = <100000>;
224 compatible = "samsung,s2mps14-pmic";
225 interrupt-parent = <&gpx0>;
230 s2mps14_osc: clocks {
231 compatible = "samsung,s2mps14-clk";
233 clock-output-names = "s2mps14_ap", "unused",
239 regulator-name = "VAP_ALIVE_1.0V";
240 regulator-min-microvolt = <1000000>;
241 regulator-max-microvolt = <1000000>;
244 regulator-state-mem {
245 regulator-on-in-suspend;
250 regulator-name = "VAP_M1_1.2V";
251 regulator-min-microvolt = <1200000>;
252 regulator-max-microvolt = <1200000>;
255 regulator-state-mem {
256 regulator-off-in-suspend;
261 regulator-name = "VCC_AP_1.8V";
262 regulator-min-microvolt = <1800000>;
263 regulator-max-microvolt = <1800000>;
266 regulator-state-mem {
267 regulator-off-in-suspend;
272 regulator-name = "VAP_AVDD_PLL1";
273 regulator-min-microvolt = <1800000>;
274 regulator-max-microvolt = <1800000>;
277 regulator-state-mem {
278 regulator-off-in-suspend;
283 regulator-name = "VAP_PLL_ISO_1.0V";
284 regulator-min-microvolt = <1000000>;
285 regulator-max-microvolt = <1000000>;
288 regulator-state-mem {
289 regulator-off-in-suspend;
294 regulator-name = "VAP_VMIPI_1.0V";
295 regulator-min-microvolt = <1000000>;
296 regulator-max-microvolt = <1000000>;
299 regulator-state-mem {
300 regulator-off-in-suspend;
305 regulator-name = "VAP_AVDD_1.8V";
306 regulator-min-microvolt = <1800000>;
307 regulator-max-microvolt = <1800000>;
310 regulator-state-mem {
311 regulator-off-in-suspend;
316 regulator-name = "VAP_USB_3.0V";
317 regulator-min-microvolt = <3000000>;
318 regulator-max-microvolt = <3000000>;
321 regulator-state-mem {
322 regulator-off-in-suspend;
327 regulator-name = "V_LPDDR_1.2V";
328 regulator-min-microvolt = <1200000>;
329 regulator-max-microvolt = <1200000>;
332 regulator-state-mem {
333 regulator-on-in-suspend;
338 regulator-name = "UNUSED_LDO10";
339 regulator-min-microvolt = <1000000>;
340 regulator-max-microvolt = <1000000>;
342 regulator-state-mem {
343 regulator-off-in-suspend;
348 regulator-name = "V_EMMC_1.8V";
349 regulator-min-microvolt = <1800000>;
350 regulator-max-microvolt = <1800000>;
351 samsung,ext-control-gpios = <&gpk0 2 0>;
355 regulator-name = "V_EMMC_2.8V";
356 regulator-min-microvolt = <2800000>;
357 regulator-max-microvolt = <2800000>;
358 samsung,ext-control-gpios = <&gpk0 2 0>;
362 regulator-name = "CAM_AVDD_2.8V";
363 regulator-min-microvolt = <2800000>;
364 regulator-max-microvolt = <2800000>;
366 regulator-state-mem {
367 regulator-off-in-suspend;
372 regulator-name = "UNUSED_LDO14";
373 regulator-min-microvolt = <2700000>;
374 regulator-max-microvolt = <2700000>;
376 regulator-state-mem {
377 regulator-off-in-suspend;
382 regulator-name = "TSP_AVDD_3.3V";
383 regulator-min-microvolt = <3300000>;
384 regulator-max-microvolt = <3300000>;
386 regulator-state-mem {
387 regulator-off-in-suspend;
392 regulator-name = "LCD_VDD_3.3V";
393 regulator-min-microvolt = <3300000>;
394 regulator-max-microvolt = <3300000>;
396 regulator-state-mem {
397 regulator-off-in-suspend;
402 regulator-name = "V_IRLED_3.3V";
403 regulator-min-microvolt = <3300000>;
404 regulator-max-microvolt = <3300000>;
406 regulator-state-mem {
407 regulator-off-in-suspend;
412 regulator-name = "CAM_AF_2.8V";
413 regulator-min-microvolt = <2800000>;
414 regulator-max-microvolt = <2800000>;
416 regulator-state-mem {
417 regulator-off-in-suspend;
422 regulator-name = "TSP_VDD_1.8V";
423 regulator-min-microvolt = <1800000>;
424 regulator-max-microvolt = <1800000>;
426 regulator-state-mem {
427 regulator-off-in-suspend;
432 regulator-name = "LCD_VDD_1.8V";
433 regulator-min-microvolt = <1800000>;
434 regulator-max-microvolt = <1800000>;
436 regulator-state-mem {
437 regulator-off-in-suspend;
442 regulator-name = "CAM_IO_1.8V";
443 regulator-min-microvolt = <1800000>;
444 regulator-max-microvolt = <1800000>;
446 regulator-state-mem {
447 regulator-off-in-suspend;
452 regulator-name = "CAM_DVDD_1.2V";
453 regulator-min-microvolt = <1200000>;
454 regulator-max-microvolt = <1200000>;
456 regulator-state-mem {
457 regulator-off-in-suspend;
462 regulator-name = "HRM_VCC_1.8V";
463 regulator-min-microvolt = <1800000>;
464 regulator-max-microvolt = <1800000>;
469 regulator-name = "HRM_VCC_3.3V";
470 regulator-min-microvolt = <3000000>;
471 regulator-max-microvolt = <3000000>;
473 regulator-state-mem {
474 regulator-off-in-suspend;
479 regulator-name = "UNUSED_LDO25";
480 regulator-min-microvolt = <3000000>;
481 regulator-max-microvolt = <3000000>;
483 regulator-state-mem {
484 regulator-off-in-suspend;
489 regulator-name = "VAP_MIF_1.0V";
490 regulator-min-microvolt = <800000>;
491 regulator-max-microvolt = <900000>;
494 regulator-state-mem {
495 regulator-off-in-suspend;
500 regulator-name = "VAP_ARM_1.0V";
501 regulator-min-microvolt = <850000>;
502 regulator-max-microvolt = <1150000>;
505 regulator-state-mem {
506 regulator-off-in-suspend;
511 regulator-name = "VAP_INT3D_1.0V";
512 regulator-min-microvolt = <850000>;
513 regulator-max-microvolt = <1000000>;
516 regulator-state-mem {
517 regulator-off-in-suspend;
522 regulator-name = "VCC_SUB_1.95V";
523 regulator-min-microvolt = <1950000>;
524 regulator-max-microvolt = <1950000>;
527 regulator-state-mem {
528 regulator-on-in-suspend;
533 regulator-name = "VCC_SUB_1.35V";
534 regulator-min-microvolt = <1350000>;
535 regulator-max-microvolt = <1350000>;
538 regulator-state-mem {
539 regulator-on-in-suspend;
547 #address-cells = <1>;
549 samsung,i2c-sda-delay = <100>;
550 samsung,i2c-slave-addr = <0x10>;
551 samsung,i2c-max-bus-freq = <400000>;
555 compatible = "maxim,max77836-battery";
556 interrupt-parent = <&gpx1>;
571 #address-cells = <1>;
579 card-detect-delay = <200>;
580 vmmc-supply = <&ldo12_reg>;
581 clock-frequency = <100000000>;
582 clock-freq-min-max = <400000 100000000>;
583 samsung,dw-mshc-ciu-div = <1>;
584 samsung,dw-mshc-sdr-timing = <0 1>;
585 samsung,dw-mshc-ddr-timing = <1 2>;
586 pinctrl-names = "default";
587 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
593 assigned-clocks = <&cmu CLK_SCLK_UART0>;
594 assigned-clock-rates = <100000000>;
603 vtmu-supply = <&ldo7_reg>;
608 clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>;
609 clock-names = "rtc", "rtc_src";
614 clock-frequency = <24000000>;
618 pinctrl-names = "default";
619 pinctrl-0 = <&sleep0>;
621 sleep0: sleep-state {
622 PIN_SLP(gpa0-0, INPUT, DOWN);
623 PIN_SLP(gpa0-1, INPUT, DOWN);
624 PIN_SLP(gpa0-2, INPUT, DOWN);
625 PIN_SLP(gpa0-3, INPUT, DOWN);
626 PIN_SLP(gpa0-4, INPUT, DOWN);
627 PIN_SLP(gpa0-5, INPUT, DOWN);
628 PIN_SLP(gpa0-6, INPUT, DOWN);
629 PIN_SLP(gpa0-7, INPUT, DOWN);
631 PIN_SLP(gpa1-0, INPUT, DOWN);
632 PIN_SLP(gpa1-1, INPUT, DOWN);
633 PIN_SLP(gpa1-2, INPUT, DOWN);
634 PIN_SLP(gpa1-3, INPUT, DOWN);
635 PIN_SLP(gpa1-4, INPUT, DOWN);
636 PIN_SLP(gpa1-5, INPUT, DOWN);
638 PIN_SLP(gpb-0, PREV, NONE);
639 PIN_SLP(gpb-1, PREV, NONE);
640 PIN_SLP(gpb-2, PREV, NONE);
641 PIN_SLP(gpb-3, PREV, NONE);
642 PIN_SLP(gpb-4, INPUT, DOWN);
643 PIN_SLP(gpb-5, INPUT, DOWN);
644 PIN_SLP(gpb-6, INPUT, DOWN);
645 PIN_SLP(gpb-7, INPUT, DOWN);
647 PIN_SLP(gpc0-0, INPUT, DOWN);
648 PIN_SLP(gpc0-1, INPUT, DOWN);
649 PIN_SLP(gpc0-2, INPUT, DOWN);
650 PIN_SLP(gpc0-3, INPUT, DOWN);
651 PIN_SLP(gpc0-4, INPUT, DOWN);
653 PIN_SLP(gpc1-0, INPUT, DOWN);
654 PIN_SLP(gpc1-1, INPUT, DOWN);
655 PIN_SLP(gpc1-2, INPUT, DOWN);
656 PIN_SLP(gpc1-3, INPUT, DOWN);
657 PIN_SLP(gpc1-4, INPUT, DOWN);
659 PIN_SLP(gpd0-0, INPUT, DOWN);
660 PIN_SLP(gpd0-1, INPUT, DOWN);
661 PIN_SLP(gpd0-2, INPUT, NONE);
662 PIN_SLP(gpd0-3, INPUT, NONE);
664 PIN_SLP(gpd1-0, INPUT, NONE);
665 PIN_SLP(gpd1-1, INPUT, NONE);
666 PIN_SLP(gpd1-2, INPUT, NONE);
667 PIN_SLP(gpd1-3, INPUT, NONE);
672 pinctrl-names = "default";
673 pinctrl-0 = <&sleep1>;
675 sleep1: sleep-state {
676 PIN_SLP(gpe0-0, PREV, NONE);
677 PIN_SLP(gpe0-1, PREV, NONE);
678 PIN_SLP(gpe0-2, INPUT, DOWN);
679 PIN_SLP(gpe0-3, INPUT, UP);
680 PIN_SLP(gpe0-4, INPUT, DOWN);
681 PIN_SLP(gpe0-5, INPUT, DOWN);
682 PIN_SLP(gpe0-6, INPUT, DOWN);
683 PIN_SLP(gpe0-7, INPUT, DOWN);
685 PIN_SLP(gpe1-0, INPUT, DOWN);
686 PIN_SLP(gpe1-1, PREV, NONE);
687 PIN_SLP(gpe1-2, INPUT, DOWN);
688 PIN_SLP(gpe1-3, INPUT, DOWN);
689 PIN_SLP(gpe1-4, INPUT, DOWN);
690 PIN_SLP(gpe1-5, INPUT, DOWN);
691 PIN_SLP(gpe1-6, INPUT, DOWN);
692 PIN_SLP(gpe1-7, INPUT, NONE);
694 PIN_SLP(gpe2-0, INPUT, NONE);
695 PIN_SLP(gpe2-1, INPUT, NONE);
696 PIN_SLP(gpe2-2, INPUT, NONE);
698 PIN_SLP(gpk0-0, INPUT, DOWN);
699 PIN_SLP(gpk0-1, INPUT, DOWN);
700 PIN_SLP(gpk0-2, OUT0, NONE);
701 PIN_SLP(gpk0-3, INPUT, DOWN);
702 PIN_SLP(gpk0-4, INPUT, DOWN);
703 PIN_SLP(gpk0-5, INPUT, DOWN);
704 PIN_SLP(gpk0-6, INPUT, DOWN);
705 PIN_SLP(gpk0-7, INPUT, DOWN);
707 PIN_SLP(gpk1-0, INPUT, DOWN);
708 PIN_SLP(gpk1-1, INPUT, DOWN);
709 PIN_SLP(gpk1-2, INPUT, DOWN);
710 PIN_SLP(gpk1-3, INPUT, DOWN);
711 PIN_SLP(gpk1-4, INPUT, DOWN);
712 PIN_SLP(gpk1-5, INPUT, DOWN);
713 PIN_SLP(gpk1-6, INPUT, DOWN);
715 PIN_SLP(gpk2-0, INPUT, DOWN);
716 PIN_SLP(gpk2-1, INPUT, DOWN);
717 PIN_SLP(gpk2-2, INPUT, DOWN);
718 PIN_SLP(gpk2-3, INPUT, DOWN);
719 PIN_SLP(gpk2-4, INPUT, DOWN);
720 PIN_SLP(gpk2-5, INPUT, DOWN);
721 PIN_SLP(gpk2-6, INPUT, DOWN);
723 PIN_SLP(gpl0-0, INPUT, DOWN);
724 PIN_SLP(gpl0-1, INPUT, DOWN);
725 PIN_SLP(gpl0-2, INPUT, DOWN);
726 PIN_SLP(gpl0-3, INPUT, DOWN);
728 PIN_SLP(gpm0-0, INPUT, DOWN);
729 PIN_SLP(gpm0-1, INPUT, DOWN);
730 PIN_SLP(gpm0-2, INPUT, DOWN);
731 PIN_SLP(gpm0-3, INPUT, DOWN);
732 PIN_SLP(gpm0-4, INPUT, DOWN);
733 PIN_SLP(gpm0-5, INPUT, DOWN);
734 PIN_SLP(gpm0-6, INPUT, DOWN);
735 PIN_SLP(gpm0-7, INPUT, DOWN);
737 PIN_SLP(gpm1-0, INPUT, DOWN);
738 PIN_SLP(gpm1-1, INPUT, DOWN);
739 PIN_SLP(gpm1-2, INPUT, DOWN);
740 PIN_SLP(gpm1-3, INPUT, DOWN);
741 PIN_SLP(gpm1-4, INPUT, DOWN);
742 PIN_SLP(gpm1-5, INPUT, DOWN);
743 PIN_SLP(gpm1-6, INPUT, DOWN);
745 PIN_SLP(gpm2-0, INPUT, DOWN);
746 PIN_SLP(gpm2-1, INPUT, DOWN);
747 PIN_SLP(gpm2-2, INPUT, DOWN);
748 PIN_SLP(gpm2-3, INPUT, DOWN);
749 PIN_SLP(gpm2-4, INPUT, DOWN);
751 PIN_SLP(gpm3-0, INPUT, DOWN);
752 PIN_SLP(gpm3-1, INPUT, DOWN);
753 PIN_SLP(gpm3-2, INPUT, DOWN);
754 PIN_SLP(gpm3-3, INPUT, DOWN);
755 PIN_SLP(gpm3-4, INPUT, DOWN);
756 PIN_SLP(gpm3-5, INPUT, DOWN);
757 PIN_SLP(gpm3-6, INPUT, DOWN);
758 PIN_SLP(gpm3-7, INPUT, DOWN);
760 PIN_SLP(gpm4-0, INPUT, DOWN);
761 PIN_SLP(gpm4-1, INPUT, DOWN);
762 PIN_SLP(gpm4-2, INPUT, DOWN);
763 PIN_SLP(gpm4-3, INPUT, DOWN);
764 PIN_SLP(gpm4-4, INPUT, DOWN);
765 PIN_SLP(gpm4-5, INPUT, DOWN);
766 PIN_SLP(gpm4-6, INPUT, DOWN);
767 PIN_SLP(gpm4-7, INPUT, DOWN);