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 #address-cells = <1>;
140 samsung,i2c-sda-delay = <100>;
141 samsung,i2c-slave-addr = <0x10>;
142 samsung,i2c-max-bus-freq = <100000>;
146 compatible = "samsung,s2mps14-pmic";
147 interrupt-parent = <&gpx0>;
152 s2mps14_osc: clocks {
153 compatible = "samsung,s2mps14-clk";
155 clock-output-names = "s2mps14_ap", "unused",
161 regulator-name = "VAP_ALIVE_1.0V";
162 regulator-min-microvolt = <1000000>;
163 regulator-max-microvolt = <1000000>;
166 regulator-state-mem {
167 regulator-on-in-suspend;
172 regulator-name = "VAP_M1_1.2V";
173 regulator-min-microvolt = <1200000>;
174 regulator-max-microvolt = <1200000>;
177 regulator-state-mem {
178 regulator-off-in-suspend;
183 regulator-name = "VCC_AP_1.8V";
184 regulator-min-microvolt = <1800000>;
185 regulator-max-microvolt = <1800000>;
188 regulator-state-mem {
189 regulator-off-in-suspend;
194 regulator-name = "VAP_AVDD_PLL1";
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1800000>;
199 regulator-state-mem {
200 regulator-off-in-suspend;
205 regulator-name = "VAP_PLL_ISO_1.0V";
206 regulator-min-microvolt = <1000000>;
207 regulator-max-microvolt = <1000000>;
210 regulator-state-mem {
211 regulator-off-in-suspend;
216 regulator-name = "VAP_VMIPI_1.0V";
217 regulator-min-microvolt = <1000000>;
218 regulator-max-microvolt = <1000000>;
221 regulator-state-mem {
222 regulator-off-in-suspend;
227 regulator-name = "VAP_AVDD_1.8V";
228 regulator-min-microvolt = <1800000>;
229 regulator-max-microvolt = <1800000>;
232 regulator-state-mem {
233 regulator-off-in-suspend;
238 regulator-name = "VAP_USB_3.0V";
239 regulator-min-microvolt = <3000000>;
240 regulator-max-microvolt = <3000000>;
243 regulator-state-mem {
244 regulator-off-in-suspend;
249 regulator-name = "V_LPDDR_1.2V";
250 regulator-min-microvolt = <1200000>;
251 regulator-max-microvolt = <1200000>;
254 regulator-state-mem {
255 regulator-on-in-suspend;
260 regulator-name = "UNUSED_LDO10";
261 regulator-min-microvolt = <1000000>;
262 regulator-max-microvolt = <1000000>;
264 regulator-state-mem {
265 regulator-off-in-suspend;
270 regulator-name = "V_EMMC_1.8V";
271 regulator-min-microvolt = <1800000>;
272 regulator-max-microvolt = <1800000>;
273 samsung,ext-control-gpios = <&gpk0 2 0>;
277 regulator-name = "V_EMMC_2.8V";
278 regulator-min-microvolt = <2800000>;
279 regulator-max-microvolt = <2800000>;
280 samsung,ext-control-gpios = <&gpk0 2 0>;
284 regulator-name = "CAM_AVDD_2.8V";
285 regulator-min-microvolt = <2800000>;
286 regulator-max-microvolt = <2800000>;
288 regulator-state-mem {
289 regulator-off-in-suspend;
294 regulator-name = "UNUSED_LDO14";
295 regulator-min-microvolt = <2700000>;
296 regulator-max-microvolt = <2700000>;
298 regulator-state-mem {
299 regulator-off-in-suspend;
304 regulator-name = "TSP_AVDD_3.3V";
305 regulator-min-microvolt = <3300000>;
306 regulator-max-microvolt = <3300000>;
308 regulator-state-mem {
309 regulator-off-in-suspend;
314 regulator-name = "LCD_VDD_3.3V";
315 regulator-min-microvolt = <3300000>;
316 regulator-max-microvolt = <3300000>;
318 regulator-state-mem {
319 regulator-off-in-suspend;
324 regulator-name = "V_IRLED_3.3V";
325 regulator-min-microvolt = <3300000>;
326 regulator-max-microvolt = <3300000>;
328 regulator-state-mem {
329 regulator-off-in-suspend;
334 regulator-name = "CAM_AF_2.8V";
335 regulator-min-microvolt = <2800000>;
336 regulator-max-microvolt = <2800000>;
338 regulator-state-mem {
339 regulator-off-in-suspend;
344 regulator-name = "TSP_VDD_1.8V";
345 regulator-min-microvolt = <1800000>;
346 regulator-max-microvolt = <1800000>;
348 regulator-state-mem {
349 regulator-off-in-suspend;
354 regulator-name = "LCD_VDD_1.8V";
355 regulator-min-microvolt = <1800000>;
356 regulator-max-microvolt = <1800000>;
358 regulator-state-mem {
359 regulator-off-in-suspend;
364 regulator-name = "CAM_IO_1.8V";
365 regulator-min-microvolt = <1800000>;
366 regulator-max-microvolt = <1800000>;
368 regulator-state-mem {
369 regulator-off-in-suspend;
374 regulator-name = "CAM_DVDD_1.2V";
375 regulator-min-microvolt = <1200000>;
376 regulator-max-microvolt = <1200000>;
378 regulator-state-mem {
379 regulator-off-in-suspend;
384 regulator-name = "HRM_VCC_1.8V";
385 regulator-min-microvolt = <1800000>;
386 regulator-max-microvolt = <1800000>;
391 regulator-name = "HRM_VCC_3.3V";
392 regulator-min-microvolt = <3000000>;
393 regulator-max-microvolt = <3000000>;
395 regulator-state-mem {
396 regulator-off-in-suspend;
401 regulator-name = "UNUSED_LDO25";
402 regulator-min-microvolt = <3000000>;
403 regulator-max-microvolt = <3000000>;
405 regulator-state-mem {
406 regulator-off-in-suspend;
411 regulator-name = "VAP_MIF_1.0V";
412 regulator-min-microvolt = <800000>;
413 regulator-max-microvolt = <900000>;
416 regulator-state-mem {
417 regulator-off-in-suspend;
422 regulator-name = "VAP_ARM_1.0V";
423 regulator-min-microvolt = <850000>;
424 regulator-max-microvolt = <1150000>;
427 regulator-state-mem {
428 regulator-off-in-suspend;
433 regulator-name = "VAP_INT3D_1.0V";
434 regulator-min-microvolt = <850000>;
435 regulator-max-microvolt = <1000000>;
438 regulator-state-mem {
439 regulator-off-in-suspend;
444 regulator-name = "VCC_SUB_1.95V";
445 regulator-min-microvolt = <1950000>;
446 regulator-max-microvolt = <1950000>;
449 regulator-state-mem {
450 regulator-on-in-suspend;
455 regulator-name = "VCC_SUB_1.35V";
456 regulator-min-microvolt = <1350000>;
457 regulator-max-microvolt = <1350000>;
460 regulator-state-mem {
461 regulator-on-in-suspend;
469 #address-cells = <1>;
471 samsung,i2c-sda-delay = <100>;
472 samsung,i2c-slave-addr = <0x10>;
473 samsung,i2c-max-bus-freq = <400000>;
477 compatible = "maxim,max77836-battery";
478 interrupt-parent = <&gpx1>;
493 #address-cells = <1>;
501 card-detect-delay = <200>;
502 vmmc-supply = <&ldo12_reg>;
503 clock-frequency = <100000000>;
504 clock-freq-min-max = <400000 100000000>;
505 samsung,dw-mshc-ciu-div = <1>;
506 samsung,dw-mshc-sdr-timing = <0 1>;
507 samsung,dw-mshc-ddr-timing = <1 2>;
508 pinctrl-names = "default";
509 pinctrl-0 = <&sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
515 assigned-clocks = <&cmu CLK_SCLK_UART0>;
516 assigned-clock-rates = <100000000>;
525 vtmu-supply = <&ldo7_reg>;
530 clocks = <&cmu CLK_RTC>, <&s2mps14_osc 0>;
531 clock-names = "rtc", "rtc_src";
536 clock-frequency = <24000000>;
540 pinctrl-names = "default";
541 pinctrl-0 = <&sleep0>;
543 sleep0: sleep-state {
544 PIN_SLP(gpa0-0, INPUT, DOWN);
545 PIN_SLP(gpa0-1, INPUT, DOWN);
546 PIN_SLP(gpa0-2, INPUT, DOWN);
547 PIN_SLP(gpa0-3, INPUT, DOWN);
548 PIN_SLP(gpa0-4, INPUT, DOWN);
549 PIN_SLP(gpa0-5, INPUT, DOWN);
550 PIN_SLP(gpa0-6, INPUT, DOWN);
551 PIN_SLP(gpa0-7, INPUT, DOWN);
553 PIN_SLP(gpa1-0, INPUT, DOWN);
554 PIN_SLP(gpa1-1, INPUT, DOWN);
555 PIN_SLP(gpa1-2, INPUT, DOWN);
556 PIN_SLP(gpa1-3, INPUT, DOWN);
557 PIN_SLP(gpa1-4, INPUT, DOWN);
558 PIN_SLP(gpa1-5, INPUT, DOWN);
560 PIN_SLP(gpb-0, PREV, NONE);
561 PIN_SLP(gpb-1, PREV, NONE);
562 PIN_SLP(gpb-2, PREV, NONE);
563 PIN_SLP(gpb-3, PREV, NONE);
564 PIN_SLP(gpb-4, INPUT, DOWN);
565 PIN_SLP(gpb-5, INPUT, DOWN);
566 PIN_SLP(gpb-6, INPUT, DOWN);
567 PIN_SLP(gpb-7, INPUT, DOWN);
569 PIN_SLP(gpc0-0, INPUT, DOWN);
570 PIN_SLP(gpc0-1, INPUT, DOWN);
571 PIN_SLP(gpc0-2, INPUT, DOWN);
572 PIN_SLP(gpc0-3, INPUT, DOWN);
573 PIN_SLP(gpc0-4, INPUT, DOWN);
575 PIN_SLP(gpc1-0, INPUT, DOWN);
576 PIN_SLP(gpc1-1, INPUT, DOWN);
577 PIN_SLP(gpc1-2, INPUT, DOWN);
578 PIN_SLP(gpc1-3, INPUT, DOWN);
579 PIN_SLP(gpc1-4, INPUT, DOWN);
581 PIN_SLP(gpd0-0, INPUT, DOWN);
582 PIN_SLP(gpd0-1, INPUT, DOWN);
583 PIN_SLP(gpd0-2, INPUT, NONE);
584 PIN_SLP(gpd0-3, INPUT, NONE);
586 PIN_SLP(gpd1-0, INPUT, NONE);
587 PIN_SLP(gpd1-1, INPUT, NONE);
588 PIN_SLP(gpd1-2, INPUT, NONE);
589 PIN_SLP(gpd1-3, INPUT, NONE);
594 pinctrl-names = "default";
595 pinctrl-0 = <&sleep1>;
597 sleep1: sleep-state {
598 PIN_SLP(gpe0-0, PREV, NONE);
599 PIN_SLP(gpe0-1, PREV, NONE);
600 PIN_SLP(gpe0-2, INPUT, DOWN);
601 PIN_SLP(gpe0-3, INPUT, UP);
602 PIN_SLP(gpe0-4, INPUT, DOWN);
603 PIN_SLP(gpe0-5, INPUT, DOWN);
604 PIN_SLP(gpe0-6, INPUT, DOWN);
605 PIN_SLP(gpe0-7, INPUT, DOWN);
607 PIN_SLP(gpe1-0, INPUT, DOWN);
608 PIN_SLP(gpe1-1, PREV, NONE);
609 PIN_SLP(gpe1-2, INPUT, DOWN);
610 PIN_SLP(gpe1-3, INPUT, DOWN);
611 PIN_SLP(gpe1-4, INPUT, DOWN);
612 PIN_SLP(gpe1-5, INPUT, DOWN);
613 PIN_SLP(gpe1-6, INPUT, DOWN);
614 PIN_SLP(gpe1-7, INPUT, NONE);
616 PIN_SLP(gpe2-0, INPUT, NONE);
617 PIN_SLP(gpe2-1, INPUT, NONE);
618 PIN_SLP(gpe2-2, INPUT, NONE);
620 PIN_SLP(gpk0-0, INPUT, DOWN);
621 PIN_SLP(gpk0-1, INPUT, DOWN);
622 PIN_SLP(gpk0-2, OUT0, NONE);
623 PIN_SLP(gpk0-3, INPUT, DOWN);
624 PIN_SLP(gpk0-4, INPUT, DOWN);
625 PIN_SLP(gpk0-5, INPUT, DOWN);
626 PIN_SLP(gpk0-6, INPUT, DOWN);
627 PIN_SLP(gpk0-7, INPUT, DOWN);
629 PIN_SLP(gpk1-0, INPUT, DOWN);
630 PIN_SLP(gpk1-1, INPUT, DOWN);
631 PIN_SLP(gpk1-2, INPUT, DOWN);
632 PIN_SLP(gpk1-3, INPUT, DOWN);
633 PIN_SLP(gpk1-4, INPUT, DOWN);
634 PIN_SLP(gpk1-5, INPUT, DOWN);
635 PIN_SLP(gpk1-6, INPUT, DOWN);
637 PIN_SLP(gpk2-0, INPUT, DOWN);
638 PIN_SLP(gpk2-1, INPUT, DOWN);
639 PIN_SLP(gpk2-2, INPUT, DOWN);
640 PIN_SLP(gpk2-3, INPUT, DOWN);
641 PIN_SLP(gpk2-4, INPUT, DOWN);
642 PIN_SLP(gpk2-5, INPUT, DOWN);
643 PIN_SLP(gpk2-6, INPUT, DOWN);
645 PIN_SLP(gpl0-0, INPUT, DOWN);
646 PIN_SLP(gpl0-1, INPUT, DOWN);
647 PIN_SLP(gpl0-2, INPUT, DOWN);
648 PIN_SLP(gpl0-3, INPUT, DOWN);
650 PIN_SLP(gpm0-0, INPUT, DOWN);
651 PIN_SLP(gpm0-1, INPUT, DOWN);
652 PIN_SLP(gpm0-2, INPUT, DOWN);
653 PIN_SLP(gpm0-3, INPUT, DOWN);
654 PIN_SLP(gpm0-4, INPUT, DOWN);
655 PIN_SLP(gpm0-5, INPUT, DOWN);
656 PIN_SLP(gpm0-6, INPUT, DOWN);
657 PIN_SLP(gpm0-7, INPUT, DOWN);
659 PIN_SLP(gpm1-0, INPUT, DOWN);
660 PIN_SLP(gpm1-1, INPUT, DOWN);
661 PIN_SLP(gpm1-2, INPUT, DOWN);
662 PIN_SLP(gpm1-3, INPUT, DOWN);
663 PIN_SLP(gpm1-4, INPUT, DOWN);
664 PIN_SLP(gpm1-5, INPUT, DOWN);
665 PIN_SLP(gpm1-6, INPUT, DOWN);
667 PIN_SLP(gpm2-0, INPUT, DOWN);
668 PIN_SLP(gpm2-1, INPUT, DOWN);
669 PIN_SLP(gpm2-2, INPUT, DOWN);
670 PIN_SLP(gpm2-3, INPUT, DOWN);
671 PIN_SLP(gpm2-4, INPUT, DOWN);
673 PIN_SLP(gpm3-0, INPUT, DOWN);
674 PIN_SLP(gpm3-1, INPUT, DOWN);
675 PIN_SLP(gpm3-2, INPUT, DOWN);
676 PIN_SLP(gpm3-3, INPUT, DOWN);
677 PIN_SLP(gpm3-4, INPUT, DOWN);
678 PIN_SLP(gpm3-5, INPUT, DOWN);
679 PIN_SLP(gpm3-6, INPUT, DOWN);
680 PIN_SLP(gpm3-7, INPUT, DOWN);
682 PIN_SLP(gpm4-0, INPUT, DOWN);
683 PIN_SLP(gpm4-1, INPUT, DOWN);
684 PIN_SLP(gpm4-2, INPUT, DOWN);
685 PIN_SLP(gpm4-3, INPUT, DOWN);
686 PIN_SLP(gpm4-4, INPUT, DOWN);
687 PIN_SLP(gpm4-5, INPUT, DOWN);
688 PIN_SLP(gpm4-6, INPUT, DOWN);
689 PIN_SLP(gpm4-7, INPUT, DOWN);