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 <dt-bindings/gpio/gpio.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
21 model = "Samsung Trats 2 based on Exynos4412";
22 compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4";
27 i2c11 = &i2c_max77693;
28 i2c12 = &i2c_max77693_fuel;
32 reg = <0x40000000 0x40000000>;
36 bootargs = "console=ttySAC2,115200N8 root=/dev/mmcblk0p5 rootwait earlyprintk panic=5";
40 compatible = "samsung,secure-firmware";
41 reg = <0x0204F000 0x1000>;
46 compatible = "samsung,clock-xxti", "fixed-clock";
47 clock-frequency = <0>;
51 compatible = "samsung,clock-xusbxti", "fixed-clock";
52 clock-frequency = <24000000>;
57 compatible = "simple-bus";
61 cam_io_reg: voltage-regulator-1 {
62 compatible = "regulator-fixed";
63 regulator-name = "CAM_SENSOR_A";
64 regulator-min-microvolt = <2800000>;
65 regulator-max-microvolt = <2800000>;
70 lcd_vdd3_reg: voltage-regulator-2 {
71 compatible = "regulator-fixed";
72 regulator-name = "LCD_VDD_2.2V";
73 regulator-min-microvolt = <2200000>;
74 regulator-max-microvolt = <2200000>;
79 cam_af_reg: voltage-regulator-3 {
80 compatible = "regulator-fixed";
81 regulator-name = "CAM_AF";
82 regulator-min-microvolt = <2800000>;
83 regulator-max-microvolt = <2800000>;
88 ps_als_reg: voltage-regulator-5 {
89 compatible = "regulator-fixed";
90 regulator-name = "LED_A_3.0V";
91 regulator-min-microvolt = <3000000>;
92 regulator-max-microvolt = <3000000>;
99 compatible = "gpio-keys";
104 label = "volume down";
105 debounce-interval = <10>;
112 debounce-interval = <10>;
119 debounce-interval = <10>;
127 debounce-inteval = <10>;
133 vdd-supply = <&ldo3_reg>;
138 samsung,i2c-sda-delay = <100>;
139 samsung,i2c-slave-addr = <0x10>;
140 samsung,i2c-max-bus-freq = <400000>;
141 pinctrl-0 = <&i2c3_bus>;
142 pinctrl-names = "default";
145 mms114-touchscreen@48 {
146 compatible = "melfas,mms114";
148 interrupt-parent = <&gpm2>;
152 avdd-supply = <&ldo23_reg>;
153 vdd-supply = <&ldo24_reg>;
157 i2c_0: i2c@13860000 {
158 samsung,i2c-sda-delay = <100>;
159 samsung,i2c-slave-addr = <0x10>;
160 samsung,i2c-max-bus-freq = <400000>;
161 pinctrl-0 = <&i2c0_bus>;
162 pinctrl-names = "default";
166 compatible = "samsung,s5c73m3";
168 standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */
169 xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */
170 vdd-int-supply = <&buck9_reg>;
171 vddio-cis-supply = <&ldo9_reg>;
172 vdda-supply = <&ldo17_reg>;
173 vddio-host-supply = <&ldo18_reg>;
174 vdd-af-supply = <&cam_af_reg>;
175 vdd-reg-supply = <&cam_io_reg>;
176 clock-frequency = <24000000>;
178 clocks = <&camera 0>;
179 clock-names = "cis_extclk";
181 s5c73m3_ep: endpoint {
182 remote-endpoint = <&csis0_ep>;
183 data-lanes = <1 2 3 4>;
190 samsung,i2c-sda-delay = <100>;
191 samsung,i2c-slave-addr = <0x10>;
192 samsung,i2c-max-bus-freq = <100000>;
193 pinctrl-0 = <&i2c7_bus>;
194 pinctrl-names = "default";
198 compatible = "maxim,max77686";
199 interrupt-parent = <&gpx0>;
206 regulator-compatible = "LDO1";
207 regulator-name = "VALIVE_1.0V_AP";
208 regulator-min-microvolt = <1000000>;
209 regulator-max-microvolt = <1000000>;
214 regulator-compatible = "LDO2";
215 regulator-name = "VM1M2_1.2V_AP";
216 regulator-min-microvolt = <1200000>;
217 regulator-max-microvolt = <1200000>;
219 regulator-state-mem {
220 regulator-on-in-suspend;
225 regulator-compatible = "LDO3";
226 regulator-name = "VCC_1.8V_AP";
227 regulator-min-microvolt = <1800000>;
228 regulator-max-microvolt = <1800000>;
233 regulator-compatible = "LDO4";
234 regulator-name = "VCC_2.8V_AP";
235 regulator-min-microvolt = <2800000>;
236 regulator-max-microvolt = <2800000>;
241 regulator-compatible = "LDO5";
242 regulator-name = "VCC_1.8V_IO";
243 regulator-min-microvolt = <1800000>;
244 regulator-max-microvolt = <1800000>;
249 regulator-compatible = "LDO6";
250 regulator-name = "VMPLL_1.0V_AP";
251 regulator-min-microvolt = <1000000>;
252 regulator-max-microvolt = <1000000>;
254 regulator-state-mem {
255 regulator-on-in-suspend;
260 regulator-compatible = "LDO7";
261 regulator-name = "VPLL_1.0V_AP";
262 regulator-min-microvolt = <1000000>;
263 regulator-max-microvolt = <1000000>;
265 regulator-state-mem {
266 regulator-on-in-suspend;
271 regulator-compatible = "LDO8";
272 regulator-name = "VMIPI_1.0V";
273 regulator-min-microvolt = <1000000>;
274 regulator-max-microvolt = <1000000>;
275 regulator-state-mem {
276 regulator-off-in-suspend;
281 regulator-compatible = "LDO9";
282 regulator-name = "CAM_ISP_MIPI_1.2V";
283 regulator-min-microvolt = <1200000>;
284 regulator-max-microvolt = <1200000>;
288 regulator-compatible = "LDO10";
289 regulator-name = "VMIPI_1.8V";
290 regulator-min-microvolt = <1800000>;
291 regulator-max-microvolt = <1800000>;
292 regulator-state-mem {
293 regulator-off-in-suspend;
298 regulator-compatible = "LDO11";
299 regulator-name = "VABB1_1.95V";
300 regulator-min-microvolt = <1950000>;
301 regulator-max-microvolt = <1950000>;
303 regulator-state-mem {
304 regulator-off-in-suspend;
309 regulator-compatible = "LDO12";
310 regulator-name = "VUOTG_3.0V";
311 regulator-min-microvolt = <3000000>;
312 regulator-max-microvolt = <3000000>;
313 regulator-state-mem {
314 regulator-off-in-suspend;
319 regulator-compatible = "LDO13";
320 regulator-name = "NFC_AVDD_1.8V";
321 regulator-min-microvolt = <1800000>;
322 regulator-max-microvolt = <1800000>;
326 regulator-compatible = "LDO14";
327 regulator-name = "VABB2_1.95V";
328 regulator-min-microvolt = <1950000>;
329 regulator-max-microvolt = <1950000>;
331 regulator-state-mem {
332 regulator-off-in-suspend;
337 regulator-compatible = "LDO15";
338 regulator-name = "VHSIC_1.0V";
339 regulator-min-microvolt = <1000000>;
340 regulator-max-microvolt = <1000000>;
341 regulator-state-mem {
342 regulator-on-in-suspend;
347 regulator-compatible = "LDO16";
348 regulator-name = "VHSIC_1.8V";
349 regulator-min-microvolt = <1800000>;
350 regulator-max-microvolt = <1800000>;
351 regulator-state-mem {
352 regulator-on-in-suspend;
357 regulator-compatible = "LDO17";
358 regulator-name = "CAM_SENSOR_CORE_1.2V";
359 regulator-min-microvolt = <1200000>;
360 regulator-max-microvolt = <1200000>;
364 regulator-compatible = "LDO18";
365 regulator-name = "CAM_ISP_SEN_IO_1.8V";
366 regulator-min-microvolt = <1800000>;
367 regulator-max-microvolt = <1800000>;
371 regulator-compatible = "LDO19";
372 regulator-name = "VT_CAM_1.8V";
373 regulator-min-microvolt = <1800000>;
374 regulator-max-microvolt = <1800000>;
378 regulator-compatible = "LDO20";
379 regulator-name = "VDDQ_PRE_1.8V";
380 regulator-min-microvolt = <1800000>;
381 regulator-max-microvolt = <1800000>;
385 regulator-compatible = "LDO21";
386 regulator-name = "VTF_2.8V";
387 regulator-min-microvolt = <2800000>;
388 regulator-max-microvolt = <2800000>;
389 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
393 regulator-compatible = "LDO22";
394 regulator-name = "VMEM_VDD_2.8V";
395 regulator-min-microvolt = <2800000>;
396 regulator-max-microvolt = <2800000>;
397 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
401 regulator-compatible = "LDO23";
402 regulator-name = "TSP_AVDD_3.3V";
403 regulator-min-microvolt = <3300000>;
404 regulator-max-microvolt = <3300000>;
408 regulator-compatible = "LDO24";
409 regulator-name = "TSP_VDD_1.8V";
410 regulator-min-microvolt = <1800000>;
411 regulator-max-microvolt = <1800000>;
415 regulator-compatible = "LDO25";
416 regulator-name = "LCD_VCC_3.3V";
417 regulator-min-microvolt = <2800000>;
418 regulator-max-microvolt = <2800000>;
422 regulator-compatible = "LDO26";
423 regulator-name = "MOTOR_VCC_3.0V";
424 regulator-min-microvolt = <3000000>;
425 regulator-max-microvolt = <3000000>;
429 regulator-compatible = "BUCK1";
430 regulator-name = "vdd_mif";
431 regulator-min-microvolt = <850000>;
432 regulator-max-microvolt = <1100000>;
435 regulator-state-mem {
436 regulator-off-in-suspend;
441 regulator-compatible = "BUCK2";
442 regulator-name = "vdd_arm";
443 regulator-min-microvolt = <850000>;
444 regulator-max-microvolt = <1500000>;
447 regulator-state-mem {
448 regulator-on-in-suspend;
453 regulator-compatible = "BUCK3";
454 regulator-name = "vdd_int";
455 regulator-min-microvolt = <850000>;
456 regulator-max-microvolt = <1150000>;
459 regulator-state-mem {
460 regulator-off-in-suspend;
465 regulator-compatible = "BUCK4";
466 regulator-name = "vdd_g3d";
467 regulator-min-microvolt = <850000>;
468 regulator-max-microvolt = <1150000>;
470 regulator-state-mem {
471 regulator-off-in-suspend;
476 regulator-compatible = "BUCK5";
477 regulator-name = "VMEM_1.2V_AP";
478 regulator-min-microvolt = <1200000>;
479 regulator-max-microvolt = <1200000>;
484 regulator-compatible = "BUCK6";
485 regulator-name = "VCC_SUB_1.35V";
486 regulator-min-microvolt = <1350000>;
487 regulator-max-microvolt = <1350000>;
492 regulator-compatible = "BUCK7";
493 regulator-name = "VCC_SUB_2.0V";
494 regulator-min-microvolt = <2000000>;
495 regulator-max-microvolt = <2000000>;
500 regulator-compatible = "BUCK8";
501 regulator-name = "VMEM_VDDF_3.0V";
502 regulator-min-microvolt = <2850000>;
503 regulator-max-microvolt = <2850000>;
504 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
508 regulator-compatible = "BUCK9";
509 regulator-name = "CAM_ISP_CORE_1.2V";
510 regulator-min-microvolt = <1000000>;
511 regulator-max-microvolt = <1200000>;
512 maxim,ena-gpios = <&gpm0 3 GPIO_ACTIVE_HIGH>;
518 i2c_max77693: i2c-gpio-1 {
519 compatible = "i2c-gpio";
520 gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
521 i2c-gpio,delay-us = <2>;
522 #address-cells = <1>;
527 compatible = "maxim,max77693";
528 interrupt-parent = <&gpx1>;
533 esafeout1_reg: ESAFEOUT1@1 {
534 regulator-name = "ESAFEOUT1";
536 esafeout2_reg: ESAFEOUT2@2 {
537 regulator-name = "ESAFEOUT2";
539 charger_reg: CHARGER@0 {
540 regulator-name = "CHARGER";
541 regulator-min-microamp = <60000>;
542 regulator-max-microamp = <2580000>;
547 compatible = "maxim,max77693-haptic";
548 haptic-supply = <&ldo26_reg>;
549 pwms = <&pwm 0 38022 0>;
553 compatible = "maxim,max77693-charger";
555 maxim,constant-microvolt = <4350000>;
556 maxim,min-system-microvolt = <3600000>;
557 maxim,thermal-regulation-celsius = <100>;
558 maxim,battery-overcurrent-microamp = <3500000>;
559 maxim,charge-input-threshold-microvolt = <4300000>;
564 i2c_max77693_fuel: i2c-gpio-3 {
565 compatible = "i2c-gpio";
566 gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
567 i2c-gpio,delay-us = <2>;
568 #address-cells = <1>;
572 max77693-fuel-gauge@36 {
573 compatible = "maxim,max17047";
574 interrupt-parent = <&gpx2>;
575 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
584 card-detect-delay = <200>;
585 vmmc-supply = <&ldo22_reg>;
586 clock-frequency = <400000000>;
587 samsung,dw-mshc-ciu-div = <0>;
588 samsung,dw-mshc-sdr-timing = <2 3>;
589 samsung,dw-mshc-ddr-timing = <1 2>;
590 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
591 pinctrl-names = "default";
599 cd-gpios = <&gpx3 4 0>;
601 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
602 pinctrl-names = "default";
603 vmmc-supply = <&ldo21_reg>;
624 vtmu-supply = <&ldo10_reg>;
628 i2c_ak8975: i2c-gpio-0 {
629 compatible = "i2c-gpio";
630 gpios = <&gpy2 4 0>, <&gpy2 5 0>;
631 i2c-gpio,delay-us = <2>;
632 #address-cells = <1>;
637 compatible = "asahi-kasei,ak8975";
643 i2c_cm36651: i2c-gpio-2 {
644 compatible = "i2c-gpio";
645 gpios = <&gpf0 0 1>, <&gpf0 1 1>;
646 i2c-gpio,delay-us = <2>;
647 #address-cells = <1>;
651 compatible = "capella,cm36651";
653 interrupt-parent = <&gpx0>;
655 vled-supply = <&ps_als_reg>;
659 spi_1: spi@13930000 {
660 pinctrl-names = "default";
661 pinctrl-0 = <&spi1_bus>;
662 cs-gpios = <&gpb 5 0>;
665 s5c73m3_spi: s5c73m3 {
666 compatible = "samsung,s5c73m3";
667 spi-max-frequency = <50000000>;
670 samsung,spi-feedback-delay = <2>;
676 pinctrl-0 = <&pwm0_out>;
677 pinctrl-names = "default";
678 samsung,pwm-outputs = <0>;
682 dsi_0: dsi@11C80000 {
683 vddcore-supply = <&ldo8_reg>;
684 vddio-supply = <&ldo10_reg>;
685 samsung,pll-clock-frequency = <24000000>;
689 #address-cells = <1>;
696 remote-endpoint = <&dsi_in>;
697 samsung,burst-clock-frequency = <500000000>;
698 samsung,esc-clock-frequency = <20000000>;
704 compatible = "samsung,s6e8aa0";
706 vdd3-supply = <&lcd_vdd3_reg>;
707 vci-supply = <&ldo25_reg>;
708 reset-gpios = <&gpy4 5 0>;
709 power-on-delay= <50>;
714 panel-width-mm = <58>;
715 panel-height-mm = <103>;
719 clock-frequency = <0>;
733 remote-endpoint = <&dsi_out>;
744 pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
745 pinctrl-names = "default";
747 assigned-clocks = <&clock CLK_MOUT_CAM0>,
748 <&clock CLK_MOUT_CAM1>;
749 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>,
750 <&clock CLK_MOUT_MPLL_USER_T>;
752 fimc_0: fimc@11800000 {
754 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
755 <&clock CLK_SCLK_FIMC0>;
756 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
757 assigned-clock-rates = <0>, <176000000>;
760 fimc_1: fimc@11810000 {
762 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
763 <&clock CLK_SCLK_FIMC1>;
764 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
765 assigned-clock-rates = <0>, <176000000>;
768 fimc_2: fimc@11820000 {
770 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
771 <&clock CLK_SCLK_FIMC2>;
772 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
773 assigned-clock-rates = <0>, <176000000>;
776 fimc_3: fimc@11830000 {
778 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
779 <&clock CLK_SCLK_FIMC3>;
780 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
781 assigned-clock-rates = <0>, <176000000>;
784 csis_0: csis@11880000 {
786 vddcore-supply = <&ldo8_reg>;
787 vddio-supply = <&ldo10_reg>;
788 assigned-clocks = <&clock CLK_MOUT_CSIS0>,
789 <&clock CLK_SCLK_CSIS0>;
790 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
791 assigned-clock-rates = <0>, <176000000>;
793 /* Camera C (3) MIPI CSI-2 (CSIS0) */
797 remote-endpoint = <&s5c73m3_ep>;
798 data-lanes = <1 2 3 4>;
799 samsung,csis-hs-settle = <12>;
804 csis_1: csis@11890000 {
806 vddcore-supply = <&ldo8_reg>;
807 vddio-supply = <&ldo10_reg>;
808 assigned-clocks = <&clock CLK_MOUT_CSIS1>,
809 <&clock CLK_SCLK_CSIS1>;
810 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
811 assigned-clock-rates = <0>, <176000000>;
813 /* Camera D (4) MIPI CSI-2 (CSIS1) */
817 remote-endpoint = <&is_s5k6a3_ep>;
819 samsung,csis-hs-settle = <18>;
825 fimc_lite_0: fimc-lite@12390000 {
829 fimc_lite_1: fimc-lite@123A0000 {
834 pinctrl-0 = <&fimc_is_uart>;
835 pinctrl-names = "default";
838 i2c1_isp: i2c-isp@12140000 {
839 pinctrl-0 = <&fimc_is_i2c1>;
840 pinctrl-names = "default";
843 compatible = "samsung,s5k6a3";
845 svdda-supply = <&cam_io_reg>;
846 svddio-supply = <&ldo19_reg>;
847 afvdd-supply = <&ldo19_reg>;
848 clock-frequency = <24000000>;
850 clocks = <&camera 1>;
851 clock-names = "extclk";
852 samsung,camclk-out = <1>;
856 is_s5k6a3_ep: endpoint {
857 remote-endpoint = <&csis1_ep>;
866 exynos-usbphy@125B0000 {
871 vusb_d-supply = <&ldo15_reg>;
872 vusb_a-supply = <&ldo12_reg>;
873 dr_mode = "peripheral";
878 compatible = "ntc,ncp15wb473";
879 pullup-uv = <1800000>; /* VCC_1.8V_AP */
880 pullup-ohm = <100000>; /* 100K */
881 pulldown-ohm = <100000>; /* 100K */
882 io-channels = <&adc 1>; /* AP temperature */
885 thermistor-battery@1 {
886 compatible = "ntc,ncp15wb473";
887 pullup-uv = <1800000>; /* VCC_1.8V_AP */
888 pullup-ohm = <100000>; /* 100K */
889 pulldown-ohm = <100000>; /* 100K */
890 io-channels = <&adc 2>; /* Battery temperature */
895 pinctrl-names = "default";
896 pinctrl-0 = <&sleep0>;
898 sleep0: sleep-states {
899 PIN_SLP(gpa0-0, INPUT, NONE);
900 PIN_SLP(gpa0-1, OUT0, NONE);
901 PIN_SLP(gpa0-2, INPUT, NONE);
902 PIN_SLP(gpa0-3, INPUT, UP);
903 PIN_SLP(gpa0-4, INPUT, NONE);
904 PIN_SLP(gpa0-5, INPUT, DOWN);
905 PIN_SLP(gpa0-6, INPUT, DOWN);
906 PIN_SLP(gpa0-7, INPUT, UP);
908 PIN_SLP(gpa1-0, INPUT, DOWN);
909 PIN_SLP(gpa1-1, INPUT, DOWN);
910 PIN_SLP(gpa1-2, INPUT, DOWN);
911 PIN_SLP(gpa1-3, INPUT, DOWN);
912 PIN_SLP(gpa1-4, INPUT, DOWN);
913 PIN_SLP(gpa1-5, INPUT, DOWN);
915 PIN_SLP(gpb-0, INPUT, NONE);
916 PIN_SLP(gpb-1, INPUT, NONE);
917 PIN_SLP(gpb-2, INPUT, NONE);
918 PIN_SLP(gpb-3, INPUT, NONE);
919 PIN_SLP(gpb-4, INPUT, DOWN);
920 PIN_SLP(gpb-5, INPUT, UP);
921 PIN_SLP(gpb-6, INPUT, DOWN);
922 PIN_SLP(gpb-7, INPUT, DOWN);
924 PIN_SLP(gpc0-0, INPUT, DOWN);
925 PIN_SLP(gpc0-1, INPUT, DOWN);
926 PIN_SLP(gpc0-2, INPUT, DOWN);
927 PIN_SLP(gpc0-3, INPUT, DOWN);
928 PIN_SLP(gpc0-4, INPUT, DOWN);
930 PIN_SLP(gpc1-0, INPUT, NONE);
931 PIN_SLP(gpc1-1, PREV, NONE);
932 PIN_SLP(gpc1-2, INPUT, NONE);
933 PIN_SLP(gpc1-3, INPUT, NONE);
934 PIN_SLP(gpc1-4, INPUT, NONE);
936 PIN_SLP(gpd0-0, INPUT, DOWN);
937 PIN_SLP(gpd0-1, INPUT, DOWN);
938 PIN_SLP(gpd0-2, INPUT, NONE);
939 PIN_SLP(gpd0-3, INPUT, NONE);
941 PIN_SLP(gpd1-0, INPUT, DOWN);
942 PIN_SLP(gpd1-1, INPUT, DOWN);
943 PIN_SLP(gpd1-2, INPUT, NONE);
944 PIN_SLP(gpd1-3, INPUT, NONE);
946 PIN_SLP(gpf0-0, INPUT, NONE);
947 PIN_SLP(gpf0-1, INPUT, NONE);
948 PIN_SLP(gpf0-2, INPUT, DOWN);
949 PIN_SLP(gpf0-3, INPUT, DOWN);
950 PIN_SLP(gpf0-4, INPUT, NONE);
951 PIN_SLP(gpf0-5, INPUT, DOWN);
952 PIN_SLP(gpf0-6, INPUT, NONE);
953 PIN_SLP(gpf0-7, INPUT, DOWN);
955 PIN_SLP(gpf1-0, INPUT, DOWN);
956 PIN_SLP(gpf1-1, INPUT, DOWN);
957 PIN_SLP(gpf1-2, INPUT, DOWN);
958 PIN_SLP(gpf1-3, INPUT, DOWN);
959 PIN_SLP(gpf1-4, INPUT, NONE);
960 PIN_SLP(gpf1-5, INPUT, NONE);
961 PIN_SLP(gpf1-6, INPUT, DOWN);
962 PIN_SLP(gpf1-7, PREV, NONE);
964 PIN_SLP(gpf2-0, PREV, NONE);
965 PIN_SLP(gpf2-1, INPUT, DOWN);
966 PIN_SLP(gpf2-2, INPUT, DOWN);
967 PIN_SLP(gpf2-3, INPUT, DOWN);
968 PIN_SLP(gpf2-4, INPUT, DOWN);
969 PIN_SLP(gpf2-5, INPUT, DOWN);
970 PIN_SLP(gpf2-6, INPUT, NONE);
971 PIN_SLP(gpf2-7, INPUT, NONE);
973 PIN_SLP(gpf3-0, INPUT, NONE);
974 PIN_SLP(gpf3-1, PREV, NONE);
975 PIN_SLP(gpf3-2, PREV, NONE);
976 PIN_SLP(gpf3-3, PREV, NONE);
977 PIN_SLP(gpf3-4, OUT1, NONE);
978 PIN_SLP(gpf3-5, INPUT, DOWN);
980 PIN_SLP(gpj0-0, PREV, NONE);
981 PIN_SLP(gpj0-1, PREV, NONE);
982 PIN_SLP(gpj0-2, PREV, NONE);
983 PIN_SLP(gpj0-3, INPUT, DOWN);
984 PIN_SLP(gpj0-4, PREV, NONE);
985 PIN_SLP(gpj0-5, PREV, NONE);
986 PIN_SLP(gpj0-6, INPUT, DOWN);
987 PIN_SLP(gpj0-7, INPUT, DOWN);
989 PIN_SLP(gpj1-0, INPUT, DOWN);
990 PIN_SLP(gpj1-1, PREV, NONE);
991 PIN_SLP(gpj1-2, PREV, NONE);
992 PIN_SLP(gpj1-3, INPUT, DOWN);
993 PIN_SLP(gpj1-4, INPUT, DOWN);
998 pinctrl-names = "default";
999 pinctrl-0 = <&sleep1>;
1001 sleep1: sleep-states {
1002 PIN_SLP(gpk0-0, PREV, NONE);
1003 PIN_SLP(gpk0-1, PREV, NONE);
1004 PIN_SLP(gpk0-2, OUT0, NONE);
1005 PIN_SLP(gpk0-3, PREV, NONE);
1006 PIN_SLP(gpk0-4, PREV, NONE);
1007 PIN_SLP(gpk0-5, PREV, NONE);
1008 PIN_SLP(gpk0-6, PREV, NONE);
1010 PIN_SLP(gpk1-0, INPUT, DOWN);
1011 PIN_SLP(gpk1-1, INPUT, DOWN);
1012 PIN_SLP(gpk1-2, INPUT, DOWN);
1013 PIN_SLP(gpk1-3, PREV, NONE);
1014 PIN_SLP(gpk1-4, PREV, NONE);
1015 PIN_SLP(gpk1-5, PREV, NONE);
1016 PIN_SLP(gpk1-6, PREV, NONE);
1018 PIN_SLP(gpk2-0, INPUT, DOWN);
1019 PIN_SLP(gpk2-1, INPUT, DOWN);
1020 PIN_SLP(gpk2-2, INPUT, DOWN);
1021 PIN_SLP(gpk2-3, INPUT, DOWN);
1022 PIN_SLP(gpk2-4, INPUT, DOWN);
1023 PIN_SLP(gpk2-5, INPUT, DOWN);
1024 PIN_SLP(gpk2-6, INPUT, DOWN);
1026 PIN_SLP(gpk3-0, OUT0, NONE);
1027 PIN_SLP(gpk3-1, INPUT, NONE);
1028 PIN_SLP(gpk3-2, INPUT, DOWN);
1029 PIN_SLP(gpk3-3, INPUT, NONE);
1030 PIN_SLP(gpk3-4, INPUT, NONE);
1031 PIN_SLP(gpk3-5, INPUT, NONE);
1032 PIN_SLP(gpk3-6, INPUT, NONE);
1034 PIN_SLP(gpl0-0, INPUT, DOWN);
1035 PIN_SLP(gpl0-1, INPUT, DOWN);
1036 PIN_SLP(gpl0-2, INPUT, DOWN);
1037 PIN_SLP(gpl0-3, INPUT, DOWN);
1038 PIN_SLP(gpl0-4, PREV, NONE);
1039 PIN_SLP(gpl0-6, PREV, NONE);
1041 PIN_SLP(gpl1-0, INPUT, DOWN);
1042 PIN_SLP(gpl1-1, INPUT, DOWN);
1043 PIN_SLP(gpl2-0, INPUT, DOWN);
1044 PIN_SLP(gpl2-1, INPUT, DOWN);
1045 PIN_SLP(gpl2-2, INPUT, DOWN);
1046 PIN_SLP(gpl2-3, INPUT, DOWN);
1047 PIN_SLP(gpl2-4, INPUT, DOWN);
1048 PIN_SLP(gpl2-5, INPUT, DOWN);
1049 PIN_SLP(gpl2-6, PREV, NONE);
1050 PIN_SLP(gpl2-7, INPUT, DOWN);
1052 PIN_SLP(gpm0-0, INPUT, DOWN);
1053 PIN_SLP(gpm0-1, INPUT, DOWN);
1054 PIN_SLP(gpm0-2, INPUT, DOWN);
1055 PIN_SLP(gpm0-3, INPUT, DOWN);
1056 PIN_SLP(gpm0-4, INPUT, DOWN);
1057 PIN_SLP(gpm0-5, INPUT, DOWN);
1058 PIN_SLP(gpm0-6, INPUT, DOWN);
1059 PIN_SLP(gpm0-7, INPUT, DOWN);
1061 PIN_SLP(gpm1-0, INPUT, DOWN);
1062 PIN_SLP(gpm1-1, INPUT, DOWN);
1063 PIN_SLP(gpm1-2, INPUT, NONE);
1064 PIN_SLP(gpm1-3, INPUT, NONE);
1065 PIN_SLP(gpm1-4, INPUT, NONE);
1066 PIN_SLP(gpm1-5, INPUT, NONE);
1067 PIN_SLP(gpm1-6, INPUT, DOWN);
1069 PIN_SLP(gpm2-0, INPUT, NONE);
1070 PIN_SLP(gpm2-1, INPUT, NONE);
1071 PIN_SLP(gpm2-2, INPUT, DOWN);
1072 PIN_SLP(gpm2-3, INPUT, DOWN);
1073 PIN_SLP(gpm2-4, INPUT, DOWN);
1075 PIN_SLP(gpm3-0, PREV, NONE);
1076 PIN_SLP(gpm3-1, PREV, NONE);
1077 PIN_SLP(gpm3-2, PREV, NONE);
1078 PIN_SLP(gpm3-3, OUT1, NONE);
1079 PIN_SLP(gpm3-4, INPUT, DOWN);
1080 PIN_SLP(gpm3-5, INPUT, DOWN);
1081 PIN_SLP(gpm3-6, INPUT, DOWN);
1082 PIN_SLP(gpm3-7, INPUT, DOWN);
1084 PIN_SLP(gpm4-0, INPUT, DOWN);
1085 PIN_SLP(gpm4-1, INPUT, DOWN);
1086 PIN_SLP(gpm4-2, INPUT, DOWN);
1087 PIN_SLP(gpm4-3, INPUT, DOWN);
1088 PIN_SLP(gpm4-4, INPUT, DOWN);
1089 PIN_SLP(gpm4-5, INPUT, DOWN);
1090 PIN_SLP(gpm4-6, INPUT, DOWN);
1091 PIN_SLP(gpm4-7, INPUT, DOWN);
1093 PIN_SLP(gpy0-0, INPUT, DOWN);
1094 PIN_SLP(gpy0-1, INPUT, DOWN);
1095 PIN_SLP(gpy0-2, INPUT, DOWN);
1096 PIN_SLP(gpy0-3, INPUT, DOWN);
1097 PIN_SLP(gpy0-4, INPUT, DOWN);
1098 PIN_SLP(gpy0-5, INPUT, DOWN);
1100 PIN_SLP(gpy1-0, INPUT, DOWN);
1101 PIN_SLP(gpy1-1, INPUT, DOWN);
1102 PIN_SLP(gpy1-2, INPUT, DOWN);
1103 PIN_SLP(gpy1-3, INPUT, DOWN);
1105 PIN_SLP(gpy2-0, PREV, NONE);
1106 PIN_SLP(gpy2-1, INPUT, DOWN);
1107 PIN_SLP(gpy2-2, INPUT, NONE);
1108 PIN_SLP(gpy2-3, INPUT, NONE);
1109 PIN_SLP(gpy2-4, INPUT, NONE);
1110 PIN_SLP(gpy2-5, INPUT, NONE);
1112 PIN_SLP(gpy3-0, INPUT, DOWN);
1113 PIN_SLP(gpy3-1, INPUT, DOWN);
1114 PIN_SLP(gpy3-2, INPUT, DOWN);
1115 PIN_SLP(gpy3-3, INPUT, DOWN);
1116 PIN_SLP(gpy3-4, INPUT, DOWN);
1117 PIN_SLP(gpy3-5, INPUT, DOWN);
1118 PIN_SLP(gpy3-6, INPUT, DOWN);
1119 PIN_SLP(gpy3-7, INPUT, DOWN);
1121 PIN_SLP(gpy4-0, INPUT, DOWN);
1122 PIN_SLP(gpy4-1, INPUT, DOWN);
1123 PIN_SLP(gpy4-2, INPUT, DOWN);
1124 PIN_SLP(gpy4-3, INPUT, DOWN);
1125 PIN_SLP(gpy4-4, INPUT, DOWN);
1126 PIN_SLP(gpy4-5, INPUT, DOWN);
1127 PIN_SLP(gpy4-6, INPUT, DOWN);
1128 PIN_SLP(gpy4-7, INPUT, DOWN);
1130 PIN_SLP(gpy5-0, INPUT, DOWN);
1131 PIN_SLP(gpy5-1, INPUT, DOWN);
1132 PIN_SLP(gpy5-2, INPUT, DOWN);
1133 PIN_SLP(gpy5-3, INPUT, DOWN);
1134 PIN_SLP(gpy5-4, INPUT, DOWN);
1135 PIN_SLP(gpy5-5, INPUT, DOWN);
1136 PIN_SLP(gpy5-6, INPUT, DOWN);
1137 PIN_SLP(gpy5-7, INPUT, DOWN);
1139 PIN_SLP(gpy6-0, INPUT, DOWN);
1140 PIN_SLP(gpy6-1, INPUT, DOWN);
1141 PIN_SLP(gpy6-2, INPUT, DOWN);
1142 PIN_SLP(gpy6-3, INPUT, DOWN);
1143 PIN_SLP(gpy6-4, INPUT, DOWN);
1144 PIN_SLP(gpy6-5, INPUT, DOWN);
1145 PIN_SLP(gpy6-6, INPUT, DOWN);
1146 PIN_SLP(gpy6-7, INPUT, DOWN);
1151 pinctrl-names = "default";
1152 pinctrl-0 = <&sleep2>;
1154 sleep2: sleep-states {
1155 PIN_SLP(gpz-0, INPUT, DOWN);
1156 PIN_SLP(gpz-1, INPUT, DOWN);
1157 PIN_SLP(gpz-2, INPUT, DOWN);
1158 PIN_SLP(gpz-3, INPUT, DOWN);
1159 PIN_SLP(gpz-4, INPUT, DOWN);
1160 PIN_SLP(gpz-5, INPUT, DOWN);
1161 PIN_SLP(gpz-6, INPUT, DOWN);
1166 pinctrl-names = "default";
1167 pinctrl-0 = <&sleep3>;
1169 sleep3: sleep-states {
1170 PIN_SLP(gpv0-0, INPUT, DOWN);
1171 PIN_SLP(gpv0-1, INPUT, DOWN);
1172 PIN_SLP(gpv0-2, INPUT, DOWN);
1173 PIN_SLP(gpv0-3, INPUT, DOWN);
1174 PIN_SLP(gpv0-4, INPUT, DOWN);
1175 PIN_SLP(gpv0-5, INPUT, DOWN);
1176 PIN_SLP(gpv0-6, INPUT, DOWN);
1177 PIN_SLP(gpv0-7, INPUT, DOWN);
1179 PIN_SLP(gpv1-0, INPUT, DOWN);
1180 PIN_SLP(gpv1-1, INPUT, DOWN);
1181 PIN_SLP(gpv1-2, INPUT, DOWN);
1182 PIN_SLP(gpv1-3, INPUT, DOWN);
1183 PIN_SLP(gpv1-4, INPUT, DOWN);
1184 PIN_SLP(gpv1-5, INPUT, DOWN);
1185 PIN_SLP(gpv1-6, INPUT, DOWN);
1186 PIN_SLP(gpv1-7, INPUT, DOWN);
1188 PIN_SLP(gpv2-0, INPUT, DOWN);
1189 PIN_SLP(gpv2-1, INPUT, DOWN);
1190 PIN_SLP(gpv2-2, INPUT, DOWN);
1191 PIN_SLP(gpv2-3, INPUT, DOWN);
1192 PIN_SLP(gpv2-4, INPUT, DOWN);
1193 PIN_SLP(gpv2-5, INPUT, DOWN);
1194 PIN_SLP(gpv2-6, INPUT, DOWN);
1195 PIN_SLP(gpv2-7, INPUT, DOWN);
1197 PIN_SLP(gpv3-0, INPUT, DOWN);
1198 PIN_SLP(gpv3-1, INPUT, DOWN);
1199 PIN_SLP(gpv3-2, INPUT, DOWN);
1200 PIN_SLP(gpv3-3, INPUT, DOWN);
1201 PIN_SLP(gpv3-4, INPUT, DOWN);
1202 PIN_SLP(gpv3-5, INPUT, DOWN);
1203 PIN_SLP(gpv3-6, INPUT, DOWN);
1204 PIN_SLP(gpv3-7, INPUT, DOWN);
1206 PIN_SLP(gpv4-0, INPUT, DOWN);