Lines Matching +full:down +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0
4 * Based on exynos4412-midas.dtsi.
10 /dts-v1/;
12 #include "exynos4412-ppmu-common.dtsi"
14 #include <dt-bindings/clock/maxim,max77686.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/linux-event-codes.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
18 #include <dt-bindings/power/summit,smb347-charger.h>
19 #include "exynos-pinctrl.h"
36 stdout-path = &serial_2;
40 compatible = "samsung,secure-firmware";
44 fixed-rate-clocks {
46 compatible = "samsung,clock-xxti";
47 clock-frequency = <0>;
51 compatible = "samsung,clock-xusbxti";
52 clock-frequency = <24000000>;
56 gpio-keys {
57 compatible = "gpio-keys";
58 pinctrl-names = "default";
59 pinctrl-0 = <&gpio_keys>;
61 key-down {
62 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
64 label = "volume down";
65 debounce-interval = <10>;
68 key-up {
69 gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
72 debounce-interval = <10>;
75 key-power {
76 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
79 debounce-interval = <10>;
80 wakeup-source;
84 voltage-regulator-1 {
85 compatible = "regulator-fixed";
86 regulator-name = "TSP_LDO1";
87 pinctrl-names = "default";
88 pinctrl-0 = <&tsp_reg_gpio_1>;
89 gpios = <&gpm4 5 GPIO_ACTIVE_HIGH>;
90 enable-active-high;
91 regulator-always-on;
94 voltage-regulator-2 {
95 compatible = "regulator-fixed";
96 regulator-name = "TSP_LDO2";
97 pinctrl-names = "default";
98 pinctrl-0 = <&tsp_reg_gpio_2>;
99 gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
100 enable-active-high;
101 regulator-always-on;
104 voltage-regulator-3 {
105 compatible = "regulator-fixed";
106 regulator-name = "TSP_LDO3";
107 pinctrl-names = "default";
108 pinctrl-0 = <&tsp_reg_gpio_3>;
109 gpios = <&gpb 7 GPIO_ACTIVE_HIGH>;
110 startup-delay-us = <20000>;
111 enable-active-high;
112 regulator-always-on;
115 panel_vdd: voltage-regulator-4 {
116 compatible = "regulator-fixed";
117 regulator-name = "LCD_ENABLE";
118 pinctrl-names = "default";
119 pinctrl-0 = <&lcd_enable>;
120 gpios = <&gpc0 1 GPIO_ACTIVE_HIGH>;
121 enable-active-high;
122 regulator-boot-on;
125 wlan_pwrseq: sdhci3-pwrseq {
126 compatible = "mmc-pwrseq-simple";
127 reset-gpios = <&gpm3 5 GPIO_ACTIVE_LOW>;
128 pinctrl-0 = <&wifi_reset>;
129 pinctrl-names = "default";
131 clock-names = "ext_clock";
134 battery_cell: battery-cell {
135 compatible = "simple-battery";
136 device-chemistry = "lithium-ion";
137 constant-charge-current-max-microamp = <2200000>;
138 precharge-current-microamp = <250000>;
139 charge-term-current-microamp = <250000>;
140 constant-charge-voltage-max-microvolt = <4200000>;
143 i2c-gpio-1 {
144 compatible = "i2c-gpio";
145 sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
146 scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
147 i2c-gpio,delay-us = <2>;
148 #address-cells = <1>;
149 #size-cells = <0>;
152 compatible = "asahi-kasei,ak8975";
154 pinctrl-0 = <&ak8975_irq>;
155 pinctrl-names = "default";
156 interrupt-parent = <&gpm4>;
161 i2c-gpio-2 {
162 compatible = "i2c-gpio";
163 sda-gpios = <&gpy0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
164 scl-gpios = <&gpy0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
165 i2c-gpio,delay-us = <2>;
166 #address-cells = <1>;
167 #size-cells = <0>;
169 fuel-gauge@36 {
172 pinctrl-0 = <&fuel_alert_irq>;
173 pinctrl-names = "default";
174 interrupt-parent = <&gpx2>;
176 maxim,rsns-microohm = <10000>;
177 maxim,over-heat-temp = <600>;
178 maxim,over-volt = <4300>;
182 i2c-gpio-3 {
183 compatible = "i2c-gpio";
184 sda-gpios = <&gpm4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
185 scl-gpios = <&gpm4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
186 i2c-gpio,delay-us = <5>;
187 #address-cells = <1>;
188 #size-cells = <0>;
193 pinctrl-0 = <&stmpe_adc_irq>;
194 pinctrl-names = "default";
195 interrupt-parent = <&gpx0>;
197 st,adc-freq = <3>;
198 st,mod-12b = <1>;
199 st,ref-sel = <0>;
200 st,sample-time = <3>;
203 compatible = "st,stmpe-adc";
204 #io-channel-cells = <1>;
205 st,norequest-mask = <0x2f>;
210 i2c-gpio-4 {
211 compatible = "i2c-gpio";
212 sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
213 scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
215 i2c-gpio,delay-us = <2>;
216 #address-cells = <1>;
217 #size-cells = <0>;
222 summit,enable-usb-charging;
223 summit,enable-charge-control = <SMB3XX_CHG_ENABLE_SW>;
224 summit,fast-voltage-threshold-microvolt = <2600000>;
225 summit,chip-temperature-threshold-celsius = <130>;
226 summit,usb-current-limit-microamp = <1800000>;
228 monitored-battery = <&battery_cell>;
234 pinctrl-0 = <&lvds_nshdn>;
235 pinctrl-names = "default";
236 power-supply = <&panel_vdd>;
237 enable-gpios = <&gpm0 5 GPIO_ACTIVE_HIGH>;
242 remote-endpoint = <&fimd_ep>;
248 compatible = "pwm-backlight";
249 pinctrl-0 = <&led_bl_reset>;
250 pinctrl-names = "default";
251 enable-gpios = <&gpm0 1 GPIO_ACTIVE_HIGH>;
252 power-supply = <&panel_vdd>;
254 brightness-levels = <0 48 128 255>;
255 num-interpolated-steps = <8>;
256 default-brightness-level = <12>;
261 vdd-supply = <&ldo3_reg>;
267 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
268 vdd-supply = <&buck1_reg>;
283 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
284 vdd-supply = <&buck3_reg>;
314 cpu0-supply = <&buck2_reg>;
318 cooling-maps {
321 cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
326 cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
337 pinctrl-0 = <&lcd_clk &lcd_data24>;
338 pinctrl-names = "default";
339 #address-cells = <1>;
340 #size-cells = <0>;
343 samsung,invert-vclk;
349 remote-endpoint = <&lcd_ep>;
355 mali-supply = <&buck4_reg>;
360 vusb_a-supply = <&ldo12_reg>;
366 samsung,i2c-sda-delay = <100>;
367 samsung,i2c-slave-addr = <0x10>;
368 samsung,i2c-max-bus-freq = <400000>;
369 pinctrl-0 = <&i2c1_bus>;
370 pinctrl-names = "default";
374 compatible = "st,lsm330dlc-accel";
376 interrupt-parent = <&gpx0>;
378 pinctrl-0 = <&accelerometer_irq>;
379 pinctrl-names = "default";
380 mount-matrix = "1", "0", "0",
381 "0", "-1", "0",
382 "0", "0", "-1";
386 compatible = "st,lsm330dlc-gyro";
388 interrupt-parent = <&gpx0>;
390 pinctrl-0 = <&gyro_data_enable &gyro_irq>;
391 pinctrl-names = "default";
392 mount-matrix = "1", "0", "0",
393 "0", "-1", "0",
394 "0", "0", "-1";
399 samsung,i2c-sda-delay = <100>;
400 samsung,i2c-slave-addr = <0x10>;
401 samsung,i2c-max-bus-freq = <400000>;
402 pinctrl-0 = <&i2c3_bus>;
403 pinctrl-names = "default";
409 pinctrl-0 = <&tsp_rst &tsp_irq>;
410 pinctrl-names = "default";
411 interrupt-parent = <&gpm2>;
413 reset-gpios = <&gpm0 4 GPIO_ACTIVE_LOW>;
418 samsung,i2c-sda-delay = <100>;
419 samsung,i2c-slave-addr = <0x10>;
420 samsung,i2c-max-bus-freq = <400000>;
421 pinctrl-0 = <&i2c7_bus>;
422 pinctrl-names = "default";
427 interrupt-parent = <&gpx0>;
429 pinctrl-0 = <&max77686_irq>;
430 pinctrl-names = "default";
431 wakeup-source;
433 #clock-cells = <1>;
435 voltage-regulators {
437 regulator-name = "ldo1";
438 regulator-always-on;
442 regulator-name = "ldo2";
443 regulator-always-on;
448 regulator-name = "VCC_1.8V_AP";
449 regulator-min-microvolt = <1800000>;
450 regulator-max-microvolt = <1800000>;
451 regulator-always-on;
452 regulator-boot-on;
454 regulator-state-mem {
455 regulator-on-in-suspend;
460 regulator-name = "ldo4";
461 regulator-always-on;
465 regulator-name = "VCC_1.8V_IO";
466 regulator-min-microvolt = <1800000>;
467 regulator-max-microvolt = <1800000>;
469 regulator-state-mem {
470 regulator-off-in-suspend;
475 regulator-name = "ldo6";
476 regulator-always-on;
480 regulator-name = "ldo7";
481 regulator-always-on;
486 regulator-name = "VMIPI_1.0V";
487 regulator-min-microvolt = <1000000>;
488 regulator-max-microvolt = <1000000>;
489 regulator-always-on;
490 regulator-boot-on;
492 regulator-state-mem {
493 regulator-on-in-suspend;
499 regulator-name = "VLED_IC_1.9V";
500 regulator-min-microvolt = <1950000>;
501 regulator-max-microvolt = <1950000>;
503 regulator-state-mem {
504 regulator-off-in-suspend;
510 regulator-name = "VMIPI_1.8V";
511 regulator-min-microvolt = <1800000>;
512 regulator-max-microvolt = <1800000>;
513 regulator-always-on;
514 regulator-boot-on;
516 regulator-state-mem {
517 regulator-on-in-suspend;
522 regulator-name = "VABB1_1.9V";
523 regulator-min-microvolt = <1950000>;
524 regulator-max-microvolt = <1950000>;
525 regulator-always-on;
526 regulator-boot-on;
528 regulator-state-mem {
529 regulator-off-in-suspend;
535 regulator-name = "VUOTG_3.0V";
536 regulator-min-microvolt = <3000000>;
537 regulator-max-microvolt = <3000000>;
538 regulator-always-on;
539 regulator-boot-on;
541 regulator-state-mem {
542 regulator-on-in-suspend;
548 regulator-name = "ldo13";
552 regulator-name = "VABB2_1.9V";
553 regulator-min-microvolt = <1950000>;
554 regulator-max-microvolt = <1950000>;
555 regulator-always-on;
556 regulator-boot-on;
558 regulator-state-mem {
559 regulator-off-in-suspend;
564 regulator-name = "ldo15";
565 regulator-always-on;
569 regulator-name = "ldo16";
570 regulator-always-on;
575 regulator-name = "ldo17";
580 regulator-name = "CAM_IO_1.8V";
581 regulator-min-microvolt = <1800000>;
582 regulator-max-microvolt = <1800000>;
584 regulator-state-mem {
585 regulator-off-in-suspend;
591 regulator-name = "VT_CORE_1.8V";
592 regulator-min-microvolt = <1800000>;
593 regulator-max-microvolt = <1800000>;
595 regulator-state-mem {
596 regulator-off-in-suspend;
602 regulator-name = "ldo20";
607 regulator-name = "VTF_2.8V";
608 regulator-min-microvolt = <2800000>;
609 regulator-max-microvolt = <2800000>;
610 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
615 regulator-name = "ldo22";
620 regulator-name = "VDD_ADC_3.3V";
621 regulator-min-microvolt = <3300000>;
622 regulator-max-microvolt = <3300000>;
623 regulator-always-on;
624 regulator-boot-on;
626 regulator-state-mem {
627 regulator-off-in-suspend;
633 regulator-name = "CAM_A2.8V";
634 regulator-min-microvolt = <2800000>;
635 regulator-max-microvolt = <2800000>;
637 regulator-state-mem {
638 regulator-off-in-suspend;
643 regulator-name = "VLED_3.3V";
644 regulator-min-microvolt = <3300000>;
645 regulator-max-microvolt = <3300000>;
647 regulator-state-mem {
648 regulator-off-in-suspend;
654 regulator-name = "3MP_AF_2.8V";
655 regulator-min-microvolt = <2800000>;
656 regulator-max-microvolt = <2800000>;
658 regulator-state-mem {
659 regulator-off-in-suspend;
664 regulator-name = "VDD_MIF";
665 regulator-min-microvolt = <850000>;
666 regulator-max-microvolt = <1050000>;
667 regulator-always-on;
668 regulator-boot-on;
672 regulator-name = "VDD_ARM";
673 regulator-min-microvolt = <850000>;
674 regulator-max-microvolt = <1500000>;
675 regulator-always-on;
676 regulator-boot-on;
680 regulator-name = "VDD_INT";
681 regulator-min-microvolt = <850000>;
682 regulator-max-microvolt = <1100000>;
683 regulator-always-on;
684 regulator-boot-on;
688 regulator-name = "VDD_G3D";
689 regulator-min-microvolt = <850000>;
690 regulator-max-microvolt = <1075000>;
691 regulator-boot-on;
695 regulator-name = "buck5";
696 regulator-always-on;
700 regulator-name = "buck6";
701 regulator-always-on;
705 regulator-name = "buck7";
706 regulator-always-on;
711 regulator-name = "buck8";
715 regulator-name = "3MP_CORE_1.2V";
716 regulator-min-microvolt = <1200000>;
717 regulator-max-microvolt = <1200000>;
719 regulator-state-mem {
720 regulator-off-in-suspend;
728 broken-cd;
729 non-removable;
730 card-detect-delay = <200>;
731 clock-frequency = <400000000>;
732 samsung,dw-mshc-ciu-div = <0>;
733 samsung,dw-mshc-sdr-timing = <2 3>;
734 samsung,dw-mshc-ddr-timing = <1 2>;
735 mmc-ddr-1_8v;
736 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
737 pinctrl-names = "default";
738 bus-width = <4>;
739 cap-mmc-highspeed;
740 cap-sd-highspeed;
745 pinctrl-names = "default";
746 pinctrl-0 = <&sleep0>;
748 tsp_reg_gpio_2: tsp-reg-gpio-2-pins {
749 samsung,pins = "gpb-5";
750 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
751 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
754 tsp_reg_gpio_3: tsp-reg-gpio-3-pins {
755 samsung,pins = "gpb-7";
756 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
757 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
760 lcd_enable: lcd-enable-pins {
761 samsung,pins = "gpc0-1";
762 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
763 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
766 sleep0: sleep-state {
767 PIN_SLP(gpa0-0, INPUT, NONE);
768 PIN_SLP(gpa0-1, OUT0, NONE);
769 PIN_SLP(gpa0-2, INPUT, NONE);
770 PIN_SLP(gpa0-3, INPUT, UP);
771 PIN_SLP(gpa0-4, INPUT, NONE);
772 PIN_SLP(gpa0-5, INPUT, DOWN);
773 PIN_SLP(gpa0-6, INPUT, DOWN);
774 PIN_SLP(gpa0-7, INPUT, UP);
776 PIN_SLP(gpa1-0, INPUT, DOWN);
777 PIN_SLP(gpa1-1, INPUT, DOWN);
778 PIN_SLP(gpa1-2, INPUT, DOWN);
779 PIN_SLP(gpa1-3, INPUT, DOWN);
780 PIN_SLP(gpa1-4, INPUT, DOWN);
781 PIN_SLP(gpa1-5, INPUT, DOWN);
783 PIN_SLP(gpb-0, INPUT, NONE);
784 PIN_SLP(gpb-1, INPUT, NONE);
785 PIN_SLP(gpb-2, INPUT, NONE);
786 PIN_SLP(gpb-3, INPUT, NONE);
787 PIN_SLP(gpb-4, INPUT, DOWN);
788 PIN_SLP(gpb-5, INPUT, DOWN);
789 PIN_SLP(gpb-6, INPUT, DOWN);
790 PIN_SLP(gpb-7, INPUT, DOWN);
792 PIN_SLP(gpc0-0, INPUT, DOWN);
793 PIN_SLP(gpc0-1, INPUT, DOWN);
794 PIN_SLP(gpc0-2, INPUT, DOWN);
795 PIN_SLP(gpc0-3, INPUT, DOWN);
796 PIN_SLP(gpc0-4, INPUT, DOWN);
798 PIN_SLP(gpc1-0, INPUT, UP);
799 PIN_SLP(gpc1-1, PREV, NONE);
800 PIN_SLP(gpc1-2, INPUT, UP);
801 PIN_SLP(gpc1-3, INPUT, UP);
802 PIN_SLP(gpc1-4, INPUT, UP);
804 PIN_SLP(gpd0-0, INPUT, DOWN);
805 PIN_SLP(gpd0-1, OUT0, NONE);
806 PIN_SLP(gpd0-2, INPUT, NONE);
807 PIN_SLP(gpd0-3, INPUT, NONE);
809 PIN_SLP(gpd1-0, INPUT, DOWN);
810 PIN_SLP(gpd1-1, INPUT, DOWN);
811 PIN_SLP(gpd1-2, INPUT, NONE);
812 PIN_SLP(gpd1-3, INPUT, NONE);
814 PIN_SLP(gpf0-0, OUT0, NONE);
815 PIN_SLP(gpf0-1, OUT0, NONE);
816 PIN_SLP(gpf0-2, OUT0, NONE);
817 PIN_SLP(gpf0-3, OUT0, NONE);
818 PIN_SLP(gpf0-4, OUT0, NONE);
819 PIN_SLP(gpf0-5, OUT0, NONE);
820 PIN_SLP(gpf0-6, OUT0, NONE);
821 PIN_SLP(gpf0-7, OUT0, NONE);
823 PIN_SLP(gpf1-0, OUT0, NONE);
824 PIN_SLP(gpf1-1, OUT0, NONE);
825 PIN_SLP(gpf1-2, OUT0, NONE);
826 PIN_SLP(gpf1-3, OUT0, NONE);
827 PIN_SLP(gpf1-4, OUT0, NONE);
828 PIN_SLP(gpf1-5, OUT0, NONE);
829 PIN_SLP(gpf1-6, OUT0, NONE);
830 PIN_SLP(gpf1-7, OUT0, NONE);
832 PIN_SLP(gpf2-0, OUT0, NONE);
833 PIN_SLP(gpf2-1, OUT0, NONE);
834 PIN_SLP(gpf2-2, OUT0, NONE);
835 PIN_SLP(gpf2-3, OUT0, NONE);
836 PIN_SLP(gpf2-4, OUT0, NONE);
837 PIN_SLP(gpf2-5, OUT0, NONE);
838 PIN_SLP(gpf2-6, OUT0, NONE);
839 PIN_SLP(gpf2-7, OUT0, NONE);
841 PIN_SLP(gpf3-0, OUT0, NONE);
842 PIN_SLP(gpf3-1, OUT0, NONE);
843 PIN_SLP(gpf3-2, OUT0, NONE);
844 PIN_SLP(gpf3-3, OUT0, NONE);
845 PIN_SLP(gpf3-4, OUT0, NONE);
846 PIN_SLP(gpf3-5, OUT0, NONE);
848 PIN_SLP(gpj0-0, INPUT, DOWN);
849 PIN_SLP(gpj0-1, INPUT, DOWN);
850 PIN_SLP(gpj0-2, INPUT, DOWN);
851 PIN_SLP(gpj0-3, PREV, NONE);
852 PIN_SLP(gpj0-4, PREV, NONE);
853 PIN_SLP(gpj0-5, OUT0, NONE);
854 PIN_SLP(gpj0-6, OUT0, NONE);
855 PIN_SLP(gpj0-7, OUT0, NONE);
857 PIN_SLP(gpj1-0, OUT0, NONE);
858 PIN_SLP(gpj1-1, INPUT, DOWN);
859 PIN_SLP(gpj1-2, PREV, NONE);
860 PIN_SLP(gpj1-3, OUT0, NONE);
865 pinctrl-names = "default";
866 pinctrl-0 = <&sleep1>;
868 sd3_wifi: sd3-wifi-pins {
869 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
870 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
871 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
874 bt_shutdown: bt-shutdown-pins {
875 samsung,pins = "gpl0-6";
876 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
877 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
880 gyro_data_enable: gyro-data-enable-pins {
881 samsung,pins = "gpl2-0";
882 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
883 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
886 uart_sel: uart-sel-pins {
887 samsung,pins = "gpl2-7";
888 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
889 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
890 samsung,pin-val = <1>;
894 led_bl_reset: led-bl-reset-pins {
895 samsung,pins = "gpm0-1";
896 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
897 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
900 tsp_rst: tsp-rst-pins {
901 samsung,pins = "gpm0-4";
902 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
903 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
906 lvds_nshdn: lvds-nshdn-pins {
907 samsung,pins = "gpm0-5";
908 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
909 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
912 tsp_irq: tsp-irq-pins {
913 samsung,pins = "gpm2-3";
914 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
915 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
918 wifi_reset: wifi-reset-pins {
919 samsung,pins = "gpm3-5";
920 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
921 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
924 tsp_reg_gpio_1: tsp-reg-gpio-1-pins {
925 samsung,pins = "gpm4-5";
926 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
927 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
930 ak8975_irq: ak8975-irq-pins {
931 samsung,pins = "gpm4-7";
932 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
933 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
936 accelerometer_irq: accelerometer-irq-pins {
937 samsung,pins = "gpx0-0";
938 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
939 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
942 stmpe_adc_irq: stmpe-adc-irq-pins {
943 samsung,pins = "gpx0-1";
944 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
945 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
948 gyro_irq: gyro-irq-pins {
949 samsung,pins = "gpx0-6";
950 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
951 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
954 max77686_irq: max77686-irq-pins {
955 samsung,pins = "gpx0-7";
956 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
959 gpio_keys: gpio-keys-pins {
960 samsung,pins = "gpx2-2", "gpx2-7", "gpx3-3";
961 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
964 fuel_alert_irq: fuel-alert-irq-pins {
965 samsung,pins = "gpx2-3";
966 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
967 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
970 wifi_host_wake: wifi-host-wake-pins {
971 samsung,pins = "gpx2-5";
972 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
973 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
976 bt_host_wakeup: bt-host-wakeup-pins {
977 samsung,pins = "gpx2-6";
978 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
979 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
982 bt_device_wakeup: bt-device-wakeup-pins {
983 samsung,pins = "gpx3-1";
984 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
985 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
988 sdhci2_cd: sdhci2-cd-pins {
989 samsung,pins = "gpx3-4";
990 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
993 sleep1: sleep-state {
994 PIN_SLP(gpk0-0, PREV, NONE);
995 PIN_SLP(gpk0-1, PREV, NONE);
996 PIN_SLP(gpk0-2, PREV, NONE);
997 PIN_SLP(gpk0-3, PREV, NONE);
998 PIN_SLP(gpk0-4, PREV, NONE);
999 PIN_SLP(gpk0-5, PREV, NONE);
1000 PIN_SLP(gpk0-6, PREV, NONE);
1002 PIN_SLP(gpk1-0, INPUT, DOWN);
1003 PIN_SLP(gpk1-1, INPUT, DOWN);
1004 PIN_SLP(gpk1-2, INPUT, DOWN);
1005 PIN_SLP(gpk1-3, PREV, NONE);
1006 PIN_SLP(gpk1-4, PREV, NONE);
1007 PIN_SLP(gpk1-5, PREV, NONE);
1008 PIN_SLP(gpk1-6, PREV, NONE);
1010 PIN_SLP(gpk2-0, INPUT, DOWN);
1011 PIN_SLP(gpk2-1, INPUT, DOWN);
1012 PIN_SLP(gpk2-2, INPUT, DOWN);
1013 PIN_SLP(gpk2-3, INPUT, DOWN);
1014 PIN_SLP(gpk2-4, INPUT, DOWN);
1015 PIN_SLP(gpk2-5, INPUT, DOWN);
1016 PIN_SLP(gpk2-6, INPUT, DOWN);
1018 PIN_SLP(gpk3-0, OUT0, NONE);
1019 PIN_SLP(gpk3-1, INPUT, NONE);
1020 PIN_SLP(gpk3-2, INPUT, DOWN);
1021 PIN_SLP(gpk3-3, INPUT, NONE);
1022 PIN_SLP(gpk3-4, INPUT, NONE);
1023 PIN_SLP(gpk3-5, INPUT, NONE);
1024 PIN_SLP(gpk3-6, INPUT, NONE);
1026 PIN_SLP(gpl0-0, OUT0, NONE);
1027 PIN_SLP(gpl0-1, INPUT, NONE);
1028 PIN_SLP(gpl0-2, INPUT, NONE);
1029 PIN_SLP(gpl0-3, INPUT, DOWN);
1030 PIN_SLP(gpl0-4, PREV, NONE);
1031 PIN_SLP(gpl0-6, PREV, NONE);
1033 PIN_SLP(gpl1-0, OUT0, NONE);
1034 PIN_SLP(gpl1-1, OUT0, NONE);
1036 PIN_SLP(gpl2-0, INPUT, DOWN);
1037 PIN_SLP(gpl2-1, INPUT, DOWN);
1038 PIN_SLP(gpl2-2, INPUT, DOWN);
1039 PIN_SLP(gpl2-3, INPUT, DOWN);
1040 PIN_SLP(gpl2-4, OUT0, NONE);
1041 PIN_SLP(gpl2-5, INPUT, DOWN);
1042 PIN_SLP(gpl2-6, PREV, NONE);
1043 PIN_SLP(gpl2-7, PREV, NONE);
1045 PIN_SLP(gpm0-0, PREV, NONE);
1046 PIN_SLP(gpm0-1, OUT0, NONE);
1047 PIN_SLP(gpm0-2, INPUT, DOWN);
1048 PIN_SLP(gpm0-3, INPUT, NONE);
1049 PIN_SLP(gpm0-4, OUT0, NONE);
1050 PIN_SLP(gpm0-5, OUT0, NONE);
1051 PIN_SLP(gpm0-6, INPUT, DOWN);
1052 PIN_SLP(gpm0-7, OUT0, NONE);
1054 PIN_SLP(gpm1-0, INPUT, NONE);
1055 PIN_SLP(gpm1-1, INPUT, NONE);
1056 PIN_SLP(gpm1-2, INPUT, NONE);
1057 PIN_SLP(gpm1-3, INPUT, NONE);
1058 PIN_SLP(gpm1-4, INPUT, NONE);
1059 PIN_SLP(gpm1-5, INPUT, NONE);
1060 PIN_SLP(gpm1-6, INPUT, DOWN);
1062 PIN_SLP(gpm2-0, INPUT, NONE);
1063 PIN_SLP(gpm2-1, INPUT, NONE);
1064 PIN_SLP(gpm2-2, OUT0, NONE);
1065 PIN_SLP(gpm2-3, OUT0, DOWN);
1066 PIN_SLP(gpm2-4, INPUT, DOWN);
1068 PIN_SLP(gpm3-0, PREV, NONE);
1069 PIN_SLP(gpm3-1, PREV, NONE);
1070 PIN_SLP(gpm3-2, PREV, NONE);
1071 PIN_SLP(gpm3-3, OUT1, NONE);
1072 PIN_SLP(gpm3-4, OUT0, DOWN);
1073 PIN_SLP(gpm3-5, PREV, NONE);
1074 PIN_SLP(gpm3-6, PREV, NONE);
1075 PIN_SLP(gpm3-7, OUT0, NONE);
1077 PIN_SLP(gpm4-0, INPUT, NONE);
1078 PIN_SLP(gpm4-1, INPUT, NONE);
1079 PIN_SLP(gpm4-2, INPUT, DOWN);
1080 PIN_SLP(gpm4-3, INPUT, DOWN);
1081 PIN_SLP(gpm4-4, PREV, NONE);
1082 PIN_SLP(gpm4-5, OUT0, NONE);
1083 PIN_SLP(gpm4-6, OUT0, NONE);
1084 PIN_SLP(gpm4-7, INPUT, DOWN);
1086 PIN_SLP(gpy0-0, INPUT, DOWN);
1087 PIN_SLP(gpy0-1, INPUT, DOWN);
1088 PIN_SLP(gpy0-2, INPUT, NONE);
1089 PIN_SLP(gpy0-3, INPUT, NONE);
1090 PIN_SLP(gpy0-4, INPUT, NONE);
1091 PIN_SLP(gpy0-5, INPUT, NONE);
1093 PIN_SLP(gpy1-0, INPUT, DOWN);
1094 PIN_SLP(gpy1-1, INPUT, DOWN);
1095 PIN_SLP(gpy1-2, INPUT, DOWN);
1096 PIN_SLP(gpy1-3, INPUT, DOWN);
1098 PIN_SLP(gpy2-0, PREV, NONE);
1099 PIN_SLP(gpy2-1, INPUT, DOWN);
1100 PIN_SLP(gpy2-2, INPUT, NONE);
1101 PIN_SLP(gpy2-3, INPUT, NONE);
1102 PIN_SLP(gpy2-4, INPUT, NONE);
1103 PIN_SLP(gpy2-5, INPUT, NONE);
1105 PIN_SLP(gpy3-0, INPUT, DOWN);
1106 PIN_SLP(gpy3-1, INPUT, DOWN);
1107 PIN_SLP(gpy3-2, INPUT, DOWN);
1108 PIN_SLP(gpy3-3, INPUT, DOWN);
1109 PIN_SLP(gpy3-4, INPUT, DOWN);
1110 PIN_SLP(gpy3-5, INPUT, DOWN);
1111 PIN_SLP(gpy3-6, INPUT, DOWN);
1112 PIN_SLP(gpy3-7, INPUT, DOWN);
1114 PIN_SLP(gpy4-0, INPUT, DOWN);
1115 PIN_SLP(gpy4-1, INPUT, DOWN);
1116 PIN_SLP(gpy4-2, INPUT, DOWN);
1117 PIN_SLP(gpy4-3, INPUT, DOWN);
1118 PIN_SLP(gpy4-4, INPUT, DOWN);
1119 PIN_SLP(gpy4-5, INPUT, DOWN);
1120 PIN_SLP(gpy4-6, INPUT, DOWN);
1121 PIN_SLP(gpy4-7, INPUT, DOWN);
1123 PIN_SLP(gpy5-0, INPUT, DOWN);
1124 PIN_SLP(gpy5-1, INPUT, DOWN);
1125 PIN_SLP(gpy5-2, INPUT, DOWN);
1126 PIN_SLP(gpy5-3, INPUT, DOWN);
1127 PIN_SLP(gpy5-4, INPUT, DOWN);
1128 PIN_SLP(gpy5-5, INPUT, DOWN);
1129 PIN_SLP(gpy5-6, INPUT, DOWN);
1130 PIN_SLP(gpy5-7, INPUT, DOWN);
1132 PIN_SLP(gpy6-0, INPUT, DOWN);
1133 PIN_SLP(gpy6-1, INPUT, DOWN);
1134 PIN_SLP(gpy6-2, INPUT, DOWN);
1135 PIN_SLP(gpy6-3, INPUT, DOWN);
1136 PIN_SLP(gpy6-4, INPUT, DOWN);
1137 PIN_SLP(gpy6-5, INPUT, DOWN);
1138 PIN_SLP(gpy6-6, INPUT, DOWN);
1139 PIN_SLP(gpy6-7, INPUT, DOWN);
1144 pinctrl-names = "default";
1145 pinctrl-0 = <&sleep2>;
1147 sleep2: sleep-state {
1148 PIN_SLP(gpz-0, INPUT, DOWN);
1149 PIN_SLP(gpz-1, INPUT, DOWN);
1150 PIN_SLP(gpz-2, INPUT, DOWN);
1151 PIN_SLP(gpz-3, INPUT, DOWN);
1152 PIN_SLP(gpz-4, INPUT, DOWN);
1153 PIN_SLP(gpz-5, INPUT, DOWN);
1154 PIN_SLP(gpz-6, INPUT, DOWN);
1159 pinctrl-names = "default";
1160 pinctrl-0 = <&sleep3>;
1162 sleep3: sleep-state {
1163 PIN_SLP(gpv0-0, INPUT, DOWN);
1164 PIN_SLP(gpv0-1, INPUT, DOWN);
1165 PIN_SLP(gpv0-2, INPUT, DOWN);
1166 PIN_SLP(gpv0-3, INPUT, DOWN);
1167 PIN_SLP(gpv0-4, INPUT, DOWN);
1168 PIN_SLP(gpv0-5, INPUT, DOWN);
1169 PIN_SLP(gpv0-6, INPUT, DOWN);
1170 PIN_SLP(gpv0-7, INPUT, DOWN);
1172 PIN_SLP(gpv1-0, INPUT, DOWN);
1173 PIN_SLP(gpv1-1, INPUT, DOWN);
1174 PIN_SLP(gpv1-2, INPUT, DOWN);
1175 PIN_SLP(gpv1-3, INPUT, DOWN);
1176 PIN_SLP(gpv1-4, INPUT, DOWN);
1177 PIN_SLP(gpv1-5, INPUT, DOWN);
1178 PIN_SLP(gpv1-6, INPUT, DOWN);
1179 PIN_SLP(gpv1-7, INPUT, DOWN);
1181 PIN_SLP(gpv2-0, INPUT, DOWN);
1182 PIN_SLP(gpv2-1, INPUT, DOWN);
1183 PIN_SLP(gpv2-2, INPUT, DOWN);
1184 PIN_SLP(gpv2-3, INPUT, DOWN);
1185 PIN_SLP(gpv2-4, INPUT, DOWN);
1186 PIN_SLP(gpv2-5, INPUT, DOWN);
1187 PIN_SLP(gpv2-6, INPUT, DOWN);
1188 PIN_SLP(gpv2-7, INPUT, DOWN);
1190 PIN_SLP(gpv3-0, INPUT, DOWN);
1191 PIN_SLP(gpv3-1, INPUT, DOWN);
1192 PIN_SLP(gpv3-2, INPUT, DOWN);
1193 PIN_SLP(gpv3-3, INPUT, DOWN);
1194 PIN_SLP(gpv3-4, INPUT, DOWN);
1195 PIN_SLP(gpv3-5, INPUT, DOWN);
1196 PIN_SLP(gpv3-6, INPUT, DOWN);
1197 PIN_SLP(gpv3-7, INPUT, DOWN);
1199 PIN_SLP(gpv4-0, INPUT, DOWN);
1200 PIN_SLP(gpv4-1, INPUT, DOWN);
1205 assigned-clocks = <&pmu_system_controller 0>;
1206 assigned-clock-parents = <&clock CLK_XUSBXTI>;
1210 pinctrl-0 = <&pwm1_out>;
1211 pinctrl-names = "default";
1212 samsung,pwm-outputs = <1>;
1218 clock-names = "rtc", "rtc_src";
1223 bus-width = <4>;
1224 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1225 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1226 pinctrl-names = "default";
1227 vmmc-supply = <&ldo21_reg>;
1232 #address-cells = <1>;
1233 #size-cells = <0>;
1234 non-removable;
1235 bus-width = <4>;
1236 mmc-pwrseq = <&wlan_pwrseq>;
1238 pinctrl-names = "default";
1239 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_wifi>;
1243 compatible = "brcm,bcm4329-fmac";
1245 pinctrl-names = "default";
1246 pinctrl-0 = <&wifi_host_wake>;
1247 interrupt-parent = <&gpx2>;
1249 interrupt-names = "host-wake";
1254 pinctrl-0 = <&uart0_data &uart0_fctl>;
1255 pinctrl-names = "default";
1259 compatible = "brcm,bcm4330-bt";
1260 pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
1261 pinctrl-names = "default";
1263 max-speed = <2000000>;
1264 shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>;
1265 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
1266 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
1268 clock-names = "lpo";
1273 pinctrl-0 = <&uart_sel>;
1274 pinctrl-names = "default";