2 * Samsung's Exynos4412 based Trats 2 board device tree source
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
7 * Device tree source file for Samsung's Trats 2 board which is based on
8 * Samsung's Exynos4412 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 "exynos4412.dtsi"
17 #include "exynos4412-ppmu-common.dtsi"
18 #include <dt-bindings/gpio/gpio.h>
19 #include <dt-bindings/interrupt-controller/irq.h>
20 #include <dt-bindings/clock/maxim,max77686.h>
23 model = "Samsung Trats 2 based on Exynos4412";
24 compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4";
29 i2c11 = &i2c_max77693;
30 i2c12 = &i2c_max77693_fuel;
34 device_type = "memory";
35 reg = <0x40000000 0x40000000>;
39 bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
40 stdout-path = &serial_2;
44 compatible = "samsung,secure-firmware";
45 reg = <0x0204F000 0x1000>;
50 compatible = "samsung,clock-xxti", "fixed-clock";
51 clock-frequency = <0>;
55 compatible = "samsung,clock-xusbxti", "fixed-clock";
56 clock-frequency = <24000000>;
61 compatible = "simple-bus";
65 cam_io_reg: voltage-regulator-1 {
66 compatible = "regulator-fixed";
67 regulator-name = "CAM_SENSOR_A";
68 regulator-min-microvolt = <2800000>;
69 regulator-max-microvolt = <2800000>;
70 gpio = <&gpm0 2 GPIO_ACTIVE_HIGH>;
74 lcd_vdd3_reg: voltage-regulator-2 {
75 compatible = "regulator-fixed";
76 regulator-name = "LCD_VDD_2.2V";
77 regulator-min-microvolt = <2200000>;
78 regulator-max-microvolt = <2200000>;
79 gpio = <&gpc0 1 GPIO_ACTIVE_HIGH>;
83 cam_af_reg: voltage-regulator-3 {
84 compatible = "regulator-fixed";
85 regulator-name = "CAM_AF";
86 regulator-min-microvolt = <2800000>;
87 regulator-max-microvolt = <2800000>;
88 gpio = <&gpm0 4 GPIO_ACTIVE_HIGH>;
92 ps_als_reg: voltage-regulator-5 {
93 compatible = "regulator-fixed";
94 regulator-name = "LED_A_3.0V";
95 regulator-min-microvolt = <3000000>;
96 regulator-max-microvolt = <3000000>;
97 gpio = <&gpj0 5 GPIO_ACTIVE_HIGH>;
103 compatible = "gpio-keys";
106 gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
108 label = "volume down";
109 debounce-interval = <10>;
113 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
116 debounce-interval = <10>;
120 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
123 debounce-interval = <10>;
128 gpios = <&gpx0 1 GPIO_ACTIVE_LOW>;
131 debounce-inteval = <10>;
136 i2c_max77693: i2c-gpio-1 {
137 compatible = "i2c-gpio";
138 gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
139 i2c-gpio,delay-us = <2>;
140 #address-cells = <1>;
145 compatible = "maxim,max77693";
146 interrupt-parent = <&gpx1>;
147 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
151 esafeout1_reg: ESAFEOUT1 {
152 regulator-name = "ESAFEOUT1";
154 esafeout2_reg: ESAFEOUT2 {
155 regulator-name = "ESAFEOUT2";
157 charger_reg: CHARGER {
158 regulator-name = "CHARGER";
159 regulator-min-microamp = <60000>;
160 regulator-max-microamp = <2580000>;
165 compatible = "maxim,max77693-haptic";
166 haptic-supply = <&ldo26_reg>;
167 pwms = <&pwm 0 38022 0>;
171 compatible = "maxim,max77693-charger";
173 maxim,constant-microvolt = <4350000>;
174 maxim,min-system-microvolt = <3600000>;
175 maxim,thermal-regulation-celsius = <100>;
176 maxim,battery-overcurrent-microamp = <3500000>;
177 maxim,charge-input-threshold-microvolt = <4300000>;
182 i2c_max77693_fuel: i2c-gpio-3 {
183 compatible = "i2c-gpio";
184 gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
185 i2c-gpio,delay-us = <2>;
186 #address-cells = <1>;
190 max77693-fuel-gauge@36 {
191 compatible = "maxim,max17047";
192 interrupt-parent = <&gpx2>;
193 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
196 maxim,over-heat-temp = <700>;
197 maxim,over-volt = <4500>;
201 i2c_ak8975: i2c-gpio-0 {
202 compatible = "i2c-gpio";
203 gpios = <&gpy2 4 GPIO_ACTIVE_HIGH>, <&gpy2 5 GPIO_ACTIVE_HIGH>;
204 i2c-gpio,delay-us = <2>;
205 #address-cells = <1>;
210 compatible = "asahi-kasei,ak8975";
212 gpios = <&gpj0 7 GPIO_ACTIVE_HIGH>;
216 i2c_cm36651: i2c-gpio-2 {
217 compatible = "i2c-gpio";
218 gpios = <&gpf0 0 GPIO_ACTIVE_LOW>, <&gpf0 1 GPIO_ACTIVE_LOW>;
219 i2c-gpio,delay-us = <2>;
220 #address-cells = <1>;
224 compatible = "capella,cm36651";
226 interrupt-parent = <&gpx0>;
227 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
228 vled-supply = <&ps_als_reg>;
233 pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
234 pinctrl-names = "default";
236 assigned-clocks = <&clock CLK_MOUT_CAM0>,
237 <&clock CLK_MOUT_CAM1>;
238 assigned-clock-parents = <&clock CLK_XUSBXTI>,
239 <&clock CLK_XUSBXTI>;
245 compatible = "samsung,trats2-audio";
246 samsung,i2s-controller = <&i2s0>;
247 samsung,model = "Trats2";
248 samsung,audio-codec = <&wm1811>;
249 samsung,audio-routing =
257 compatible = "murata,ncp15wb473";
258 pullup-uv = <1800000>; /* VCC_1.8V_AP */
259 pullup-ohm = <100000>; /* 100K */
260 pulldown-ohm = <100000>; /* 100K */
261 io-channels = <&adc 1>; /* AP temperature */
265 compatible = "murata,ncp15wb473";
266 pullup-uv = <1800000>; /* VCC_1.8V_AP */
267 pullup-ohm = <100000>; /* 100K */
268 pulldown-ohm = <100000>; /* 100K */
269 io-channels = <&adc 2>; /* Battery temperature */
273 cpu_thermal: cpu-thermal {
276 /* Corresponds to 800MHz at freq_table */
277 cooling-device = <&cpu0 7 7>;
280 /* Corresponds to 200MHz at freq_table */
281 cooling-device = <&cpu0 13 13>;
289 vdd-supply = <&ldo3_reg>;
294 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
295 vdd-supply = <&buck1_reg>;
300 devfreq = <&bus_dmc>;
305 devfreq = <&bus_dmc>;
310 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
311 vdd-supply = <&buck3_reg>;
316 devfreq = <&bus_leftbus>;
321 devfreq = <&bus_leftbus>;
326 devfreq = <&bus_leftbus>;
331 devfreq = <&bus_leftbus>;
336 devfreq = <&bus_leftbus>;
341 cpu0-supply = <&buck2_reg>;
346 vddcore-supply = <&ldo8_reg>;
347 vddio-supply = <&ldo10_reg>;
348 assigned-clocks = <&clock CLK_MOUT_CSIS0>,
349 <&clock CLK_SCLK_CSIS0>;
350 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
351 assigned-clock-rates = <0>, <176000000>;
353 /* Camera C (3) MIPI CSI-2 (CSIS0) */
357 remote-endpoint = <&s5c73m3_ep>;
358 data-lanes = <1 2 3 4>;
359 samsung,csis-hs-settle = <12>;
366 vddcore-supply = <&ldo8_reg>;
367 vddio-supply = <&ldo10_reg>;
368 assigned-clocks = <&clock CLK_MOUT_CSIS1>,
369 <&clock CLK_SCLK_CSIS1>;
370 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
371 assigned-clock-rates = <0>, <176000000>;
373 /* Camera D (4) MIPI CSI-2 (CSIS1) */
377 remote-endpoint = <&is_s5k6a3_ep>;
379 samsung,csis-hs-settle = <18>;
386 vddcore-supply = <&ldo8_reg>;
387 vddio-supply = <&ldo10_reg>;
388 samsung,burst-clock-frequency = <500000000>;
389 samsung,esc-clock-frequency = <20000000>;
390 samsung,pll-clock-frequency = <24000000>;
394 compatible = "samsung,s6e8aa0";
396 vdd3-supply = <&lcd_vdd3_reg>;
397 vci-supply = <&ldo25_reg>;
398 reset-gpios = <&gpf2 1 GPIO_ACTIVE_HIGH>;
399 power-on-delay= <50>;
404 panel-width-mm = <58>;
405 panel-height-mm = <103>;
409 clock-frequency = <57153600>;
424 vbus-supply = <&esafeout1_reg>;
430 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
431 <&clock CLK_SCLK_FIMC0>;
432 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
433 assigned-clock-rates = <0>, <176000000>;
438 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
439 <&clock CLK_SCLK_FIMC1>;
440 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
441 assigned-clock-rates = <0>, <176000000>;
446 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
447 <&clock CLK_SCLK_FIMC2>;
448 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
449 assigned-clock-rates = <0>, <176000000>;
454 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
455 <&clock CLK_SCLK_FIMC3>;
456 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
457 assigned-clock-rates = <0>, <176000000>;
461 pinctrl-0 = <&fimc_is_uart>;
462 pinctrl-names = "default";
465 i2c1_isp: i2c-isp@12140000 {
466 pinctrl-0 = <&fimc_is_i2c1>;
467 pinctrl-names = "default";
470 compatible = "samsung,s5k6a3";
472 svdda-supply = <&cam_io_reg>;
473 svddio-supply = <&ldo19_reg>;
474 afvdd-supply = <&ldo19_reg>;
475 clock-frequency = <24000000>;
477 clocks = <&camera 1>;
478 clock-names = "extclk";
479 samsung,camclk-out = <1>;
480 gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>;
483 is_s5k6a3_ep: endpoint {
484 remote-endpoint = <&csis1_ep>;
505 vusb_d-supply = <&ldo15_reg>;
506 vusb_a-supply = <&ldo12_reg>;
507 dr_mode = "peripheral";
512 samsung,i2c-sda-delay = <100>;
513 samsung,i2c-slave-addr = <0x10>;
514 samsung,i2c-max-bus-freq = <400000>;
515 pinctrl-0 = <&i2c0_bus>;
516 pinctrl-names = "default";
520 compatible = "samsung,s5c73m3";
522 standby-gpios = <&gpm0 1 GPIO_ACTIVE_LOW>; /* ISP_STANDBY */
523 xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */
524 vdd-int-supply = <&buck9_reg>;
525 vddio-cis-supply = <&ldo9_reg>;
526 vdda-supply = <&ldo17_reg>;
527 vddio-host-supply = <&ldo18_reg>;
528 vdd-af-supply = <&cam_af_reg>;
529 vdd-reg-supply = <&cam_io_reg>;
530 clock-frequency = <24000000>;
532 clocks = <&camera 0>;
533 clock-names = "cis_extclk";
535 s5c73m3_ep: endpoint {
536 remote-endpoint = <&csis0_ep>;
537 data-lanes = <1 2 3 4>;
544 samsung,i2c-sda-delay = <100>;
545 samsung,i2c-slave-addr = <0x10>;
546 samsung,i2c-max-bus-freq = <400000>;
547 pinctrl-0 = <&i2c3_bus>;
548 pinctrl-names = "default";
551 mms114-touchscreen@48 {
552 compatible = "melfas,mms114";
554 interrupt-parent = <&gpm2>;
555 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
558 avdd-supply = <&ldo23_reg>;
559 vdd-supply = <&ldo24_reg>;
564 samsung,i2c-sda-delay = <100>;
565 samsung,i2c-slave-addr = <0x10>;
566 samsung,i2c-max-bus-freq = <100000>;
567 pinctrl-0 = <&i2c4_bus>;
568 pinctrl-names = "default";
572 compatible = "wlf,wm1811";
574 clocks = <&pmu_system_controller 0>;
575 clock-names = "MCLK1";
576 DCVDD-supply = <&ldo3_reg>;
577 DBVDD1-supply = <&ldo3_reg>;
578 wlf,ldo1ena = <&gpj0 4 0>;
583 samsung,i2c-sda-delay = <100>;
584 samsung,i2c-slave-addr = <0x10>;
585 samsung,i2c-max-bus-freq = <100000>;
586 pinctrl-0 = <&i2c7_bus>;
587 pinctrl-names = "default";
590 max77686: max77686_pmic@09 {
591 compatible = "maxim,max77686";
592 interrupt-parent = <&gpx0>;
593 interrupts = <7 IRQ_TYPE_NONE>;
599 regulator-name = "VALIVE_1.0V_AP";
600 regulator-min-microvolt = <1000000>;
601 regulator-max-microvolt = <1000000>;
606 regulator-name = "VM1M2_1.2V_AP";
607 regulator-min-microvolt = <1200000>;
608 regulator-max-microvolt = <1200000>;
610 regulator-state-mem {
611 regulator-on-in-suspend;
616 regulator-name = "VCC_1.8V_AP";
617 regulator-min-microvolt = <1800000>;
618 regulator-max-microvolt = <1800000>;
623 regulator-name = "VCC_2.8V_AP";
624 regulator-min-microvolt = <2800000>;
625 regulator-max-microvolt = <2800000>;
630 regulator-name = "VCC_1.8V_IO";
631 regulator-min-microvolt = <1800000>;
632 regulator-max-microvolt = <1800000>;
637 regulator-name = "VMPLL_1.0V_AP";
638 regulator-min-microvolt = <1000000>;
639 regulator-max-microvolt = <1000000>;
641 regulator-state-mem {
642 regulator-on-in-suspend;
647 regulator-name = "VPLL_1.0V_AP";
648 regulator-min-microvolt = <1000000>;
649 regulator-max-microvolt = <1000000>;
651 regulator-state-mem {
652 regulator-on-in-suspend;
657 regulator-name = "VMIPI_1.0V";
658 regulator-min-microvolt = <1000000>;
659 regulator-max-microvolt = <1000000>;
660 regulator-state-mem {
661 regulator-off-in-suspend;
666 regulator-name = "CAM_ISP_MIPI_1.2V";
667 regulator-min-microvolt = <1200000>;
668 regulator-max-microvolt = <1200000>;
672 regulator-name = "VMIPI_1.8V";
673 regulator-min-microvolt = <1800000>;
674 regulator-max-microvolt = <1800000>;
675 regulator-state-mem {
676 regulator-off-in-suspend;
681 regulator-name = "VABB1_1.95V";
682 regulator-min-microvolt = <1950000>;
683 regulator-max-microvolt = <1950000>;
685 regulator-state-mem {
686 regulator-off-in-suspend;
691 regulator-name = "VUOTG_3.0V";
692 regulator-min-microvolt = <3000000>;
693 regulator-max-microvolt = <3000000>;
694 regulator-state-mem {
695 regulator-off-in-suspend;
700 regulator-name = "NFC_AVDD_1.8V";
701 regulator-min-microvolt = <1800000>;
702 regulator-max-microvolt = <1800000>;
706 regulator-name = "VABB2_1.95V";
707 regulator-min-microvolt = <1950000>;
708 regulator-max-microvolt = <1950000>;
710 regulator-state-mem {
711 regulator-off-in-suspend;
716 regulator-name = "VHSIC_1.0V";
717 regulator-min-microvolt = <1000000>;
718 regulator-max-microvolt = <1000000>;
719 regulator-state-mem {
720 regulator-on-in-suspend;
725 regulator-name = "VHSIC_1.8V";
726 regulator-min-microvolt = <1800000>;
727 regulator-max-microvolt = <1800000>;
728 regulator-state-mem {
729 regulator-on-in-suspend;
734 regulator-name = "CAM_SENSOR_CORE_1.2V";
735 regulator-min-microvolt = <1200000>;
736 regulator-max-microvolt = <1200000>;
740 regulator-name = "CAM_ISP_SEN_IO_1.8V";
741 regulator-min-microvolt = <1800000>;
742 regulator-max-microvolt = <1800000>;
746 regulator-name = "VT_CAM_1.8V";
747 regulator-min-microvolt = <1800000>;
748 regulator-max-microvolt = <1800000>;
752 regulator-name = "VDDQ_PRE_1.8V";
753 regulator-min-microvolt = <1800000>;
754 regulator-max-microvolt = <1800000>;
758 regulator-name = "VTF_2.8V";
759 regulator-min-microvolt = <2800000>;
760 regulator-max-microvolt = <2800000>;
761 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
765 regulator-name = "VMEM_VDD_2.8V";
766 regulator-min-microvolt = <2800000>;
767 regulator-max-microvolt = <2800000>;
768 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
772 regulator-name = "TSP_AVDD_3.3V";
773 regulator-min-microvolt = <3300000>;
774 regulator-max-microvolt = <3300000>;
778 regulator-name = "TSP_VDD_1.8V";
779 regulator-min-microvolt = <1800000>;
780 regulator-max-microvolt = <1800000>;
784 regulator-name = "LCD_VCC_3.3V";
785 regulator-min-microvolt = <2800000>;
786 regulator-max-microvolt = <2800000>;
790 regulator-name = "MOTOR_VCC_3.0V";
791 regulator-min-microvolt = <3000000>;
792 regulator-max-microvolt = <3000000>;
796 regulator-name = "vdd_mif";
797 regulator-min-microvolt = <850000>;
798 regulator-max-microvolt = <1100000>;
801 regulator-state-mem {
802 regulator-off-in-suspend;
807 regulator-name = "vdd_arm";
808 regulator-min-microvolt = <850000>;
809 regulator-max-microvolt = <1500000>;
812 regulator-state-mem {
813 regulator-on-in-suspend;
818 regulator-name = "vdd_int";
819 regulator-min-microvolt = <850000>;
820 regulator-max-microvolt = <1150000>;
823 regulator-state-mem {
824 regulator-off-in-suspend;
829 regulator-name = "vdd_g3d";
830 regulator-min-microvolt = <850000>;
831 regulator-max-microvolt = <1150000>;
833 regulator-state-mem {
834 regulator-off-in-suspend;
839 regulator-name = "VMEM_1.2V_AP";
840 regulator-min-microvolt = <1200000>;
841 regulator-max-microvolt = <1200000>;
846 regulator-name = "VCC_SUB_1.35V";
847 regulator-min-microvolt = <1350000>;
848 regulator-max-microvolt = <1350000>;
853 regulator-name = "VCC_SUB_2.0V";
854 regulator-min-microvolt = <2000000>;
855 regulator-max-microvolt = <2000000>;
860 regulator-name = "VMEM_VDDF_3.0V";
861 regulator-min-microvolt = <2850000>;
862 regulator-max-microvolt = <2850000>;
863 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
867 regulator-name = "CAM_ISP_CORE_1.2V";
868 regulator-min-microvolt = <1000000>;
869 regulator-max-microvolt = <1200000>;
870 maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
877 pinctrl-0 = <&i2s0_bus>;
878 pinctrl-names = "default";
885 card-detect-delay = <200>;
886 vmmc-supply = <&ldo22_reg>;
887 clock-frequency = <400000000>;
888 samsung,dw-mshc-ciu-div = <0>;
889 samsung,dw-mshc-sdr-timing = <2 3>;
890 samsung,dw-mshc-ddr-timing = <1 2>;
891 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
892 pinctrl-names = "default";
898 &pmu_system_controller {
899 assigned-clocks = <&pmu_system_controller 0>;
900 assigned-clock-parents = <&clock CLK_XUSBXTI>;
904 pinctrl-names = "default";
905 pinctrl-0 = <&sleep0>;
907 sleep0: sleep-states {
908 PIN_SLP(gpa0-0, INPUT, NONE);
909 PIN_SLP(gpa0-1, OUT0, NONE);
910 PIN_SLP(gpa0-2, INPUT, NONE);
911 PIN_SLP(gpa0-3, INPUT, UP);
912 PIN_SLP(gpa0-4, INPUT, NONE);
913 PIN_SLP(gpa0-5, INPUT, DOWN);
914 PIN_SLP(gpa0-6, INPUT, DOWN);
915 PIN_SLP(gpa0-7, INPUT, UP);
917 PIN_SLP(gpa1-0, INPUT, DOWN);
918 PIN_SLP(gpa1-1, INPUT, DOWN);
919 PIN_SLP(gpa1-2, INPUT, DOWN);
920 PIN_SLP(gpa1-3, INPUT, DOWN);
921 PIN_SLP(gpa1-4, INPUT, DOWN);
922 PIN_SLP(gpa1-5, INPUT, DOWN);
924 PIN_SLP(gpb-0, INPUT, NONE);
925 PIN_SLP(gpb-1, INPUT, NONE);
926 PIN_SLP(gpb-2, INPUT, NONE);
927 PIN_SLP(gpb-3, INPUT, NONE);
928 PIN_SLP(gpb-4, INPUT, DOWN);
929 PIN_SLP(gpb-5, INPUT, UP);
930 PIN_SLP(gpb-6, INPUT, DOWN);
931 PIN_SLP(gpb-7, INPUT, DOWN);
933 PIN_SLP(gpc0-0, INPUT, DOWN);
934 PIN_SLP(gpc0-1, INPUT, DOWN);
935 PIN_SLP(gpc0-2, INPUT, DOWN);
936 PIN_SLP(gpc0-3, INPUT, DOWN);
937 PIN_SLP(gpc0-4, INPUT, DOWN);
939 PIN_SLP(gpc1-0, INPUT, NONE);
940 PIN_SLP(gpc1-1, PREV, NONE);
941 PIN_SLP(gpc1-2, INPUT, NONE);
942 PIN_SLP(gpc1-3, INPUT, NONE);
943 PIN_SLP(gpc1-4, INPUT, NONE);
945 PIN_SLP(gpd0-0, INPUT, DOWN);
946 PIN_SLP(gpd0-1, INPUT, DOWN);
947 PIN_SLP(gpd0-2, INPUT, NONE);
948 PIN_SLP(gpd0-3, INPUT, NONE);
950 PIN_SLP(gpd1-0, INPUT, DOWN);
951 PIN_SLP(gpd1-1, INPUT, DOWN);
952 PIN_SLP(gpd1-2, INPUT, NONE);
953 PIN_SLP(gpd1-3, INPUT, NONE);
955 PIN_SLP(gpf0-0, INPUT, NONE);
956 PIN_SLP(gpf0-1, INPUT, NONE);
957 PIN_SLP(gpf0-2, INPUT, DOWN);
958 PIN_SLP(gpf0-3, INPUT, DOWN);
959 PIN_SLP(gpf0-4, INPUT, NONE);
960 PIN_SLP(gpf0-5, INPUT, DOWN);
961 PIN_SLP(gpf0-6, INPUT, NONE);
962 PIN_SLP(gpf0-7, INPUT, DOWN);
964 PIN_SLP(gpf1-0, INPUT, DOWN);
965 PIN_SLP(gpf1-1, INPUT, DOWN);
966 PIN_SLP(gpf1-2, INPUT, DOWN);
967 PIN_SLP(gpf1-3, INPUT, DOWN);
968 PIN_SLP(gpf1-4, INPUT, NONE);
969 PIN_SLP(gpf1-5, INPUT, NONE);
970 PIN_SLP(gpf1-6, INPUT, DOWN);
971 PIN_SLP(gpf1-7, PREV, NONE);
973 PIN_SLP(gpf2-0, PREV, NONE);
974 PIN_SLP(gpf2-1, INPUT, DOWN);
975 PIN_SLP(gpf2-2, INPUT, DOWN);
976 PIN_SLP(gpf2-3, INPUT, DOWN);
977 PIN_SLP(gpf2-4, INPUT, DOWN);
978 PIN_SLP(gpf2-5, INPUT, DOWN);
979 PIN_SLP(gpf2-6, INPUT, NONE);
980 PIN_SLP(gpf2-7, INPUT, NONE);
982 PIN_SLP(gpf3-0, INPUT, NONE);
983 PIN_SLP(gpf3-1, PREV, NONE);
984 PIN_SLP(gpf3-2, PREV, NONE);
985 PIN_SLP(gpf3-3, PREV, NONE);
986 PIN_SLP(gpf3-4, OUT1, NONE);
987 PIN_SLP(gpf3-5, INPUT, DOWN);
989 PIN_SLP(gpj0-0, PREV, NONE);
990 PIN_SLP(gpj0-1, PREV, NONE);
991 PIN_SLP(gpj0-2, PREV, NONE);
992 PIN_SLP(gpj0-3, INPUT, DOWN);
993 PIN_SLP(gpj0-4, PREV, NONE);
994 PIN_SLP(gpj0-5, PREV, NONE);
995 PIN_SLP(gpj0-6, INPUT, DOWN);
996 PIN_SLP(gpj0-7, INPUT, DOWN);
998 PIN_SLP(gpj1-0, INPUT, DOWN);
999 PIN_SLP(gpj1-1, PREV, NONE);
1000 PIN_SLP(gpj1-2, PREV, NONE);
1001 PIN_SLP(gpj1-3, INPUT, DOWN);
1002 PIN_SLP(gpj1-4, INPUT, DOWN);
1007 pinctrl-names = "default";
1008 pinctrl-0 = <&sleep1>;
1010 sleep1: sleep-states {
1011 PIN_SLP(gpk0-0, PREV, NONE);
1012 PIN_SLP(gpk0-1, PREV, NONE);
1013 PIN_SLP(gpk0-2, OUT0, NONE);
1014 PIN_SLP(gpk0-3, PREV, NONE);
1015 PIN_SLP(gpk0-4, PREV, NONE);
1016 PIN_SLP(gpk0-5, PREV, NONE);
1017 PIN_SLP(gpk0-6, PREV, NONE);
1019 PIN_SLP(gpk1-0, INPUT, DOWN);
1020 PIN_SLP(gpk1-1, INPUT, DOWN);
1021 PIN_SLP(gpk1-2, INPUT, DOWN);
1022 PIN_SLP(gpk1-3, PREV, NONE);
1023 PIN_SLP(gpk1-4, PREV, NONE);
1024 PIN_SLP(gpk1-5, PREV, NONE);
1025 PIN_SLP(gpk1-6, PREV, NONE);
1027 PIN_SLP(gpk2-0, INPUT, DOWN);
1028 PIN_SLP(gpk2-1, INPUT, DOWN);
1029 PIN_SLP(gpk2-2, INPUT, DOWN);
1030 PIN_SLP(gpk2-3, INPUT, DOWN);
1031 PIN_SLP(gpk2-4, INPUT, DOWN);
1032 PIN_SLP(gpk2-5, INPUT, DOWN);
1033 PIN_SLP(gpk2-6, INPUT, DOWN);
1035 PIN_SLP(gpk3-0, OUT0, NONE);
1036 PIN_SLP(gpk3-1, INPUT, NONE);
1037 PIN_SLP(gpk3-2, INPUT, DOWN);
1038 PIN_SLP(gpk3-3, INPUT, NONE);
1039 PIN_SLP(gpk3-4, INPUT, NONE);
1040 PIN_SLP(gpk3-5, INPUT, NONE);
1041 PIN_SLP(gpk3-6, INPUT, NONE);
1043 PIN_SLP(gpl0-0, INPUT, DOWN);
1044 PIN_SLP(gpl0-1, INPUT, DOWN);
1045 PIN_SLP(gpl0-2, INPUT, DOWN);
1046 PIN_SLP(gpl0-3, INPUT, DOWN);
1047 PIN_SLP(gpl0-4, PREV, NONE);
1048 PIN_SLP(gpl0-6, PREV, NONE);
1050 PIN_SLP(gpl1-0, INPUT, DOWN);
1051 PIN_SLP(gpl1-1, INPUT, DOWN);
1052 PIN_SLP(gpl2-0, INPUT, DOWN);
1053 PIN_SLP(gpl2-1, INPUT, DOWN);
1054 PIN_SLP(gpl2-2, INPUT, DOWN);
1055 PIN_SLP(gpl2-3, INPUT, DOWN);
1056 PIN_SLP(gpl2-4, INPUT, DOWN);
1057 PIN_SLP(gpl2-5, INPUT, DOWN);
1058 PIN_SLP(gpl2-6, PREV, NONE);
1059 PIN_SLP(gpl2-7, INPUT, DOWN);
1061 PIN_SLP(gpm0-0, INPUT, DOWN);
1062 PIN_SLP(gpm0-1, INPUT, DOWN);
1063 PIN_SLP(gpm0-2, INPUT, DOWN);
1064 PIN_SLP(gpm0-3, INPUT, DOWN);
1065 PIN_SLP(gpm0-4, INPUT, DOWN);
1066 PIN_SLP(gpm0-5, INPUT, DOWN);
1067 PIN_SLP(gpm0-6, INPUT, DOWN);
1068 PIN_SLP(gpm0-7, INPUT, DOWN);
1070 PIN_SLP(gpm1-0, INPUT, DOWN);
1071 PIN_SLP(gpm1-1, INPUT, DOWN);
1072 PIN_SLP(gpm1-2, INPUT, NONE);
1073 PIN_SLP(gpm1-3, INPUT, NONE);
1074 PIN_SLP(gpm1-4, INPUT, NONE);
1075 PIN_SLP(gpm1-5, INPUT, NONE);
1076 PIN_SLP(gpm1-6, INPUT, DOWN);
1078 PIN_SLP(gpm2-0, INPUT, NONE);
1079 PIN_SLP(gpm2-1, INPUT, NONE);
1080 PIN_SLP(gpm2-2, INPUT, DOWN);
1081 PIN_SLP(gpm2-3, INPUT, DOWN);
1082 PIN_SLP(gpm2-4, INPUT, DOWN);
1084 PIN_SLP(gpm3-0, PREV, NONE);
1085 PIN_SLP(gpm3-1, PREV, NONE);
1086 PIN_SLP(gpm3-2, PREV, NONE);
1087 PIN_SLP(gpm3-3, OUT1, NONE);
1088 PIN_SLP(gpm3-4, INPUT, DOWN);
1089 PIN_SLP(gpm3-5, INPUT, DOWN);
1090 PIN_SLP(gpm3-6, INPUT, DOWN);
1091 PIN_SLP(gpm3-7, INPUT, DOWN);
1093 PIN_SLP(gpm4-0, INPUT, DOWN);
1094 PIN_SLP(gpm4-1, INPUT, DOWN);
1095 PIN_SLP(gpm4-2, INPUT, DOWN);
1096 PIN_SLP(gpm4-3, INPUT, DOWN);
1097 PIN_SLP(gpm4-4, INPUT, DOWN);
1098 PIN_SLP(gpm4-5, INPUT, DOWN);
1099 PIN_SLP(gpm4-6, INPUT, DOWN);
1100 PIN_SLP(gpm4-7, INPUT, DOWN);
1102 PIN_SLP(gpy0-0, INPUT, DOWN);
1103 PIN_SLP(gpy0-1, INPUT, DOWN);
1104 PIN_SLP(gpy0-2, INPUT, DOWN);
1105 PIN_SLP(gpy0-3, INPUT, DOWN);
1106 PIN_SLP(gpy0-4, INPUT, DOWN);
1107 PIN_SLP(gpy0-5, INPUT, DOWN);
1109 PIN_SLP(gpy1-0, INPUT, DOWN);
1110 PIN_SLP(gpy1-1, INPUT, DOWN);
1111 PIN_SLP(gpy1-2, INPUT, DOWN);
1112 PIN_SLP(gpy1-3, INPUT, DOWN);
1114 PIN_SLP(gpy2-0, PREV, NONE);
1115 PIN_SLP(gpy2-1, INPUT, DOWN);
1116 PIN_SLP(gpy2-2, INPUT, NONE);
1117 PIN_SLP(gpy2-3, INPUT, NONE);
1118 PIN_SLP(gpy2-4, INPUT, NONE);
1119 PIN_SLP(gpy2-5, INPUT, NONE);
1121 PIN_SLP(gpy3-0, INPUT, DOWN);
1122 PIN_SLP(gpy3-1, INPUT, DOWN);
1123 PIN_SLP(gpy3-2, INPUT, DOWN);
1124 PIN_SLP(gpy3-3, INPUT, DOWN);
1125 PIN_SLP(gpy3-4, INPUT, DOWN);
1126 PIN_SLP(gpy3-5, INPUT, DOWN);
1127 PIN_SLP(gpy3-6, INPUT, DOWN);
1128 PIN_SLP(gpy3-7, INPUT, DOWN);
1130 PIN_SLP(gpy4-0, INPUT, DOWN);
1131 PIN_SLP(gpy4-1, INPUT, DOWN);
1132 PIN_SLP(gpy4-2, INPUT, DOWN);
1133 PIN_SLP(gpy4-3, INPUT, DOWN);
1134 PIN_SLP(gpy4-4, INPUT, DOWN);
1135 PIN_SLP(gpy4-5, INPUT, DOWN);
1136 PIN_SLP(gpy4-6, INPUT, DOWN);
1137 PIN_SLP(gpy4-7, INPUT, DOWN);
1139 PIN_SLP(gpy5-0, INPUT, DOWN);
1140 PIN_SLP(gpy5-1, INPUT, DOWN);
1141 PIN_SLP(gpy5-2, INPUT, DOWN);
1142 PIN_SLP(gpy5-3, INPUT, DOWN);
1143 PIN_SLP(gpy5-4, INPUT, DOWN);
1144 PIN_SLP(gpy5-5, INPUT, DOWN);
1145 PIN_SLP(gpy5-6, INPUT, DOWN);
1146 PIN_SLP(gpy5-7, INPUT, DOWN);
1148 PIN_SLP(gpy6-0, INPUT, DOWN);
1149 PIN_SLP(gpy6-1, INPUT, DOWN);
1150 PIN_SLP(gpy6-2, INPUT, DOWN);
1151 PIN_SLP(gpy6-3, INPUT, DOWN);
1152 PIN_SLP(gpy6-4, INPUT, DOWN);
1153 PIN_SLP(gpy6-5, INPUT, DOWN);
1154 PIN_SLP(gpy6-6, INPUT, DOWN);
1155 PIN_SLP(gpy6-7, INPUT, DOWN);
1160 pinctrl-names = "default";
1161 pinctrl-0 = <&sleep2>;
1163 sleep2: sleep-states {
1164 PIN_SLP(gpz-0, INPUT, DOWN);
1165 PIN_SLP(gpz-1, INPUT, DOWN);
1166 PIN_SLP(gpz-2, INPUT, DOWN);
1167 PIN_SLP(gpz-3, INPUT, DOWN);
1168 PIN_SLP(gpz-4, INPUT, DOWN);
1169 PIN_SLP(gpz-5, INPUT, DOWN);
1170 PIN_SLP(gpz-6, INPUT, DOWN);
1175 pinctrl-names = "default";
1176 pinctrl-0 = <&sleep3>;
1178 sleep3: sleep-states {
1179 PIN_SLP(gpv0-0, INPUT, DOWN);
1180 PIN_SLP(gpv0-1, INPUT, DOWN);
1181 PIN_SLP(gpv0-2, INPUT, DOWN);
1182 PIN_SLP(gpv0-3, INPUT, DOWN);
1183 PIN_SLP(gpv0-4, INPUT, DOWN);
1184 PIN_SLP(gpv0-5, INPUT, DOWN);
1185 PIN_SLP(gpv0-6, INPUT, DOWN);
1186 PIN_SLP(gpv0-7, INPUT, DOWN);
1188 PIN_SLP(gpv1-0, INPUT, DOWN);
1189 PIN_SLP(gpv1-1, INPUT, DOWN);
1190 PIN_SLP(gpv1-2, INPUT, DOWN);
1191 PIN_SLP(gpv1-3, INPUT, DOWN);
1192 PIN_SLP(gpv1-4, INPUT, DOWN);
1193 PIN_SLP(gpv1-5, INPUT, DOWN);
1194 PIN_SLP(gpv1-6, INPUT, DOWN);
1195 PIN_SLP(gpv1-7, INPUT, DOWN);
1197 PIN_SLP(gpv2-0, INPUT, DOWN);
1198 PIN_SLP(gpv2-1, INPUT, DOWN);
1199 PIN_SLP(gpv2-2, INPUT, DOWN);
1200 PIN_SLP(gpv2-3, INPUT, DOWN);
1201 PIN_SLP(gpv2-4, INPUT, DOWN);
1202 PIN_SLP(gpv2-5, INPUT, DOWN);
1203 PIN_SLP(gpv2-6, INPUT, DOWN);
1204 PIN_SLP(gpv2-7, INPUT, DOWN);
1206 PIN_SLP(gpv3-0, INPUT, DOWN);
1207 PIN_SLP(gpv3-1, INPUT, DOWN);
1208 PIN_SLP(gpv3-2, INPUT, DOWN);
1209 PIN_SLP(gpv3-3, INPUT, DOWN);
1210 PIN_SLP(gpv3-4, INPUT, DOWN);
1211 PIN_SLP(gpv3-5, INPUT, DOWN);
1212 PIN_SLP(gpv3-6, INPUT, DOWN);
1213 PIN_SLP(gpv3-7, INPUT, DOWN);
1215 PIN_SLP(gpv4-0, INPUT, DOWN);
1220 pinctrl-0 = <&pwm0_out>;
1221 pinctrl-names = "default";
1222 samsung,pwm-outputs = <0>;
1228 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1229 clock-names = "rtc", "rtc_src";
1234 cd-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>;
1236 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
1237 pinctrl-names = "default";
1238 vmmc-supply = <&ldo21_reg>;
1259 pinctrl-names = "default";
1260 pinctrl-0 = <&spi1_bus>;
1261 cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
1264 s5c73m3_spi: s5c73m3@0 {
1265 compatible = "samsung,s5c73m3";
1266 spi-max-frequency = <50000000>;
1269 samsung,spi-feedback-delay = <2>;
1275 vtmu-supply = <&ldo10_reg>;