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 "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 Rinato board";
24 compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3";
31 reg = <0x40000000 0x1ff00000>;
35 compatible = "samsung,secure-firmware";
36 reg = <0x0205F000 0x1000>;
40 compatible = "gpio-keys";
43 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_POWER>;
46 debounce-interval = <10>;
51 i2c_max77836: i2c-gpio-0 {
52 compatible = "i2c-gpio";
53 gpios = <&gpd0 2 GPIO_ACTIVE_HIGH>, <&gpd0 3 GPIO_ACTIVE_HIGH>;
57 max77836: subpmic@25 {
58 compatible = "maxim,max77836";
59 interrupt-parent = <&gpx1>;
65 compatible = "maxim,max77836-muic";
69 compatible = "maxim,max77836-regulator";
70 safeout_reg: SAFEOUT {
71 regulator-name = "SAFEOUT";
74 charger_reg: CHARGER {
75 regulator-name = "CHARGER";
76 regulator-min-microamp = <45000>;
77 regulator-max-microamp = <475000>;
82 regulator-name = "MOT_2.7V";
83 regulator-min-microvolt = <1100000>;
84 regulator-max-microvolt = <2700000>;
88 regulator-name = "UNUSED_LDO2";
89 regulator-min-microvolt = <800000>;
90 regulator-max-microvolt = <3950000>;
95 compatible = "maxim,max77836-charger";
97 maxim,constant-uvolt = <4350000>;
98 maxim,fast-charge-uamp = <225000>;
99 maxim,eoc-uamp = <7500>;
100 maxim,ovp-uvolt = <6500000>;
106 compatible = "regulator-haptic";
107 haptic-supply = <&motor_reg>;
108 min-microvolt = <1100000>;
109 max-microvolt = <2700000>;
113 cpu_thermal: cpu-thermal {
116 /* Corresponds to 500MHz */
117 cooling-device = <&cpu0 5 5>;
120 /* Corresponds to 200MHz */
121 cooling-device = <&cpu0 8 8>;
129 vdd-supply = <&ldo3_reg>;
131 assigned-clocks = <&cmu CLK_SCLK_TSADC>;
132 assigned-clock-rates = <6000000>;
135 compatible = "ntc,ncp15wb473";
136 pullup-uv = <1800000>;
137 pullup-ohm = <100000>;
138 pulldown-ohm = <100000>;
139 io-channels = <&adc 0>;
143 compatible = "ntc,ncp15wb473";
144 pullup-uv = <1800000>;
145 pullup-ohm = <100000>;
146 pulldown-ohm = <100000>;
147 io-channels = <&adc 1>;
152 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
153 vdd-supply = <&buck1_reg>;
158 cpu0-supply = <&buck2_reg>;
163 vbus-supply = <&safeout_reg>;
167 vusb_d-supply = <&ldo15_reg>;
168 vusb_a-supply = <&ldo12_reg>;
169 dr_mode = "peripheral";
174 vddcore-supply = <&ldo6_reg>;
175 vddio-supply = <&ldo6_reg>;
176 samsung,pll-clock-frequency = <24000000>;
180 #address-cells = <1>;
187 remote-endpoint = <&dsi_in>;
188 samsung,burst-clock-frequency = <250000000>;
189 samsung,esc-clock-frequency = <20000000>;
195 compatible = "samsung,s6e63j0x03";
197 vdd3-supply = <&ldo16_reg>;
198 vci-supply = <&ldo20_reg>;
199 reset-gpios = <&gpe0 1 GPIO_ACTIVE_HIGH>;
200 te-gpios = <&gpx0 6 GPIO_ACTIVE_HIGH>;
201 power-on-delay= <30>;
202 power-off-delay= <120>;
207 panel-width-mm = <29>;
208 panel-height-mm = <29>;
212 clock-frequency = <4600000>;
218 vfront-porch = <150>;
226 remote-endpoint = <&dsi_out>;
244 #address-cells = <1>;
246 samsung,i2c-sda-delay = <100>;
247 samsung,i2c-slave-addr = <0x10>;
248 samsung,i2c-max-bus-freq = <100000>;
252 compatible = "samsung,s2mps14-pmic";
253 interrupt-parent = <&gpx0>;
258 s2mps14_osc: clocks {
259 compatible = "samsung,s2mps14-clk";
261 clock-output-names = "s2mps14_ap", "unused",
267 regulator-name = "VAP_ALIVE_1.0V";
268 regulator-min-microvolt = <1000000>;
269 regulator-max-microvolt = <1000000>;
272 regulator-state-mem {
273 regulator-on-in-suspend;
278 regulator-name = "VAP_M1_1.2V";
279 regulator-min-microvolt = <1200000>;
280 regulator-max-microvolt = <1200000>;
283 regulator-state-mem {
284 regulator-off-in-suspend;
289 regulator-name = "VCC_AP_1.8V";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
294 regulator-state-mem {
295 regulator-off-in-suspend;
300 regulator-name = "VAP_AVDD_PLL1";
301 regulator-min-microvolt = <1800000>;
302 regulator-max-microvolt = <1800000>;
305 regulator-state-mem {
306 regulator-off-in-suspend;
311 regulator-name = "VAP_PLL_ISO_1.0V";
312 regulator-min-microvolt = <1000000>;
313 regulator-max-microvolt = <1000000>;
316 regulator-state-mem {
317 regulator-off-in-suspend;
322 regulator-name = "VAP_VMIPI_1.0V";
323 regulator-min-microvolt = <1000000>;
324 regulator-max-microvolt = <1000000>;
327 regulator-state-mem {
328 regulator-off-in-suspend;
333 regulator-name = "VAP_AVDD_1.8V";
334 regulator-min-microvolt = <1800000>;
335 regulator-max-microvolt = <1800000>;
338 regulator-state-mem {
339 regulator-off-in-suspend;
344 regulator-name = "VAP_USB_3.0V";
345 regulator-min-microvolt = <3000000>;
346 regulator-max-microvolt = <3000000>;
349 regulator-state-mem {
350 regulator-off-in-suspend;
355 regulator-name = "V_LPDDR_1.2V";
356 regulator-min-microvolt = <1200000>;
357 regulator-max-microvolt = <1200000>;
360 regulator-state-mem {
361 regulator-on-in-suspend;
366 regulator-name = "UNUSED_LDO10";
367 regulator-min-microvolt = <1000000>;
368 regulator-max-microvolt = <1000000>;
370 regulator-state-mem {
371 regulator-off-in-suspend;
376 regulator-name = "V_EMMC_1.8V";
377 regulator-min-microvolt = <1800000>;
378 regulator-max-microvolt = <1800000>;
379 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
383 regulator-name = "V_EMMC_2.8V";
384 regulator-min-microvolt = <2800000>;
385 regulator-max-microvolt = <2800000>;
386 samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
390 regulator-name = "CAM_AVDD_2.8V";
391 regulator-min-microvolt = <2800000>;
392 regulator-max-microvolt = <2800000>;
394 regulator-state-mem {
395 regulator-off-in-suspend;
400 regulator-name = "UNUSED_LDO14";
401 regulator-min-microvolt = <2700000>;
402 regulator-max-microvolt = <2700000>;
404 regulator-state-mem {
405 regulator-off-in-suspend;
410 regulator-name = "TSP_AVDD_3.3V";
411 regulator-min-microvolt = <3300000>;
412 regulator-max-microvolt = <3300000>;
414 regulator-state-mem {
415 regulator-off-in-suspend;
420 regulator-name = "LCD_VDD_3.3V";
421 regulator-min-microvolt = <3300000>;
422 regulator-max-microvolt = <3300000>;
424 regulator-state-mem {
425 regulator-off-in-suspend;
430 regulator-name = "V_IRLED_3.3V";
431 regulator-min-microvolt = <3300000>;
432 regulator-max-microvolt = <3300000>;
434 regulator-state-mem {
435 regulator-off-in-suspend;
440 regulator-name = "CAM_AF_2.8V";
441 regulator-min-microvolt = <2800000>;
442 regulator-max-microvolt = <2800000>;
444 regulator-state-mem {
445 regulator-off-in-suspend;
450 regulator-name = "TSP_VDD_1.8V";
451 regulator-min-microvolt = <1800000>;
452 regulator-max-microvolt = <1800000>;
454 regulator-state-mem {
455 regulator-off-in-suspend;
460 regulator-name = "LCD_VDD_1.8V";
461 regulator-min-microvolt = <1800000>;
462 regulator-max-microvolt = <1800000>;
464 regulator-state-mem {
465 regulator-off-in-suspend;
470 regulator-name = "CAM_IO_1.8V";
471 regulator-min-microvolt = <1800000>;
472 regulator-max-microvolt = <1800000>;
474 regulator-state-mem {
475 regulator-off-in-suspend;
480 regulator-name = "CAM_DVDD_1.2V";
481 regulator-min-microvolt = <1200000>;
482 regulator-max-microvolt = <1200000>;
484 regulator-state-mem {
485 regulator-off-in-suspend;
490 regulator-name = "HRM_VCC_1.8V";
491 regulator-min-microvolt = <1800000>;
492 regulator-max-microvolt = <1800000>;
497 regulator-name = "HRM_VCC_3.3V";
498 regulator-min-microvolt = <3000000>;
499 regulator-max-microvolt = <3000000>;
501 regulator-state-mem {
502 regulator-off-in-suspend;
507 regulator-name = "UNUSED_LDO25";
508 regulator-min-microvolt = <3000000>;
509 regulator-max-microvolt = <3000000>;
511 regulator-state-mem {
512 regulator-off-in-suspend;
517 regulator-name = "VAP_MIF_1.0V";
518 regulator-min-microvolt = <800000>;
519 regulator-max-microvolt = <900000>;
522 regulator-state-mem {
523 regulator-off-in-suspend;
528 regulator-name = "VAP_ARM_1.0V";
529 regulator-min-microvolt = <850000>;
530 regulator-max-microvolt = <1150000>;
533 regulator-state-mem {
534 regulator-off-in-suspend;
539 regulator-name = "VAP_INT3D_1.0V";
540 regulator-min-microvolt = <850000>;
541 regulator-max-microvolt = <1000000>;
544 regulator-state-mem {
545 regulator-off-in-suspend;
550 regulator-name = "VCC_SUB_1.95V";
551 regulator-min-microvolt = <1950000>;
552 regulator-max-microvolt = <1950000>;
555 regulator-state-mem {
556 regulator-on-in-suspend;
561 regulator-name = "VCC_SUB_1.35V";
562 regulator-min-microvolt = <1350000>;
563 regulator-max-microvolt = <1350000>;
566 regulator-state-mem {
567 regulator-on-in-suspend;
575 #address-cells = <1>;
577 samsung,i2c-sda-delay = <100>;
578 samsung,i2c-slave-addr = <0x10>;
579 samsung,i2c-max-bus-freq = <400000>;
583 compatible = "maxim,max77836-battery";
584 interrupt-parent = <&gpx1>;
603 #address-cells = <1>;
611 card-detect-delay = <200>;
612 vmmc-supply = <&ldo12_reg>;
613 clock-frequency = <100000000>;
614 clock-freq-min-max = <400000 100000000>;
615 samsung,dw-mshc-ciu-div = <1>;
616 samsung,dw-mshc-sdr-timing = <0 1>;
617 samsung,dw-mshc-ddr-timing = <1 2>;
618 pinctrl-names = "default";
619 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
625 assigned-clocks = <&cmu CLK_SCLK_UART0>;
626 assigned-clock-rates = <100000000>;
635 vtmu-supply = <&ldo7_reg>;
640 clocks = <&cmu CLK_RTC>, <&s2mps14_osc S2MPS11_CLK_AP>;
641 clock-names = "rtc", "rtc_src";
646 clock-frequency = <24000000>;
650 pinctrl-names = "default";
651 pinctrl-0 = <&sleep0>;
653 sleep0: sleep-state {
654 PIN_SLP(gpa0-0, INPUT, DOWN);
655 PIN_SLP(gpa0-1, INPUT, DOWN);
656 PIN_SLP(gpa0-2, INPUT, DOWN);
657 PIN_SLP(gpa0-3, INPUT, DOWN);
658 PIN_SLP(gpa0-4, INPUT, DOWN);
659 PIN_SLP(gpa0-5, INPUT, DOWN);
660 PIN_SLP(gpa0-6, INPUT, DOWN);
661 PIN_SLP(gpa0-7, INPUT, DOWN);
663 PIN_SLP(gpa1-0, INPUT, DOWN);
664 PIN_SLP(gpa1-1, INPUT, DOWN);
665 PIN_SLP(gpa1-2, INPUT, DOWN);
666 PIN_SLP(gpa1-3, INPUT, DOWN);
667 PIN_SLP(gpa1-4, INPUT, DOWN);
668 PIN_SLP(gpa1-5, INPUT, DOWN);
670 PIN_SLP(gpb-0, PREV, NONE);
671 PIN_SLP(gpb-1, PREV, NONE);
672 PIN_SLP(gpb-2, PREV, NONE);
673 PIN_SLP(gpb-3, PREV, NONE);
674 PIN_SLP(gpb-4, INPUT, DOWN);
675 PIN_SLP(gpb-5, INPUT, DOWN);
676 PIN_SLP(gpb-6, INPUT, DOWN);
677 PIN_SLP(gpb-7, INPUT, DOWN);
679 PIN_SLP(gpc0-0, INPUT, DOWN);
680 PIN_SLP(gpc0-1, INPUT, DOWN);
681 PIN_SLP(gpc0-2, INPUT, DOWN);
682 PIN_SLP(gpc0-3, INPUT, DOWN);
683 PIN_SLP(gpc0-4, INPUT, DOWN);
685 PIN_SLP(gpc1-0, INPUT, DOWN);
686 PIN_SLP(gpc1-1, INPUT, DOWN);
687 PIN_SLP(gpc1-2, INPUT, DOWN);
688 PIN_SLP(gpc1-3, INPUT, DOWN);
689 PIN_SLP(gpc1-4, INPUT, DOWN);
691 PIN_SLP(gpd0-0, INPUT, DOWN);
692 PIN_SLP(gpd0-1, INPUT, DOWN);
693 PIN_SLP(gpd0-2, INPUT, NONE);
694 PIN_SLP(gpd0-3, INPUT, NONE);
696 PIN_SLP(gpd1-0, INPUT, NONE);
697 PIN_SLP(gpd1-1, INPUT, NONE);
698 PIN_SLP(gpd1-2, INPUT, NONE);
699 PIN_SLP(gpd1-3, INPUT, NONE);
704 pinctrl-names = "default";
705 pinctrl-0 = <&sleep1>;
707 sleep1: sleep-state {
708 PIN_SLP(gpe0-0, PREV, NONE);
709 PIN_SLP(gpe0-1, PREV, NONE);
710 PIN_SLP(gpe0-2, INPUT, DOWN);
711 PIN_SLP(gpe0-3, INPUT, UP);
712 PIN_SLP(gpe0-4, INPUT, DOWN);
713 PIN_SLP(gpe0-5, INPUT, DOWN);
714 PIN_SLP(gpe0-6, INPUT, DOWN);
715 PIN_SLP(gpe0-7, INPUT, DOWN);
717 PIN_SLP(gpe1-0, INPUT, DOWN);
718 PIN_SLP(gpe1-1, PREV, NONE);
719 PIN_SLP(gpe1-2, INPUT, DOWN);
720 PIN_SLP(gpe1-3, INPUT, DOWN);
721 PIN_SLP(gpe1-4, INPUT, DOWN);
722 PIN_SLP(gpe1-5, INPUT, DOWN);
723 PIN_SLP(gpe1-6, INPUT, DOWN);
724 PIN_SLP(gpe1-7, INPUT, NONE);
726 PIN_SLP(gpe2-0, INPUT, NONE);
727 PIN_SLP(gpe2-1, INPUT, NONE);
728 PIN_SLP(gpe2-2, INPUT, NONE);
730 PIN_SLP(gpk0-0, INPUT, DOWN);
731 PIN_SLP(gpk0-1, INPUT, DOWN);
732 PIN_SLP(gpk0-2, OUT0, NONE);
733 PIN_SLP(gpk0-3, INPUT, DOWN);
734 PIN_SLP(gpk0-4, INPUT, DOWN);
735 PIN_SLP(gpk0-5, INPUT, DOWN);
736 PIN_SLP(gpk0-6, INPUT, DOWN);
737 PIN_SLP(gpk0-7, INPUT, DOWN);
739 PIN_SLP(gpk1-0, INPUT, DOWN);
740 PIN_SLP(gpk1-1, INPUT, DOWN);
741 PIN_SLP(gpk1-2, INPUT, DOWN);
742 PIN_SLP(gpk1-3, INPUT, DOWN);
743 PIN_SLP(gpk1-4, INPUT, DOWN);
744 PIN_SLP(gpk1-5, INPUT, DOWN);
745 PIN_SLP(gpk1-6, INPUT, DOWN);
747 PIN_SLP(gpk2-0, INPUT, DOWN);
748 PIN_SLP(gpk2-1, INPUT, DOWN);
749 PIN_SLP(gpk2-2, INPUT, DOWN);
750 PIN_SLP(gpk2-3, INPUT, DOWN);
751 PIN_SLP(gpk2-4, INPUT, DOWN);
752 PIN_SLP(gpk2-5, INPUT, DOWN);
753 PIN_SLP(gpk2-6, INPUT, DOWN);
755 PIN_SLP(gpl0-0, INPUT, DOWN);
756 PIN_SLP(gpl0-1, INPUT, DOWN);
757 PIN_SLP(gpl0-2, INPUT, DOWN);
758 PIN_SLP(gpl0-3, INPUT, DOWN);
760 PIN_SLP(gpm0-0, INPUT, DOWN);
761 PIN_SLP(gpm0-1, INPUT, DOWN);
762 PIN_SLP(gpm0-2, INPUT, DOWN);
763 PIN_SLP(gpm0-3, INPUT, DOWN);
764 PIN_SLP(gpm0-4, INPUT, DOWN);
765 PIN_SLP(gpm0-5, INPUT, DOWN);
766 PIN_SLP(gpm0-6, INPUT, DOWN);
767 PIN_SLP(gpm0-7, INPUT, DOWN);
769 PIN_SLP(gpm1-0, INPUT, DOWN);
770 PIN_SLP(gpm1-1, INPUT, DOWN);
771 PIN_SLP(gpm1-2, INPUT, DOWN);
772 PIN_SLP(gpm1-3, INPUT, DOWN);
773 PIN_SLP(gpm1-4, INPUT, DOWN);
774 PIN_SLP(gpm1-5, INPUT, DOWN);
775 PIN_SLP(gpm1-6, INPUT, DOWN);
777 PIN_SLP(gpm2-0, INPUT, DOWN);
778 PIN_SLP(gpm2-1, INPUT, DOWN);
779 PIN_SLP(gpm2-2, INPUT, DOWN);
780 PIN_SLP(gpm2-3, INPUT, DOWN);
781 PIN_SLP(gpm2-4, INPUT, DOWN);
783 PIN_SLP(gpm3-0, INPUT, DOWN);
784 PIN_SLP(gpm3-1, INPUT, DOWN);
785 PIN_SLP(gpm3-2, INPUT, DOWN);
786 PIN_SLP(gpm3-3, INPUT, DOWN);
787 PIN_SLP(gpm3-4, INPUT, DOWN);
788 PIN_SLP(gpm3-5, INPUT, DOWN);
789 PIN_SLP(gpm3-6, INPUT, DOWN);
790 PIN_SLP(gpm3-7, INPUT, DOWN);
792 PIN_SLP(gpm4-0, INPUT, DOWN);
793 PIN_SLP(gpm4-1, INPUT, DOWN);
794 PIN_SLP(gpm4-2, INPUT, DOWN);
795 PIN_SLP(gpm4-3, INPUT, DOWN);
796 PIN_SLP(gpm4-4, INPUT, DOWN);
797 PIN_SLP(gpm4-5, INPUT, DOWN);
798 PIN_SLP(gpm4-6, INPUT, DOWN);
799 PIN_SLP(gpm4-7, INPUT, DOWN);