Lines Matching +full:feedback +full:- +full:pin

1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
19 #include <dt-bindings/clock/maxim,max77686.h>
20 #include "exynos-pinctrl.h"
34 stdout-path = &serial_2;
38 compatible = "samsung,secure-firmware";
42 fixed-rate-clocks {
44 compatible = "samsung,clock-xxti";
45 clock-frequency = <0>;
49 compatible = "samsung,clock-xusbxti";
50 clock-frequency = <24000000>;
54 cam_io_reg: voltage-regulator-1 {
55 compatible = "regulator-fixed";
56 regulator-name = "CAM_SENSOR_A";
57 regulator-min-microvolt = <2800000>;
58 regulator-max-microvolt = <2800000>;
59 enable-active-high;
63 cam_af_reg: voltage-regulator-2 {
64 compatible = "regulator-fixed";
65 regulator-name = "CAM_AF";
66 regulator-min-microvolt = <2800000>;
67 regulator-max-microvolt = <2800000>;
68 enable-active-high;
72 vsil12: voltage-regulator-3 {
73 compatible = "regulator-fixed";
74 regulator-name = "VSIL_1.2V";
75 regulator-min-microvolt = <1200000>;
76 regulator-max-microvolt = <1200000>;
78 enable-active-high;
79 vin-supply = <&buck7_reg>;
82 vcc33mhl: voltage-regulator-4 {
83 compatible = "regulator-fixed";
84 regulator-name = "VCC_3.3_MHL";
85 regulator-min-microvolt = <3300000>;
86 regulator-max-microvolt = <3300000>;
88 enable-active-high;
91 vcc18mhl: voltage-regulator-5 {
92 compatible = "regulator-fixed";
93 regulator-name = "VCC_1.8_MHL";
94 regulator-min-microvolt = <1800000>;
95 regulator-max-microvolt = <1800000>;
97 enable-active-high;
100 touchkey_reg: voltage-regulator-6 {
101 compatible = "regulator-fixed";
102 regulator-name = "LED_VDD_3.3V";
103 regulator-min-microvolt = <3300000>;
104 regulator-max-microvolt = <3300000>;
105 enable-active-high;
109 vbatt_reg: voltage-regulator-7 {
110 compatible = "regulator-fixed";
111 regulator-name = "VBATT";
112 regulator-min-microvolt = <5000000>;
113 regulator-max-microvolt = <5000000>;
114 regulator-always-on;
117 mic_bias_reg: voltage-regulator-8 {
118 compatible = "regulator-fixed";
119 regulator-name = "MICBIAS_LDO_2.8V";
120 regulator-min-microvolt = <2800000>;
121 regulator-max-microvolt = <2800000>;
123 enable-active-high;
126 submic_bias_reg: voltage-regulator-9 {
127 compatible = "regulator-fixed";
128 regulator-name = "SUB_MICBIAS_LDO_2.8V";
129 regulator-min-microvolt = <2800000>;
130 regulator-max-microvolt = <2800000>;
133 gpio-keys {
134 compatible = "gpio-keys";
135 pinctrl-names = "default";
136 pinctrl-0 = <&gpio_keys>;
138 key-down {
142 debounce-interval = <10>;
145 key-up {
149 debounce-interval = <10>;
152 key-power {
156 debounce-interval = <10>;
157 wakeup-source;
160 key-ok {
164 debounce-interval = <10>;
165 wakeup-source;
169 i2c_max77693: i2c-gpio-1 {
170 compatible = "i2c-gpio";
171 sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
172 scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
173 i2c-gpio,delay-us = <2>;
174 #address-cells = <1>;
175 #size-cells = <0>;
179 interrupt-parent = <&gpx1>;
181 pinctrl-names = "default";
182 pinctrl-0 = <&max77693_irq>;
186 compatible = "maxim,max77693-muic";
189 compatible = "samsung,usb-connector-11pin",
190 "usb-b-connector";
191 label = "micro-USB";
195 #address-cells = <1>;
196 #size-cells = <0>;
202 remote-endpoint = <&usb_to_muic>;
210 remote-endpoint = <&mhl_to_muic>;
219 regulator-name = "ESAFEOUT1";
222 regulator-name = "ESAFEOUT2";
225 regulator-name = "CHARGER";
226 regulator-min-microamp = <60000>;
227 regulator-max-microamp = <2580000>;
231 motor-driver {
232 compatible = "maxim,max77693-haptic";
233 haptic-supply = <&ldo26_reg>;
238 compatible = "maxim,max77693-charger";
240 maxim,constant-microvolt = <4350000>;
241 maxim,min-system-microvolt = <3600000>;
242 maxim,thermal-regulation-celsius = <100>;
243 maxim,battery-overcurrent-microamp = <3500000>;
244 maxim,charge-input-threshold-microvolt = <4300000>;
249 i2c_max77693_fuel: i2c-gpio-3 {
250 compatible = "i2c-gpio";
251 sda-gpios = <&gpf1 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
252 scl-gpios = <&gpf1 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
253 i2c-gpio,delay-us = <2>;
254 #address-cells = <1>;
255 #size-cells = <0>;
257 fuel-gauge@36 {
259 interrupt-parent = <&gpx2>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&max77693_fuel_irq>;
265 maxim,over-heat-temp = <700>;
266 maxim,over-volt = <4500>;
270 i2c-gpio-4 {
271 compatible = "i2c-gpio";
272 sda-gpios = <&gpl0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
273 scl-gpios = <&gpl0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
274 i2c-gpio,delay-us = <2>;
275 #address-cells = <1>;
276 #size-cells = <0>;
279 compatible = "cypress,midas-touchkey";
281 vdd-supply = <&touchkey_reg>;
282 vcc-supply = <&ldo5_reg>;
283 interrupt-parent = <&gpj0>;
289 i2c-mhl {
290 compatible = "i2c-gpio";
291 sda-gpios = <&gpf0 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
292 scl-gpios = <&gpf0 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
293 i2c-gpio,delay-us = <100>;
294 #address-cells = <1>;
295 #size-cells = <0>;
297 pinctrl-0 = <&i2c_mhl_bus>;
298 pinctrl-names = "default";
300 sii9234: hdmi-bridge@39 {
302 avcc33-supply = <&vcc33mhl>;
303 iovcc18-supply = <&vcc18mhl>;
304 avcc12-supply = <&vsil12>;
305 cvcc12-supply = <&vsil12>;
306 reset-gpios = <&gpf3 4 GPIO_ACTIVE_LOW>;
307 interrupt-parent = <&gpf3>;
312 #address-cells = <1>;
313 #size-cells = <0>;
319 remote-endpoint = <&hdmi_to_mhl>;
327 remote-endpoint = <&muic_to_mhl>;
334 wlan_pwrseq: sdhci3-pwrseq {
335 compatible = "mmc-pwrseq-simple";
336 reset-gpios = <&gpj0 0 GPIO_ACTIVE_LOW>;
338 clock-names = "ext_clock";
342 compatible = "samsung,midas-audio";
344 mic-bias-supply = <&mic_bias_reg>;
345 submic-bias-supply = <&submic_bias_reg>;
348 sound-dai = <&i2s0 0>;
351 sound-dai = <&wm1811>;
355 thermistor-ap {
357 pullup-uv = <1800000>; /* VCC_1.8V_AP */
358 pullup-ohm = <100000>; /* 100K */
359 pulldown-ohm = <100000>; /* 100K */
360 io-channels = <&adc 1>; /* AP temperature */
363 thermistor-battery {
365 pullup-uv = <1800000>; /* VCC_1.8V_AP */
366 pullup-ohm = <100000>; /* 100K */
367 pulldown-ohm = <100000>; /* 100K */
368 io-channels = <&adc 2>; /* Battery temperature */
373 vdd-supply = <&ldo3_reg>;
378 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
379 vdd-supply = <&buck1_reg>;
394 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
395 vdd-supply = <&buck3_reg>;
425 pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
426 pinctrl-names = "default";
428 assigned-clocks = <&clock CLK_MOUT_CAM0>,
430 assigned-clock-parents = <&clock CLK_XUSBXTI>,
435 cpu0-supply = <&buck2_reg>;
439 cooling-maps {
442 cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
447 cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
455 vddcore-supply = <&ldo8_reg>;
456 vddio-supply = <&ldo10_reg>;
457 assigned-clocks = <&clock CLK_MOUT_CSIS0>,
459 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
460 assigned-clock-rates = <0>, <176000000>;
462 /* Camera C (3) MIPI CSI-2 (CSIS0) */
466 remote-endpoint = <&s5c73m3_ep>;
467 data-lanes = <1 2 3 4>;
468 samsung,csis-hs-settle = <12>;
475 vddcore-supply = <&ldo8_reg>;
476 vddio-supply = <&ldo10_reg>;
477 assigned-clocks = <&clock CLK_MOUT_CSIS1>,
479 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
480 assigned-clock-rates = <0>, <176000000>;
482 /* Camera D (4) MIPI CSI-2 (CSIS1) */
486 remote-endpoint = <&is_s5k6a3_ep>;
487 data-lanes = <1>;
488 samsung,csis-hs-settle = <18>;
489 samsung,csis-wclk;
495 vddcore-supply = <&ldo8_reg>;
496 vddio-supply = <&ldo10_reg>;
497 samsung,burst-clock-frequency = <500000000>;
498 samsung,esc-clock-frequency = <20000000>;
499 samsung,pll-clock-frequency = <24000000>;
503 vbus-supply = <&esafeout1_reg>;
509 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
511 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
512 assigned-clock-rates = <0>, <176000000>;
517 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
519 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
520 assigned-clock-rates = <0>, <176000000>;
525 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
527 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
528 assigned-clock-rates = <0>, <176000000>;
533 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
535 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
536 assigned-clock-rates = <0>, <176000000>;
540 pinctrl-0 = <&fimc_is_uart>;
541 pinctrl-names = "default";
558 mali-supply = <&buck4_reg>;
563 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
564 pinctrl-names = "default";
565 pinctrl-0 = <&hdmi_hpd>;
566 vdd-supply = <&ldo3_reg>;
567 vdd_osc-supply = <&ldo4_reg>;
568 vdd_pll-supply = <&ldo3_reg>;
573 #address-cells = <1>;
574 #size-cells = <0>;
579 remote-endpoint = <&mhl_to_hdmi>;
586 vusb_d-supply = <&ldo15_reg>;
587 vusb_a-supply = <&ldo12_reg>;
589 role-switch-default-mode = "peripheral";
590 usb-role-switch;
595 remote-endpoint = <&muic_to_usb>;
601 samsung,i2c-sda-delay = <100>;
602 samsung,i2c-slave-addr = <0x10>;
603 samsung,i2c-max-bus-freq = <400000>;
604 pinctrl-0 = <&i2c0_bus>;
605 pinctrl-names = "default";
608 s5c73m3: image-sensor@3c {
611 xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */
612 vdd-int-supply = <&buck9_reg>;
613 vddio-cis-supply = <&ldo9_reg>;
614 vddio-host-supply = <&ldo18_reg>;
615 vdd-af-supply = <&cam_af_reg>;
616 vdd-reg-supply = <&cam_io_reg>;
617 clock-frequency = <24000000>;
620 clock-names = "cis_extclk";
624 remote-endpoint = <&csis0_ep>;
625 data-lanes = <1 2 3 4>;
632 pinctrl-0 = <&fimc_is_i2c1>;
633 pinctrl-names = "default";
635 image-sensor@10 {
638 svdda-supply = <&cam_io_reg>;
639 svddio-supply = <&ldo19_reg>;
640 afvdd-supply = <&ldo19_reg>;
641 clock-frequency = <24000000>;
644 clock-names = "extclk";
649 remote-endpoint = <&csis1_ep>;
650 data-lanes = <1>;
657 samsung,i2c-sda-delay = <100>;
658 samsung,i2c-slave-addr = <0x10>;
659 samsung,i2c-max-bus-freq = <400000>;
660 pinctrl-0 = <&i2c3_bus>;
661 pinctrl-names = "default";
666 samsung,i2c-sda-delay = <100>;
667 samsung,i2c-slave-addr = <0x10>;
668 samsung,i2c-max-bus-freq = <100000>;
669 pinctrl-0 = <&i2c4_bus>;
670 pinctrl-names = "default";
673 wm1811: audio-codec@1a {
678 clock-names = "MCLK1", "MCLK2";
679 interrupt-controller;
680 #interrupt-cells = <2>;
681 interrupt-parent = <&gpx3>;
684 gpio-controller;
685 #gpio-cells = <2>;
686 #sound-dai-cells = <0>;
688 wlf,gpio-cfg = <0x3 0x0 0x0 0x0 0x0 0x0
690 wlf,micbias-cfg = <0x2f 0x2b>;
692 wlf,lineout1-feedback;
693 wlf,lineout1-se;
694 wlf,lineout2-se;
695 wlf,ldoena-always-driven;
697 AVDD2-supply = <&vbatt_reg>;
698 DBVDD1-supply = <&ldo3_reg>;
699 DBVDD2-supply = <&vbatt_reg>;
700 DBVDD3-supply = <&vbatt_reg>;
701 DCVDD-supply = <&ldo3_reg>;
702 CPVDD-supply = <&vbatt_reg>;
703 SPKVDD1-supply = <&vbatt_reg>;
704 SPKVDD2-supply = <&vbatt_reg>;
705 wlf,ldo1ena-gpios = <&gpj0 4 GPIO_ACTIVE_HIGH>;
706 wlf,ldo2ena-gpios = <&gpj0 4 GPIO_ACTIVE_HIGH>;
715 samsung,i2c-sda-delay = <100>;
716 samsung,i2c-slave-addr = <0x10>;
717 samsung,i2c-max-bus-freq = <100000>;
718 pinctrl-0 = <&i2c7_bus>;
719 pinctrl-names = "default";
724 interrupt-parent = <&gpx0>;
726 pinctrl-0 = <&max77686_irq>;
727 pinctrl-names = "default";
728 wakeup-source;
730 #clock-cells = <1>;
732 voltage-regulators {
734 regulator-name = "VALIVE_1.0V_AP";
735 regulator-min-microvolt = <1000000>;
736 regulator-max-microvolt = <1000000>;
737 regulator-always-on;
741 regulator-name = "VM1M2_1.2V_AP";
742 regulator-min-microvolt = <1200000>;
743 regulator-max-microvolt = <1200000>;
744 regulator-always-on;
745 regulator-state-mem {
746 regulator-on-in-suspend;
751 regulator-name = "VCC_1.8V_AP";
752 regulator-min-microvolt = <1800000>;
753 regulator-max-microvolt = <1800000>;
754 regulator-always-on;
758 regulator-name = "VCC_2.8V_AP";
759 regulator-min-microvolt = <2800000>;
760 regulator-max-microvolt = <2800000>;
761 regulator-always-on;
765 regulator-name = "VCC_1.8V_IO";
766 regulator-min-microvolt = <1800000>;
767 regulator-max-microvolt = <1800000>;
768 regulator-always-on;
772 regulator-name = "VMPLL_1.0V_AP";
773 regulator-min-microvolt = <1000000>;
774 regulator-max-microvolt = <1000000>;
775 regulator-always-on;
776 regulator-state-mem {
777 regulator-on-in-suspend;
782 regulator-name = "VPLL_1.0V_AP";
783 regulator-min-microvolt = <1000000>;
784 regulator-max-microvolt = <1000000>;
785 regulator-always-on;
786 regulator-state-mem {
787 regulator-on-in-suspend;
792 regulator-name = "VMIPI_1.0V";
793 regulator-min-microvolt = <1000000>;
794 regulator-max-microvolt = <1000000>;
795 regulator-state-mem {
796 regulator-off-in-suspend;
801 regulator-name = "CAM_ISP_MIPI_1.2V";
802 regulator-min-microvolt = <1200000>;
803 regulator-max-microvolt = <1200000>;
807 regulator-name = "VMIPI_1.8V";
808 regulator-min-microvolt = <1800000>;
809 regulator-max-microvolt = <1800000>;
810 regulator-state-mem {
811 regulator-off-in-suspend;
816 regulator-name = "VABB1_1.95V";
817 regulator-min-microvolt = <1950000>;
818 regulator-max-microvolt = <1950000>;
819 regulator-always-on;
820 regulator-state-mem {
821 regulator-off-in-suspend;
826 regulator-name = "VUOTG_3.0V";
827 regulator-min-microvolt = <3000000>;
828 regulator-max-microvolt = <3000000>;
829 regulator-state-mem {
830 regulator-off-in-suspend;
835 regulator-name = "NFC_AVDD_1.8V";
836 regulator-min-microvolt = <1800000>;
837 regulator-max-microvolt = <1800000>;
841 regulator-name = "VABB2_1.95V";
842 regulator-min-microvolt = <1950000>;
843 regulator-max-microvolt = <1950000>;
844 regulator-always-on;
845 regulator-state-mem {
846 regulator-off-in-suspend;
851 regulator-name = "VHSIC_1.0V";
852 regulator-min-microvolt = <1000000>;
853 regulator-max-microvolt = <1000000>;
854 regulator-state-mem {
855 regulator-on-in-suspend;
860 regulator-name = "VHSIC_1.8V";
861 regulator-min-microvolt = <1800000>;
862 regulator-max-microvolt = <1800000>;
863 regulator-state-mem {
864 regulator-on-in-suspend;
869 regulator-name = "CAM_SENSOR_CORE_1.2V";
870 regulator-min-microvolt = <1200000>;
871 regulator-max-microvolt = <1200000>;
875 regulator-name = "CAM_ISP_SEN_IO_1.8V";
876 regulator-min-microvolt = <1800000>;
877 regulator-max-microvolt = <1800000>;
881 regulator-name = "VT_CAM_1.8V";
882 regulator-min-microvolt = <1800000>;
883 regulator-max-microvolt = <1800000>;
887 regulator-name = "VDDQ_PRE_1.8V";
888 regulator-min-microvolt = <1800000>;
889 regulator-max-microvolt = <1800000>;
893 regulator-name = "VTF_2.8V";
894 regulator-min-microvolt = <2800000>;
895 regulator-max-microvolt = <2800000>;
896 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
900 regulator-name = "VMEM_VDD_2.8V";
901 regulator-min-microvolt = <2800000>;
902 regulator-max-microvolt = <2800000>;
903 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
907 regulator-name = "TSP_AVDD_3.3V";
908 regulator-min-microvolt = <3300000>;
909 regulator-max-microvolt = <3300000>;
913 regulator-name = "TSP_VDD_1.8V";
914 regulator-min-microvolt = <1800000>;
915 regulator-max-microvolt = <1800000>;
919 regulator-name = "LDO25";
923 regulator-name = "MOTOR_VCC_3.0V";
924 regulator-min-microvolt = <3000000>;
925 regulator-max-microvolt = <3000000>;
929 regulator-name = "VDD_MIF";
930 regulator-min-microvolt = <850000>;
931 regulator-max-microvolt = <1100000>;
932 regulator-always-on;
933 regulator-boot-on;
934 regulator-state-mem {
935 regulator-off-in-suspend;
940 regulator-name = "VDD_ARM";
941 regulator-min-microvolt = <850000>;
942 regulator-max-microvolt = <1500000>;
943 regulator-always-on;
944 regulator-boot-on;
945 regulator-state-mem {
946 regulator-on-in-suspend;
951 regulator-name = "VDD_INT";
952 regulator-min-microvolt = <850000>;
953 regulator-max-microvolt = <1150000>;
954 regulator-always-on;
955 regulator-boot-on;
956 regulator-state-mem {
957 regulator-off-in-suspend;
962 regulator-name = "VDD_G3D";
963 regulator-min-microvolt = <850000>;
964 regulator-max-microvolt = <1150000>;
965 regulator-boot-on;
966 regulator-state-mem {
967 regulator-off-in-suspend;
972 regulator-name = "VMEM_1.2V_AP";
973 regulator-min-microvolt = <1200000>;
974 regulator-max-microvolt = <1200000>;
975 regulator-always-on;
979 regulator-name = "VCC_SUB_1.35V";
980 regulator-min-microvolt = <1350000>;
981 regulator-max-microvolt = <1350000>;
982 regulator-always-on;
986 regulator-name = "VCC_SUB_2.0V";
987 regulator-min-microvolt = <2000000>;
988 regulator-max-microvolt = <2000000>;
989 regulator-always-on;
993 regulator-name = "VMEM_VDDF_3.0V";
994 regulator-min-microvolt = <2850000>;
995 regulator-max-microvolt = <2850000>;
996 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
1000 regulator-name = "CAM_ISP_CORE_1.2V";
1001 regulator-min-microvolt = <1000000>;
1002 regulator-max-microvolt = <1200000>;
1013 pinctrl-0 = <&i2s0_bus>;
1014 pinctrl-names = "default";
1023 broken-cd;
1024 non-removable;
1025 card-detect-delay = <200>;
1026 vmmc-supply = <&ldo22_reg>;
1027 clock-frequency = <400000000>;
1028 samsung,dw-mshc-ciu-div = <0>;
1029 samsung,dw-mshc-sdr-timing = <2 3>;
1030 samsung,dw-mshc-ddr-timing = <1 2>;
1031 mmc-ddr-1_8v;
1032 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
1033 pinctrl-names = "default";
1035 bus-width = <8>;
1036 cap-mmc-highspeed;
1040 assigned-clocks = <&pmu_system_controller 0>;
1041 assigned-clock-parents = <&clock CLK_XUSBXTI>;
1045 pinctrl-names = "default";
1046 pinctrl-0 = <&sleep0>;
1048 mhl_int: mhl-int-pins {
1049 samsung,pins = "gpf3-5";
1050 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1053 i2c_mhl_bus: i2c-mhl-bus-pins {
1054 samsung,pins = "gpf0-4", "gpf0-6";
1055 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
1056 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
1057 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
1060 sleep0: sleep-state {
1061 PIN_SLP(gpa0-0, INPUT, NONE);
1062 PIN_SLP(gpa0-1, OUT0, NONE);
1063 PIN_SLP(gpa0-2, INPUT, NONE);
1064 PIN_SLP(gpa0-3, INPUT, UP);
1065 PIN_SLP(gpa0-4, INPUT, NONE);
1066 PIN_SLP(gpa0-5, INPUT, DOWN);
1067 PIN_SLP(gpa0-6, INPUT, DOWN);
1068 PIN_SLP(gpa0-7, INPUT, UP);
1070 PIN_SLP(gpa1-0, INPUT, DOWN);
1071 PIN_SLP(gpa1-1, INPUT, DOWN);
1072 PIN_SLP(gpa1-2, INPUT, DOWN);
1073 PIN_SLP(gpa1-3, INPUT, DOWN);
1074 PIN_SLP(gpa1-4, INPUT, DOWN);
1075 PIN_SLP(gpa1-5, INPUT, DOWN);
1077 PIN_SLP(gpb-0, INPUT, NONE);
1078 PIN_SLP(gpb-1, INPUT, NONE);
1079 PIN_SLP(gpb-2, INPUT, NONE);
1080 PIN_SLP(gpb-3, INPUT, NONE);
1081 PIN_SLP(gpb-4, INPUT, DOWN);
1082 PIN_SLP(gpb-5, INPUT, UP);
1083 PIN_SLP(gpb-6, INPUT, DOWN);
1084 PIN_SLP(gpb-7, INPUT, DOWN);
1086 PIN_SLP(gpc0-0, INPUT, DOWN);
1087 PIN_SLP(gpc0-1, INPUT, DOWN);
1088 PIN_SLP(gpc0-2, INPUT, DOWN);
1089 PIN_SLP(gpc0-3, INPUT, DOWN);
1090 PIN_SLP(gpc0-4, INPUT, DOWN);
1092 PIN_SLP(gpc1-0, INPUT, NONE);
1093 PIN_SLP(gpc1-1, PREV, NONE);
1094 PIN_SLP(gpc1-2, INPUT, NONE);
1095 PIN_SLP(gpc1-3, INPUT, NONE);
1096 PIN_SLP(gpc1-4, INPUT, NONE);
1098 PIN_SLP(gpd0-0, INPUT, DOWN);
1099 PIN_SLP(gpd0-1, INPUT, DOWN);
1100 PIN_SLP(gpd0-2, INPUT, NONE);
1101 PIN_SLP(gpd0-3, INPUT, NONE);
1103 PIN_SLP(gpd1-0, INPUT, DOWN);
1104 PIN_SLP(gpd1-1, INPUT, DOWN);
1105 PIN_SLP(gpd1-2, INPUT, NONE);
1106 PIN_SLP(gpd1-3, INPUT, NONE);
1108 PIN_SLP(gpf0-0, INPUT, NONE);
1109 PIN_SLP(gpf0-1, INPUT, NONE);
1110 PIN_SLP(gpf0-2, INPUT, DOWN);
1111 PIN_SLP(gpf0-3, INPUT, DOWN);
1112 PIN_SLP(gpf0-4, INPUT, NONE);
1113 PIN_SLP(gpf0-5, INPUT, DOWN);
1114 PIN_SLP(gpf0-6, INPUT, NONE);
1115 PIN_SLP(gpf0-7, INPUT, DOWN);
1117 PIN_SLP(gpf1-0, INPUT, DOWN);
1118 PIN_SLP(gpf1-1, INPUT, DOWN);
1119 PIN_SLP(gpf1-2, INPUT, DOWN);
1120 PIN_SLP(gpf1-3, INPUT, DOWN);
1121 PIN_SLP(gpf1-4, INPUT, NONE);
1122 PIN_SLP(gpf1-5, INPUT, NONE);
1123 PIN_SLP(gpf1-6, INPUT, DOWN);
1124 PIN_SLP(gpf1-7, PREV, NONE);
1126 PIN_SLP(gpf2-0, PREV, NONE);
1127 PIN_SLP(gpf2-1, INPUT, DOWN);
1128 PIN_SLP(gpf2-2, INPUT, DOWN);
1129 PIN_SLP(gpf2-3, INPUT, DOWN);
1130 PIN_SLP(gpf2-4, INPUT, DOWN);
1131 PIN_SLP(gpf2-5, INPUT, DOWN);
1132 PIN_SLP(gpf2-6, INPUT, NONE);
1133 PIN_SLP(gpf2-7, INPUT, NONE);
1135 PIN_SLP(gpf3-0, INPUT, NONE);
1136 PIN_SLP(gpf3-1, PREV, NONE);
1137 PIN_SLP(gpf3-2, PREV, NONE);
1138 PIN_SLP(gpf3-3, PREV, NONE);
1139 PIN_SLP(gpf3-4, OUT1, NONE);
1140 PIN_SLP(gpf3-5, INPUT, DOWN);
1142 PIN_SLP(gpj0-0, PREV, NONE);
1143 PIN_SLP(gpj0-1, PREV, NONE);
1144 PIN_SLP(gpj0-2, PREV, NONE);
1145 PIN_SLP(gpj0-3, INPUT, DOWN);
1146 PIN_SLP(gpj0-4, PREV, NONE);
1147 PIN_SLP(gpj0-5, PREV, NONE);
1148 PIN_SLP(gpj0-6, INPUT, DOWN);
1149 PIN_SLP(gpj0-7, INPUT, DOWN);
1151 PIN_SLP(gpj1-0, INPUT, DOWN);
1152 PIN_SLP(gpj1-1, PREV, NONE);
1153 PIN_SLP(gpj1-2, PREV, NONE);
1154 PIN_SLP(gpj1-3, INPUT, DOWN);
1155 PIN_SLP(gpj1-4, INPUT, DOWN);
1160 pinctrl-names = "default";
1161 pinctrl-0 = <&sleep1>;
1163 gpio_keys: gpio-keys-pins {
1164 samsung,pins = "gpx0-1", "gpx2-2", "gpx2-7", "gpx3-3";
1165 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1168 bt_shutdown: bt-shutdown-pins {
1169 samsung,pins = "gpl0-6";
1170 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1173 bt_host_wakeup: bt-host-wakeup-pins {
1174 samsung,pins = "gpx2-6";
1175 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1178 bt_device_wakeup: bt-device-wakeup-pins {
1179 samsung,pins = "gpx3-1";
1180 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1183 max77686_irq: max77686-irq-pins {
1184 samsung,pins = "gpx0-7";
1185 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1188 max77693_irq: max77693-irq-pins {
1189 samsung,pins = "gpx1-5";
1190 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1193 max77693_fuel_irq: max77693-fuel-irq-pins {
1194 samsung,pins = "gpx2-3";
1195 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1198 sdhci2_cd: sdhci2-cd-irq-pins {
1199 samsung,pins = "gpx3-4";
1200 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1203 hdmi_hpd: hdmi-hpd-pins {
1204 samsung,pins = "gpx3-7";
1205 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
1208 sleep1: sleep-state {
1209 PIN_SLP(gpk0-0, PREV, NONE);
1210 PIN_SLP(gpk0-1, PREV, NONE);
1211 PIN_SLP(gpk0-2, OUT0, NONE);
1212 PIN_SLP(gpk0-3, PREV, NONE);
1213 PIN_SLP(gpk0-4, PREV, NONE);
1214 PIN_SLP(gpk0-5, PREV, NONE);
1215 PIN_SLP(gpk0-6, PREV, NONE);
1217 PIN_SLP(gpk1-0, INPUT, DOWN);
1218 PIN_SLP(gpk1-1, INPUT, DOWN);
1219 PIN_SLP(gpk1-2, INPUT, DOWN);
1220 PIN_SLP(gpk1-3, PREV, NONE);
1221 PIN_SLP(gpk1-4, PREV, NONE);
1222 PIN_SLP(gpk1-5, PREV, NONE);
1223 PIN_SLP(gpk1-6, PREV, NONE);
1225 PIN_SLP(gpk2-0, INPUT, DOWN);
1226 PIN_SLP(gpk2-1, INPUT, DOWN);
1227 PIN_SLP(gpk2-2, INPUT, DOWN);
1228 PIN_SLP(gpk2-3, INPUT, DOWN);
1229 PIN_SLP(gpk2-4, INPUT, DOWN);
1230 PIN_SLP(gpk2-5, INPUT, DOWN);
1231 PIN_SLP(gpk2-6, INPUT, DOWN);
1233 PIN_SLP(gpk3-0, OUT0, NONE);
1234 PIN_SLP(gpk3-1, INPUT, NONE);
1235 PIN_SLP(gpk3-2, INPUT, DOWN);
1236 PIN_SLP(gpk3-3, INPUT, NONE);
1237 PIN_SLP(gpk3-4, INPUT, NONE);
1238 PIN_SLP(gpk3-5, INPUT, NONE);
1239 PIN_SLP(gpk3-6, INPUT, NONE);
1241 PIN_SLP(gpl0-0, INPUT, DOWN);
1242 PIN_SLP(gpl0-1, INPUT, DOWN);
1243 PIN_SLP(gpl0-2, INPUT, DOWN);
1244 PIN_SLP(gpl0-3, INPUT, DOWN);
1245 PIN_SLP(gpl0-4, PREV, NONE);
1246 PIN_SLP(gpl0-6, PREV, NONE);
1248 PIN_SLP(gpl1-0, INPUT, DOWN);
1249 PIN_SLP(gpl1-1, INPUT, DOWN);
1250 PIN_SLP(gpl2-0, INPUT, DOWN);
1251 PIN_SLP(gpl2-1, INPUT, DOWN);
1252 PIN_SLP(gpl2-2, INPUT, DOWN);
1253 PIN_SLP(gpl2-3, INPUT, DOWN);
1254 PIN_SLP(gpl2-4, INPUT, DOWN);
1255 PIN_SLP(gpl2-5, INPUT, DOWN);
1256 PIN_SLP(gpl2-6, PREV, NONE);
1257 PIN_SLP(gpl2-7, INPUT, DOWN);
1259 PIN_SLP(gpm0-0, INPUT, DOWN);
1260 PIN_SLP(gpm0-1, INPUT, DOWN);
1261 PIN_SLP(gpm0-2, INPUT, DOWN);
1262 PIN_SLP(gpm0-3, INPUT, DOWN);
1263 PIN_SLP(gpm0-4, INPUT, DOWN);
1264 PIN_SLP(gpm0-5, INPUT, DOWN);
1265 PIN_SLP(gpm0-6, INPUT, DOWN);
1266 PIN_SLP(gpm0-7, INPUT, DOWN);
1268 PIN_SLP(gpm1-0, INPUT, DOWN);
1269 PIN_SLP(gpm1-1, INPUT, DOWN);
1270 PIN_SLP(gpm1-2, INPUT, NONE);
1271 PIN_SLP(gpm1-3, INPUT, NONE);
1272 PIN_SLP(gpm1-4, INPUT, NONE);
1273 PIN_SLP(gpm1-5, INPUT, NONE);
1274 PIN_SLP(gpm1-6, INPUT, DOWN);
1276 PIN_SLP(gpm2-0, INPUT, NONE);
1277 PIN_SLP(gpm2-1, INPUT, NONE);
1278 PIN_SLP(gpm2-2, INPUT, DOWN);
1279 PIN_SLP(gpm2-3, INPUT, DOWN);
1280 PIN_SLP(gpm2-4, INPUT, DOWN);
1282 PIN_SLP(gpm3-0, PREV, NONE);
1283 PIN_SLP(gpm3-1, PREV, NONE);
1284 PIN_SLP(gpm3-2, PREV, NONE);
1285 PIN_SLP(gpm3-3, OUT1, NONE);
1286 PIN_SLP(gpm3-4, INPUT, DOWN);
1287 PIN_SLP(gpm3-5, INPUT, DOWN);
1288 PIN_SLP(gpm3-6, INPUT, DOWN);
1289 PIN_SLP(gpm3-7, INPUT, DOWN);
1291 PIN_SLP(gpm4-0, INPUT, DOWN);
1292 PIN_SLP(gpm4-1, INPUT, DOWN);
1293 PIN_SLP(gpm4-2, INPUT, DOWN);
1294 PIN_SLP(gpm4-3, INPUT, DOWN);
1295 PIN_SLP(gpm4-4, INPUT, DOWN);
1296 PIN_SLP(gpm4-5, INPUT, DOWN);
1297 PIN_SLP(gpm4-6, INPUT, DOWN);
1298 PIN_SLP(gpm4-7, INPUT, DOWN);
1300 PIN_SLP(gpy0-0, INPUT, DOWN);
1301 PIN_SLP(gpy0-1, INPUT, DOWN);
1302 PIN_SLP(gpy0-2, INPUT, DOWN);
1303 PIN_SLP(gpy0-3, INPUT, DOWN);
1304 PIN_SLP(gpy0-4, INPUT, DOWN);
1305 PIN_SLP(gpy0-5, INPUT, DOWN);
1307 PIN_SLP(gpy1-0, INPUT, DOWN);
1308 PIN_SLP(gpy1-1, INPUT, DOWN);
1309 PIN_SLP(gpy1-2, INPUT, DOWN);
1310 PIN_SLP(gpy1-3, INPUT, DOWN);
1312 PIN_SLP(gpy2-0, PREV, NONE);
1313 PIN_SLP(gpy2-1, INPUT, DOWN);
1314 PIN_SLP(gpy2-2, INPUT, NONE);
1315 PIN_SLP(gpy2-3, INPUT, NONE);
1316 PIN_SLP(gpy2-4, INPUT, NONE);
1317 PIN_SLP(gpy2-5, INPUT, NONE);
1319 PIN_SLP(gpy3-0, INPUT, DOWN);
1320 PIN_SLP(gpy3-1, INPUT, DOWN);
1321 PIN_SLP(gpy3-2, INPUT, DOWN);
1322 PIN_SLP(gpy3-3, INPUT, DOWN);
1323 PIN_SLP(gpy3-4, INPUT, DOWN);
1324 PIN_SLP(gpy3-5, INPUT, DOWN);
1325 PIN_SLP(gpy3-6, INPUT, DOWN);
1326 PIN_SLP(gpy3-7, INPUT, DOWN);
1328 PIN_SLP(gpy4-0, INPUT, DOWN);
1329 PIN_SLP(gpy4-1, INPUT, DOWN);
1330 PIN_SLP(gpy4-2, INPUT, DOWN);
1331 PIN_SLP(gpy4-3, INPUT, DOWN);
1332 PIN_SLP(gpy4-4, INPUT, DOWN);
1333 PIN_SLP(gpy4-5, INPUT, DOWN);
1334 PIN_SLP(gpy4-6, INPUT, DOWN);
1335 PIN_SLP(gpy4-7, INPUT, DOWN);
1337 PIN_SLP(gpy5-0, INPUT, DOWN);
1338 PIN_SLP(gpy5-1, INPUT, DOWN);
1339 PIN_SLP(gpy5-2, INPUT, DOWN);
1340 PIN_SLP(gpy5-3, INPUT, DOWN);
1341 PIN_SLP(gpy5-4, INPUT, DOWN);
1342 PIN_SLP(gpy5-5, INPUT, DOWN);
1343 PIN_SLP(gpy5-6, INPUT, DOWN);
1344 PIN_SLP(gpy5-7, INPUT, DOWN);
1346 PIN_SLP(gpy6-0, INPUT, DOWN);
1347 PIN_SLP(gpy6-1, INPUT, DOWN);
1348 PIN_SLP(gpy6-2, INPUT, DOWN);
1349 PIN_SLP(gpy6-3, INPUT, DOWN);
1350 PIN_SLP(gpy6-4, INPUT, DOWN);
1351 PIN_SLP(gpy6-5, INPUT, DOWN);
1352 PIN_SLP(gpy6-6, INPUT, DOWN);
1353 PIN_SLP(gpy6-7, INPUT, DOWN);
1358 pinctrl-names = "default";
1359 pinctrl-0 = <&sleep2>;
1361 sleep2: sleep-state {
1362 PIN_SLP(gpz-0, INPUT, DOWN);
1363 PIN_SLP(gpz-1, INPUT, DOWN);
1364 PIN_SLP(gpz-2, INPUT, DOWN);
1365 PIN_SLP(gpz-3, INPUT, DOWN);
1366 PIN_SLP(gpz-4, INPUT, DOWN);
1367 PIN_SLP(gpz-5, INPUT, DOWN);
1368 PIN_SLP(gpz-6, INPUT, DOWN);
1373 pinctrl-names = "default";
1374 pinctrl-0 = <&sleep3>;
1376 sleep3: sleep-state {
1377 PIN_SLP(gpv0-0, INPUT, DOWN);
1378 PIN_SLP(gpv0-1, INPUT, DOWN);
1379 PIN_SLP(gpv0-2, INPUT, DOWN);
1380 PIN_SLP(gpv0-3, INPUT, DOWN);
1381 PIN_SLP(gpv0-4, INPUT, DOWN);
1382 PIN_SLP(gpv0-5, INPUT, DOWN);
1383 PIN_SLP(gpv0-6, INPUT, DOWN);
1384 PIN_SLP(gpv0-7, INPUT, DOWN);
1386 PIN_SLP(gpv1-0, INPUT, DOWN);
1387 PIN_SLP(gpv1-1, INPUT, DOWN);
1388 PIN_SLP(gpv1-2, INPUT, DOWN);
1389 PIN_SLP(gpv1-3, INPUT, DOWN);
1390 PIN_SLP(gpv1-4, INPUT, DOWN);
1391 PIN_SLP(gpv1-5, INPUT, DOWN);
1392 PIN_SLP(gpv1-6, INPUT, DOWN);
1393 PIN_SLP(gpv1-7, INPUT, DOWN);
1395 PIN_SLP(gpv2-0, INPUT, DOWN);
1396 PIN_SLP(gpv2-1, INPUT, DOWN);
1397 PIN_SLP(gpv2-2, INPUT, DOWN);
1398 PIN_SLP(gpv2-3, INPUT, DOWN);
1399 PIN_SLP(gpv2-4, INPUT, DOWN);
1400 PIN_SLP(gpv2-5, INPUT, DOWN);
1401 PIN_SLP(gpv2-6, INPUT, DOWN);
1402 PIN_SLP(gpv2-7, INPUT, DOWN);
1404 PIN_SLP(gpv3-0, INPUT, DOWN);
1405 PIN_SLP(gpv3-1, INPUT, DOWN);
1406 PIN_SLP(gpv3-2, INPUT, DOWN);
1407 PIN_SLP(gpv3-3, INPUT, DOWN);
1408 PIN_SLP(gpv3-4, INPUT, DOWN);
1409 PIN_SLP(gpv3-5, INPUT, DOWN);
1410 PIN_SLP(gpv3-6, INPUT, DOWN);
1411 PIN_SLP(gpv3-7, INPUT, DOWN);
1413 PIN_SLP(gpv4-0, INPUT, DOWN);
1418 pinctrl-0 = <&pwm0_out>;
1419 pinctrl-names = "default";
1420 samsung,pwm-outputs = <0>;
1427 clock-names = "rtc", "rtc_src";
1431 bus-width = <4>;
1432 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1433 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1434 pinctrl-names = "default";
1435 vmmc-supply = <&ldo21_reg>;
1440 #address-cells = <1>;
1441 #size-cells = <0>;
1442 non-removable;
1443 bus-width = <4>;
1445 mmc-pwrseq = <&wlan_pwrseq>;
1446 pinctrl-names = "default";
1447 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
1452 compatible = "brcm,bcm4329-fmac";
1453 interrupt-parent = <&gpx2>;
1455 interrupt-names = "host-wake";
1460 pinctrl-0 = <&uart0_data &uart0_fctl>;
1461 pinctrl-names = "default";
1465 compatible = "brcm,bcm4330-bt";
1466 pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
1467 pinctrl-names = "default";
1468 max-speed = <3000000>;
1469 shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>;
1470 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
1471 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
1489 pinctrl-names = "default";
1490 pinctrl-0 = <&spi1_bus>;
1491 cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
1494 s5c73m3_spi: image-sensor@0 {
1496 spi-max-frequency = <50000000>;
1498 controller-data {
1499 samsung,spi-feedback-delay = <2>;
1505 vtmu-supply = <&ldo10_reg>;