Lines Matching +full:ldo2ena +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include "exynos4412-ppmu-common.dtsi"
12 #include "exynos-mfc-reserved-memory.dtsi"
13 #include <dt-bindings/clock/samsung,s2mps11.h>
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/leds/common.h>
16 #include <dt-bindings/input/gpio-keys.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
19 #include "exynos-pinctrl.h"
43 stdout-path = &serial_2;
45 /* Default S-BOOT bootloader loads initramfs here */
46 linux,initrd-start = <0x42000000>;
47 linux,initrd-end = <0x42800000>;
53 linux,usable-memory-range = <0x40000000 0x3fc00000>;
57 compatible = "samsung,secure-firmware";
61 fixed-rate-clocks {
63 compatible = "samsung,clock-xxti";
64 clock-frequency = <0>;
68 compatible = "samsung,clock-xusbxti";
69 clock-frequency = <24000000>;
73 gpio-keys {
74 compatible = "gpio-keys";
75 pinctrl-names = "default";
76 pinctrl-0 = <&gpio_keys>;
78 key-power {
79 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
82 debounce-interval = <10>;
83 wakeup-source;
86 key-up {
87 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
90 debounce-interval = <10>;
93 key-down {
94 gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
97 debounce-interval = <10>;
100 key-home {
101 gpios = <&gpx1 2 GPIO_ACTIVE_LOW>;
104 debounce-interval = <10>;
107 switch-hall-sensor {
108 gpios = <&gpx2 4 GPIO_ACTIVE_LOW>;
109 linux,input-type = <EV_SW>;
111 linux,can-disable;
113 debounce-interval = <10>;
114 wakeup-source;
118 led-touchkeys {
119 compatible = "regulator-led";
120 vled-supply = <&ldo20_reg>;
121 default-state = "off";
126 i2c_max77693: i2c-gpio-1 {
127 compatible = "i2c-gpio";
128 sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
129 scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
130 i2c-gpio,delay-us = <2>;
131 #address-cells = <1>;
132 #size-cells = <0>;
137 interrupt-parent = <&gpx1>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&max77693_irq>;
144 regulator-name = "ESAFEOUT1";
145 regulator-boot-on;
149 regulator-name = "ESAFEOUT2";
153 regulator-name = "CHARGER";
154 regulator-min-microamp = <60000>;
155 regulator-max-microamp = <2580000>;
156 regulator-boot-on;
161 compatible = "maxim,max77693-charger";
163 maxim,constant-microvolt = <4350000>;
164 maxim,min-system-microvolt = <3600000>;
165 maxim,thermal-regulation-celsius = <100>;
166 maxim,battery-overcurrent-microamp = <3500000>;
167 maxim,charge-input-threshold-microvolt = <4300000>;
172 i2c_max77693_fuel: i2c-gpio-2 {
173 compatible = "i2c-gpio";
174 sda-gpios = <&gpy0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
175 scl-gpios = <&gpy0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
176 i2c-gpio,delay-us = <2>;
177 #address-cells = <1>;
178 #size-cells = <0>;
180 fuel-gauge@36 {
183 interrupt-parent = <&gpx2>;
185 pinctrl-names = "default";
186 pinctrl-0 = <&max77693_fuel_irq>;
188 maxim,over-heat-temp = <500>;
189 maxim,over-volt = <4500>;
193 i2c_magnetometer: i2c-gpio-3 {
194 compatible = "i2c-gpio";
195 sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
196 scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
197 i2c-gpio,delay-us = <2>;
198 #address-cells = <1>;
199 #size-cells = <0>;
204 iovdd-supply = <&ldo3_reg>;
205 mount-matrix = "-1", "0", "0",
207 "0", "0", "-1";
211 i2c_lightsensor: i2c-gpio-4 {
212 compatible = "i2c-gpio";
213 sda-gpios = <&gpl0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
214 scl-gpios = <&gpl0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
215 i2c-gpio,delay-us = <2>;
216 #address-cells = <1>;
217 #size-cells = <0>;
223 i2c_bl: i2c-gpio-5 {
224 compatible = "i2c-gpio";
225 sda-gpios = <&gpm4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
226 scl-gpios = <&gpm4 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
227 #address-cells = <1>;
228 #size-cells = <0>;
234 bl-name = "lcd-bl";
235 dev-ctrl = /bits/ 8 <0x80>;
236 init-brt = /bits/ 8 <0x78>; /* 120 */
238 power-supply = <&vbatt_reg>;
239 enable-supply = <&backlight_reset_supply>;
242 pwm-names = "lp8556";
244 rom-a3h {
245 rom-addr = /bits/ 8 <0xa3>;
246 rom-val = /bits/ 8 <0x5e>;
249 rom-a5h {
250 rom-addr = /bits/ 8 <0xa5>;
251 rom-val = /bits/ 8 <0x34>;
254 rom-a7h {
255 rom-addr = /bits/ 8 <0xa7>;
256 rom-val = /bits/ 8 <0xfa>;
261 vbatt_reg: voltage-regulator-1 {
262 compatible = "regulator-fixed";
263 regulator-name = "VBATT";
264 regulator-min-microvolt = <5000000>;
265 regulator-max-microvolt = <5000000>;
266 regulator-always-on;
269 backlight_reset_supply: voltage-regulator-2 {
270 compatible = "regulator-fixed";
271 regulator-name = "BACKLIGHT_ENVDDIO";
272 pinctrl-names = "default";
273 pinctrl-0 = <&backlight_reset>;
275 enable-active-high;
278 display_3v3_supply: voltage-regulator-3 {
279 compatible = "regulator-fixed";
280 regulator-name = "DISPLAY_3.3V";
281 regulator-min-microvolt = <3300000>;
282 regulator-max-microvolt = <3300000>;
283 pinctrl-names = "default";
284 pinctrl-0 = <&lcd_en>;
286 enable-active-high;
289 mic_bias_reg: voltage-regulator-4 {
290 compatible = "regulator-fixed";
291 regulator-name = "MICBIAS_LDO_2.8V";
292 regulator-min-microvolt = <2800000>;
293 regulator-max-microvolt = <2800000>;
296 submic_bias_reg: voltage-regulator-5 {
297 compatible = "regulator-fixed";
298 regulator-name = "SUB_MICBIAS_LDO_2.8V";
299 regulator-min-microvolt = <2800000>;
300 regulator-max-microvolt = <2800000>;
304 compatible = "samsung,midas-audio";
306 mic-bias-supply = <&mic_bias_reg>;
307 submic-bias-supply = <&submic_bias_reg>;
309 audio-routing = "HP", "HPOUT1L",
338 sound-dai = <&i2s0 0>;
342 sound-dai = <&wm1811>;
346 wlan_pwrseq: sdhci3-pwrseq {
347 compatible = "mmc-pwrseq-simple";
348 reset-gpios = <&gpm3 5 GPIO_ACTIVE_LOW>;
350 clock-names = "ext_clock";
370 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
371 vdd-supply = <&buck1_reg>;
381 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
382 vdd-supply = <&buck3_reg>;
402 cpu0-supply = <&buck2_reg>;
406 cooling-maps {
409 cooling-device = <&cpu0 7 7>, <&cpu1 7 7>;
413 cooling-device = <&cpu0 13 13>, <&cpu1 13 13>;
419 vddcore-supply = <&ldo8_reg>;
420 vddio-supply = <&ldo10_reg>;
421 samsung,burst-clock-frequency = <500000000>;
422 samsung,esc-clock-frequency = <20000000>;
423 samsung,pll-clock-frequency = <24000000>;
429 power-supply = <&display_3v3_supply>;
430 pinctrl-names = "default";
431 pinctrl-0 = <&lcd_nrst>;
432 reset-gpios = <&gpf0 4 GPIO_ACTIVE_LOW>;
438 vbus-supply = <&esafeout1_reg>;
443 samsung,invert-vclk;
448 mali-supply = <&buck4_reg>;
453 vusb_d-supply = <&ldo15_reg>;
454 vusb_a-supply = <&ldo12_reg>;
460 pinctrl-0 = <&i2c1_bus>;
461 pinctrl-names = "default";
466 compatible = "st,lis2dh12-accel";
469 interrupt-parent = <&gpx0>;
472 vdd-supply = <&ldo17_reg>;
473 vddio-supply = <&ldo3_reg>;
475 mount-matrix = "-1", "0", "0",
477 "0", "0", "-1";
482 samsung,i2c-sda-delay = <100>;
483 samsung,i2c-slave-addr = <0x10>;
484 samsung,i2c-max-bus-freq = <400000>;
485 pinctrl-0 = <&i2c3_bus>;
486 pinctrl-names = "default";
493 interrupt-parent = <&gpb>;
495 touchscreen-size-x = <800>;
496 touchscreen-size-y = <1280>;
497 avdd-supply = <&ldo21_reg>;
498 vdd-supply = <&ldo25_reg>;
504 samsung,i2c-sda-delay = <100>;
505 samsung,i2c-slave-addr = <0x10>;
506 samsung,i2c-max-bus-freq = <100000>;
507 pinctrl-0 = <&i2c4_bus>;
508 pinctrl-names = "default";
511 wm1811: audio-codec@1a {
515 clock-names = "MCLK1";
516 interrupt-controller;
517 #interrupt-cells = <2>;
518 interrupt-parent = <&gpx3>;
521 gpio-controller;
522 #gpio-cells = <2>;
523 #sound-dai-cells = <0>;
525 wlf,gpio-cfg = <0x3 0x0 0x0 0x0 0x0 0x0
527 wlf,micbias-cfg = <0x25 0x2f>;
529 wlf,lineout1-feedback;
530 wlf,lineout1-se;
531 wlf,lineout2-se;
532 wlf,ldoena-always-driven;
534 AVDD2-supply = <&ldo3_reg>;
535 CPVDD-supply = <&ldo3_reg>;
536 DBVDD1-supply = <&ldo3_reg>;
537 DBVDD2-supply = <&ldo3_reg>;
538 DBVDD3-supply = <&ldo3_reg>;
539 SPKVDD1-supply = <&vbatt_reg>;
540 SPKVDD2-supply = <&vbatt_reg>;
541 wlf,ldo1ena-gpios = <&gpm4 4 GPIO_ACTIVE_HIGH>;
542 wlf,ldo2ena-gpios = <&gpm4 4 GPIO_ACTIVE_HIGH>;
547 samsung,i2c-sda-delay = <100>;
548 samsung,i2c-slave-addr = <0x10>;
549 samsung,i2c-max-bus-freq = <100000>;
550 pinctrl-0 = <&i2c7_bus>;
551 pinctrl-names = "default";
555 compatible = "samsung,s5m8767-pmic";
557 interrupt-parent = <&gpx0>;
559 pinctrl-names = "default";
560 pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
561 wakeup-source;
563 s5m8767,pmic-buck-default-dvs-idx = <1>;
565 s5m8767,pmic-buck-dvs-gpios = <&gpm3 0 GPIO_ACTIVE_HIGH>,
569 s5m8767,pmic-buck-ds-gpios = <&gpf3 1 GPIO_ACTIVE_HIGH>,
573 s5m8767,pmic-buck2-dvs-voltage = <1100000>, <1100000>,
578 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
583 s5m8767,pmic-buck4-dvs-voltage = <1100000>, <1100000>,
590 regulator-name = "VALIVE_1.0V_AP";
591 regulator-min-microvolt = <1000000>;
592 regulator-max-microvolt = <1000000>;
593 regulator-always-on;
594 regulator-boot-on;
599 regulator-name = "VM1M2_1.2V_AP";
600 regulator-min-microvolt = <1200000>;
601 regulator-max-microvolt = <1200000>;
602 regulator-always-on;
603 regulator-boot-on;
608 regulator-name = "VCC_1.8V_AP";
609 regulator-min-microvolt = <1800000>;
610 regulator-max-microvolt = <1800000>;
611 regulator-always-on;
616 regulator-name = "VCC_3.3V_MHL";
617 regulator-min-microvolt = <3300000>;
618 regulator-max-microvolt = <3300000>;
623 regulator-name = "VMIPI_1.0V";
624 regulator-min-microvolt = <1000000>;
625 regulator-max-microvolt = <1000000>;
630 regulator-name = "VSIL_1.2V";
631 regulator-min-microvolt = <1200000>;
632 regulator-max-microvolt = <1200000>;
637 regulator-name = "VMIPI_1.8V";
638 regulator-min-microvolt = <1800000>;
639 regulator-max-microvolt = <1800000>;
644 regulator-name = "VUOTG_3.0V";
645 regulator-min-microvolt = <3000000>;
646 regulator-max-microvolt = <3000000>;
648 regulator-state-mem {
649 regulator-off-in-suspend;
654 regulator-name = "VCC_1.8V_MHL";
655 regulator-min-microvolt = <1800000>;
656 regulator-max-microvolt = <1800000>;
661 regulator-name = "VHSIC_1.0V";
662 regulator-min-microvolt = <1000000>;
663 regulator-max-microvolt = <1000000>;
665 regulator-state-mem {
666 regulator-on-in-suspend;
671 regulator-name = "VCC_2.8V_AP";
672 regulator-min-microvolt = <2800000>;
673 regulator-max-microvolt = <2800000>;
675 regulator-always-on;
679 regulator-name = "VLED_IC_1.9V";
680 regulator-min-microvolt = <1900000>;
681 regulator-max-microvolt = <1900000>;
683 regulator-always-on;
687 regulator-name = "VTOUCH_3.3V";
688 regulator-min-microvolt = <3300000>;
689 regulator-max-microvolt = <3300000>;
694 regulator-name = "TSP_VDD_3.3V";
695 regulator-min-microvolt = <3300000>;
696 regulator-max-microvolt = <3300000>;
701 regulator-name = "5M_AF_2.8V";
702 regulator-min-microvolt = <2800000>;
703 regulator-max-microvolt = <2800000>;
708 regulator-name = "VTF_2.8V";
709 regulator-min-microvolt = <2800000>;
710 regulator-max-microvolt = <2800000>;
715 regulator-name = "LEDA_2.8V";
716 regulator-min-microvolt = <2800000>;
717 regulator-max-microvolt = <2800000>;
722 regulator-name = "TSP_VDD_1.8V";
723 regulator-min-microvolt = <1800000>;
724 regulator-max-microvolt = <1800000>;
729 regulator-name = "CAM_IO_1.8V";
730 regulator-min-microvolt = <1800000>;
731 regulator-max-microvolt = <1800000>;
736 regulator-name = "VTCAM_1.8V";
737 regulator-min-microvolt = <1800000>;
738 regulator-max-microvolt = <1800000>;
743 regulator-name = "VDD_MIF";
744 regulator-min-microvolt = <850000>;
745 regulator-max-microvolt = <1100000>;
746 regulator-always-on;
747 regulator-boot-on;
752 regulator-name = "VDD_ARM";
753 regulator-min-microvolt = <850000>;
754 regulator-max-microvolt = <1500000>;
755 regulator-always-on;
756 regulator-boot-on;
761 regulator-name = "VDD_INT";
762 regulator-min-microvolt = <850000>;
763 regulator-max-microvolt = <1300000>;
764 regulator-always-on;
765 regulator-boot-on;
770 regulator-name = "VDD_G3D";
771 regulator-min-microvolt = <850000>;
772 regulator-max-microvolt = <1150000>;
773 regulator-boot-on;
778 regulator-name = "VMEM_1.2V_AP";
779 regulator-min-microvolt = <1200000>;
780 regulator-max-microvolt = <1200000>;
781 regulator-always-on;
782 regulator-boot-on;
787 regulator-name = "CAM_ISP_CORE_1.2V";
788 regulator-min-microvolt = <1200000>;
789 regulator-max-microvolt = <1200000>;
792 regulator-state-mem {
793 regulator-off-in-suspend;
799 compatible = "samsung,s5m8767-clk";
800 #clock-cells = <1>;
801 clock-output-names = "en32khz_ap",
809 pinctrl-0 = <&i2s0_bus>;
810 pinctrl-names = "default";
815 broken-cd;
816 non-removable;
817 card-detect-delay = <200>;
818 vmmc-supply = <&ldo22_reg>;
819 clock-frequency = <400000000>;
820 samsung,dw-mshc-ciu-div = <0>;
821 samsung,dw-mshc-sdr-timing = <2 3>;
822 samsung,dw-mshc-ddr-timing = <1 2>;
823 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
824 pinctrl-names = "default";
825 bus-width = <8>;
826 cap-mmc-highspeed;
827 mmc-ddr-1_8v;
832 pinctrl-names = "default";
833 pinctrl-0 = <&sleep0>;
835 lcd_en: lcd-en-pins {
836 samsung,pins = "gpc0-1";
837 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
838 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
841 lcd_nrst: lcd-nrst-pins {
842 samsung,pins = "gpf0-4";
843 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
844 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
847 s5m8767_ds: s5m8767-ds-pins {
848 samsung,pins = "gpf3-1", "gpf3-2", "gpf3-3";
849 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
850 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
851 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
854 sleep0: sleep-state {
855 PIN_SLP(gpa0-0, INPUT, NONE);
856 PIN_SLP(gpa0-1, OUT0, NONE);
857 PIN_SLP(gpa0-2, INPUT, NONE);
858 PIN_SLP(gpa0-3, INPUT, UP);
859 PIN_SLP(gpa0-4, INPUT, DOWN);
860 PIN_SLP(gpa0-5, INPUT, DOWN);
861 PIN_SLP(gpa0-6, INPUT, DOWN);
862 PIN_SLP(gpa0-7, INPUT, DOWN);
864 PIN_SLP(gpa1-0, INPUT, DOWN);
865 PIN_SLP(gpa1-1, INPUT, DOWN);
866 PIN_SLP(gpa1-2, INPUT, DOWN);
867 PIN_SLP(gpa1-3, INPUT, DOWN);
868 PIN_SLP(gpa1-4, INPUT, DOWN);
869 PIN_SLP(gpa1-5, INPUT, DOWN);
871 PIN_SLP(gpb-0, INPUT, NONE);
872 PIN_SLP(gpb-1, INPUT, NONE);
873 PIN_SLP(gpb-2, INPUT, NONE);
874 PIN_SLP(gpb-3, INPUT, NONE);
875 PIN_SLP(gpb-4, INPUT, DOWN);
876 PIN_SLP(gpb-5, INPUT, DOWN);
877 PIN_SLP(gpb-6, INPUT, DOWN);
878 PIN_SLP(gpb-7, INPUT, DOWN);
880 PIN_SLP(gpc0-0, INPUT, DOWN);
881 PIN_SLP(gpc0-1, INPUT, DOWN);
882 PIN_SLP(gpc0-2, INPUT, NONE);
883 PIN_SLP(gpc0-3, INPUT, NONE);
884 PIN_SLP(gpc0-4, INPUT, NONE);
886 PIN_SLP(gpc1-0, INPUT, DOWN);
887 PIN_SLP(gpc1-1, INPUT, DOWN);
888 PIN_SLP(gpc1-2, INPUT, DOWN);
889 PIN_SLP(gpc1-3, INPUT, DOWN);
890 PIN_SLP(gpc1-4, INPUT, DOWN);
892 PIN_SLP(gpd0-0, INPUT, DOWN);
893 PIN_SLP(gpd0-1, OUT0, NONE);
894 PIN_SLP(gpd0-2, INPUT, NONE);
895 PIN_SLP(gpd0-3, INPUT, NONE);
897 PIN_SLP(gpd1-0, INPUT, DOWN);
898 PIN_SLP(gpd1-1, INPUT, DOWN);
899 PIN_SLP(gpd1-2, INPUT, NONE);
900 PIN_SLP(gpd1-3, INPUT, NONE);
902 PIN_SLP(gpf0-0, INPUT, DOWN);
903 PIN_SLP(gpf0-1, INPUT, DOWN);
904 PIN_SLP(gpf0-2, INPUT, DOWN);
905 PIN_SLP(gpf0-3, INPUT, DOWN);
906 PIN_SLP(gpf0-4, OUT0, NONE);
907 PIN_SLP(gpf0-5, OUT0, NONE);
908 PIN_SLP(gpf0-6, INPUT, DOWN);
909 PIN_SLP(gpf0-7, INPUT, DOWN);
911 PIN_SLP(gpf1-0, INPUT, DOWN);
912 PIN_SLP(gpf1-1, INPUT, DOWN);
913 PIN_SLP(gpf1-2, INPUT, DOWN);
914 PIN_SLP(gpf1-3, INPUT, DOWN);
915 PIN_SLP(gpf1-4, INPUT, DOWN);
916 PIN_SLP(gpf1-5, INPUT, DOWN);
917 PIN_SLP(gpf1-6, INPUT, DOWN);
918 PIN_SLP(gpf1-7, INPUT, DOWN);
920 PIN_SLP(gpf2-0, INPUT, DOWN);
921 PIN_SLP(gpf2-1, INPUT, DOWN);
922 PIN_SLP(gpf2-2, INPUT, DOWN);
923 PIN_SLP(gpf2-3, INPUT, DOWN);
924 PIN_SLP(gpf2-4, INPUT, DOWN);
925 PIN_SLP(gpf2-5, INPUT, DOWN);
926 PIN_SLP(gpf2-6, INPUT, DOWN);
927 PIN_SLP(gpf2-7, INPUT, DOWN);
929 PIN_SLP(gpf3-0, INPUT, DOWN);
930 PIN_SLP(gpf3-1, INPUT, DOWN);
931 PIN_SLP(gpf3-2, INPUT, DOWN);
932 PIN_SLP(gpf3-3, INPUT, DOWN);
933 PIN_SLP(gpf3-4, PREV, NONE);
934 PIN_SLP(gpf3-5, OUT0, DOWN);
936 PIN_SLP(gpj0-0, INPUT, DOWN);
937 PIN_SLP(gpj0-1, INPUT, DOWN);
938 PIN_SLP(gpj0-2, INPUT, DOWN);
939 PIN_SLP(gpj0-3, OUT0, NONE);
940 PIN_SLP(gpj0-4, INPUT, DOWN);
941 PIN_SLP(gpj0-5, INPUT, DOWN);
942 PIN_SLP(gpj0-6, OUT0, NONE);
943 PIN_SLP(gpj0-7, OUT0, NONE);
945 PIN_SLP(gpj1-0, OUT0, NONE);
946 PIN_SLP(gpj1-1, INPUT, DOWN);
947 PIN_SLP(gpj1-2, PREV, NONE);
948 PIN_SLP(gpj1-3, INPUT, DOWN);
949 PIN_SLP(gpj1-4, INPUT, DOWN);
954 pinctrl-names = "default";
955 pinctrl-0 = <&sleep1>;
957 bt_shutdown: bt-shutdown-pins {
958 samsung,pins = "gpl0-6";
959 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
962 bt_host_wakeup: bt-host-wakeup-pins {
963 samsung,pins = "gpx2-6";
964 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
967 bt_device_wakeup: bt-device-wakeup-pins {
968 samsung,pins = "gpx3-1";
969 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
972 backlight_reset: backlight-reset-pins {
973 samsung,pins = "gpm0-1";
974 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
975 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
978 gpio_keys: gpio-keys-pins {
979 samsung,pins = "gpx1-2", "gpx2-2", "gpx2-4", "gpx2-7", "gpx3-3";
980 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
983 max77693_irq: max77693-irq-pins {
984 samsung,pins = "gpx1-5";
985 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
986 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
987 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
990 max77693_fuel_irq: max77693-fuel-irq-pins {
991 samsung,pins = "gpx2-3";
992 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
993 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
994 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
997 sdhci2_cd: sdhci2-cd-irq-pins {
998 samsung,pins = "gpx3-4";
999 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
1000 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1001 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
1004 s5m8767_dvs: s5m8767-dvs-pins {
1005 samsung,pins = "gpm3-0", "gpm3-1", "gpm3-2";
1006 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
1007 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1008 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
1011 s5m8767_irq: s5m8767-irq-pins {
1012 samsung,pins = "gpx0-7";
1013 samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
1014 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1015 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
1018 sleep1: sleep-state {
1019 PIN_SLP(gpk0-0, PREV, NONE);
1020 PIN_SLP(gpk0-1, PREV, NONE);
1021 PIN_SLP(gpk0-2, PREV, NONE);
1022 PIN_SLP(gpk0-3, PREV, NONE);
1023 PIN_SLP(gpk0-4, PREV, NONE);
1024 PIN_SLP(gpk0-5, PREV, NONE);
1025 PIN_SLP(gpk0-6, PREV, NONE);
1027 PIN_SLP(gpk1-0, INPUT, DOWN);
1028 PIN_SLP(gpk1-1, INPUT, DOWN);
1029 PIN_SLP(gpk1-2, INPUT, DOWN);
1030 PIN_SLP(gpk1-3, PREV, NONE);
1031 PIN_SLP(gpk1-4, PREV, NONE);
1032 PIN_SLP(gpk1-5, PREV, NONE);
1033 PIN_SLP(gpk1-6, PREV, NONE);
1035 PIN_SLP(gpk2-0, INPUT, DOWN);
1036 PIN_SLP(gpk2-1, INPUT, DOWN);
1037 PIN_SLP(gpk2-2, INPUT, DOWN);
1038 PIN_SLP(gpk2-3, INPUT, DOWN);
1039 PIN_SLP(gpk2-4, INPUT, DOWN);
1040 PIN_SLP(gpk2-5, INPUT, DOWN);
1041 PIN_SLP(gpk2-6, INPUT, DOWN);
1043 PIN_SLP(gpk3-0, OUT0, NONE);
1044 PIN_SLP(gpk3-1, INPUT, NONE);
1045 PIN_SLP(gpk3-2, INPUT, DOWN);
1046 PIN_SLP(gpk3-3, INPUT, NONE);
1047 PIN_SLP(gpk3-4, INPUT, NONE);
1048 PIN_SLP(gpk3-5, INPUT, NONE);
1049 PIN_SLP(gpk3-6, INPUT, NONE);
1051 PIN_SLP(gpl0-0, INPUT, DOWN);
1052 PIN_SLP(gpl0-1, INPUT, NONE);
1053 PIN_SLP(gpl0-2, INPUT, NONE);
1054 PIN_SLP(gpl0-3, INPUT, DOWN);
1055 PIN_SLP(gpl0-4, INPUT, DOWN);
1056 PIN_SLP(gpl0-6, PREV, NONE);
1058 PIN_SLP(gpl1-0, INPUT, DOWN);
1059 PIN_SLP(gpl1-1, OUT0, NONE);
1060 PIN_SLP(gpl2-0, INPUT, DOWN);
1061 PIN_SLP(gpl2-1, PREV, NONE);
1062 PIN_SLP(gpl2-2, PREV, NONE);
1063 PIN_SLP(gpl2-3, INPUT, DOWN);
1064 PIN_SLP(gpl2-4, INPUT, DOWN);
1065 PIN_SLP(gpl2-5, INPUT, DOWN);
1066 PIN_SLP(gpl2-6, INPUT, DOWN);
1067 PIN_SLP(gpl2-7, INPUT, DOWN);
1069 PIN_SLP(gpm0-0, PREV, NONE);
1070 PIN_SLP(gpm0-1, OUT0, NONE);
1071 PIN_SLP(gpm0-2, INPUT, DOWN);
1072 PIN_SLP(gpm0-3, INPUT, DOWN);
1073 PIN_SLP(gpm0-4, INPUT, DOWN);
1074 PIN_SLP(gpm0-5, INPUT, DOWN);
1075 PIN_SLP(gpm0-6, INPUT, DOWN);
1076 PIN_SLP(gpm0-7, INPUT, DOWN);
1078 PIN_SLP(gpm1-0, INPUT, DOWN);
1079 PIN_SLP(gpm1-1, INPUT, DOWN);
1080 PIN_SLP(gpm1-2, INPUT, NONE);
1081 PIN_SLP(gpm1-3, INPUT, NONE);
1082 PIN_SLP(gpm1-4, INPUT, NONE);
1083 PIN_SLP(gpm1-5, INPUT, NONE);
1084 PIN_SLP(gpm1-6, OUT0, NONE);
1086 PIN_SLP(gpm2-0, INPUT, NONE);
1087 PIN_SLP(gpm2-1, INPUT, NONE);
1088 PIN_SLP(gpm2-2, OUT0, NONE);
1089 PIN_SLP(gpm2-3, INPUT, DOWN);
1090 PIN_SLP(gpm2-4, INPUT, DOWN);
1092 PIN_SLP(gpm3-0, PREV, NONE);
1093 PIN_SLP(gpm3-1, PREV, NONE);
1094 PIN_SLP(gpm3-2, PREV, NONE);
1095 PIN_SLP(gpm3-3, INPUT, DOWN);
1096 PIN_SLP(gpm3-4, INPUT, DOWN);
1097 PIN_SLP(gpm3-5, PREV, NONE);
1098 PIN_SLP(gpm3-6, INPUT, DOWN);
1099 PIN_SLP(gpm3-7, OUT0, NONE);
1101 PIN_SLP(gpm4-0, INPUT, DOWN);
1102 PIN_SLP(gpm4-1, INPUT, DOWN);
1103 PIN_SLP(gpm4-2, INPUT, DOWN);
1104 PIN_SLP(gpm4-3, INPUT, DOWN);
1105 PIN_SLP(gpm4-4, PREV, NONE);
1106 PIN_SLP(gpm4-5, INPUT, NONE);
1107 PIN_SLP(gpm4-6, INPUT, DOWN);
1108 PIN_SLP(gpm4-7, INPUT, DOWN);
1110 PIN_SLP(gpy0-0, INPUT, DOWN);
1111 PIN_SLP(gpy0-1, INPUT, DOWN);
1112 PIN_SLP(gpy0-2, INPUT, NONE);
1113 PIN_SLP(gpy0-3, INPUT, NONE);
1114 PIN_SLP(gpy0-4, INPUT, DOWN);
1115 PIN_SLP(gpy0-5, INPUT, DOWN);
1117 PIN_SLP(gpy1-0, INPUT, DOWN);
1118 PIN_SLP(gpy1-1, INPUT, DOWN);
1119 PIN_SLP(gpy1-2, INPUT, DOWN);
1120 PIN_SLP(gpy1-3, INPUT, DOWN);
1122 PIN_SLP(gpy2-0, PREV, NONE);
1123 PIN_SLP(gpy2-1, INPUT, DOWN);
1124 PIN_SLP(gpy2-2, INPUT, NONE);
1125 PIN_SLP(gpy2-3, INPUT, NONE);
1126 PIN_SLP(gpy2-4, INPUT, NONE);
1127 PIN_SLP(gpy2-5, INPUT, NONE);
1129 PIN_SLP(gpy3-0, INPUT, DOWN);
1130 PIN_SLP(gpy3-1, INPUT, DOWN);
1131 PIN_SLP(gpy3-2, INPUT, DOWN);
1132 PIN_SLP(gpy3-3, INPUT, DOWN);
1133 PIN_SLP(gpy3-4, INPUT, DOWN);
1134 PIN_SLP(gpy3-5, INPUT, DOWN);
1135 PIN_SLP(gpy3-6, INPUT, DOWN);
1136 PIN_SLP(gpy3-7, INPUT, DOWN);
1138 PIN_SLP(gpy4-0, INPUT, DOWN);
1139 PIN_SLP(gpy4-1, INPUT, DOWN);
1140 PIN_SLP(gpy4-2, INPUT, DOWN);
1141 PIN_SLP(gpy4-3, INPUT, DOWN);
1142 PIN_SLP(gpy4-4, INPUT, DOWN);
1143 PIN_SLP(gpy4-5, INPUT, DOWN);
1144 PIN_SLP(gpy4-6, INPUT, DOWN);
1145 PIN_SLP(gpy4-7, INPUT, DOWN);
1147 PIN_SLP(gpy5-0, INPUT, DOWN);
1148 PIN_SLP(gpy5-1, INPUT, DOWN);
1149 PIN_SLP(gpy5-2, INPUT, DOWN);
1150 PIN_SLP(gpy5-3, INPUT, DOWN);
1151 PIN_SLP(gpy5-4, INPUT, DOWN);
1152 PIN_SLP(gpy5-5, INPUT, DOWN);
1153 PIN_SLP(gpy5-6, INPUT, DOWN);
1154 PIN_SLP(gpy5-7, INPUT, DOWN);
1156 PIN_SLP(gpy6-0, INPUT, DOWN);
1157 PIN_SLP(gpy6-1, INPUT, DOWN);
1158 PIN_SLP(gpy6-2, INPUT, DOWN);
1159 PIN_SLP(gpy6-3, INPUT, DOWN);
1160 PIN_SLP(gpy6-4, INPUT, DOWN);
1161 PIN_SLP(gpy6-5, INPUT, DOWN);
1162 PIN_SLP(gpy6-6, INPUT, DOWN);
1163 PIN_SLP(gpy6-7, INPUT, DOWN);
1168 pinctrl-names = "default";
1169 pinctrl-0 = <&sleep2>;
1171 sleep2: sleep-state {
1172 PIN_SLP(gpz-0, INPUT, DOWN);
1173 PIN_SLP(gpz-1, INPUT, DOWN);
1174 PIN_SLP(gpz-2, INPUT, DOWN);
1175 PIN_SLP(gpz-3, INPUT, DOWN);
1176 PIN_SLP(gpz-4, INPUT, DOWN);
1177 PIN_SLP(gpz-5, INPUT, DOWN);
1178 PIN_SLP(gpz-6, INPUT, DOWN);
1183 pinctrl-names = "default";
1184 pinctrl-0 = <&sleep3>;
1186 sleep3: sleep-state {
1187 PIN_SLP(gpv0-0, INPUT, DOWN);
1188 PIN_SLP(gpv0-1, INPUT, DOWN);
1189 PIN_SLP(gpv0-2, INPUT, DOWN);
1190 PIN_SLP(gpv0-3, INPUT, DOWN);
1191 PIN_SLP(gpv0-4, INPUT, DOWN);
1192 PIN_SLP(gpv0-5, INPUT, DOWN);
1193 PIN_SLP(gpv0-6, INPUT, DOWN);
1194 PIN_SLP(gpv0-7, INPUT, DOWN);
1196 PIN_SLP(gpv1-0, INPUT, DOWN);
1197 PIN_SLP(gpv1-1, INPUT, DOWN);
1198 PIN_SLP(gpv1-2, INPUT, DOWN);
1199 PIN_SLP(gpv1-3, INPUT, DOWN);
1200 PIN_SLP(gpv1-4, INPUT, DOWN);
1201 PIN_SLP(gpv1-5, INPUT, DOWN);
1202 PIN_SLP(gpv1-6, INPUT, DOWN);
1203 PIN_SLP(gpv1-7, INPUT, DOWN);
1205 PIN_SLP(gpv2-0, INPUT, DOWN);
1206 PIN_SLP(gpv2-1, INPUT, DOWN);
1207 PIN_SLP(gpv2-2, INPUT, DOWN);
1208 PIN_SLP(gpv2-3, INPUT, DOWN);
1209 PIN_SLP(gpv2-4, INPUT, DOWN);
1210 PIN_SLP(gpv2-5, INPUT, DOWN);
1211 PIN_SLP(gpv2-6, INPUT, DOWN);
1212 PIN_SLP(gpv2-7, INPUT, DOWN);
1214 PIN_SLP(gpv3-0, INPUT, DOWN);
1215 PIN_SLP(gpv3-1, INPUT, DOWN);
1216 PIN_SLP(gpv3-2, INPUT, DOWN);
1217 PIN_SLP(gpv3-3, INPUT, DOWN);
1218 PIN_SLP(gpv3-4, INPUT, DOWN);
1219 PIN_SLP(gpv3-5, INPUT, DOWN);
1220 PIN_SLP(gpv3-6, INPUT, DOWN);
1221 PIN_SLP(gpv3-7, INPUT, DOWN);
1223 PIN_SLP(gpv4-0, INPUT, DOWN);
1224 PIN_SLP(gpv4-1, INPUT, DOWN);
1229 assigned-clocks = <&pmu_system_controller 0>;
1230 assigned-clock-parents = <&clock CLK_XUSBXTI>;
1234 pinctrl-0 = <&pwm1_out>;
1235 pinctrl-names = "default";
1236 samsung,pwm-outputs = <1>;
1250 clock-names = "rtc", "rtc_src";
1255 bus-width = <4>;
1256 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1257 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1258 pinctrl-names = "default";
1259 vmmc-supply = <&ldo23_reg>;
1264 #address-cells = <1>;
1265 #size-cells = <0>;
1266 non-removable;
1267 bus-width = <4>;
1269 mmc-pwrseq = <&wlan_pwrseq>;
1270 pinctrl-names = "default";
1271 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
1275 compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac";
1278 interrupt-parent = <&gpx2>;
1280 interrupt-names = "host-wake";
1285 pinctrl-0 = <&uart0_data &uart0_fctl>;
1286 pinctrl-names = "default";
1290 compatible = "brcm,bcm4330-bt"; /* BCM4334B0 */
1291 pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
1292 pinctrl-names = "default";
1293 max-speed = <3000000>;
1294 shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>;
1295 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
1296 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
1314 vtmu-supply = <&ldo10_reg>;