Lines Matching +full:thermal +full:- +full:regulation +full:- +full:threshold

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>;
51 compatible = "samsung,secure-firmware";
55 fixed-rate-clocks {
57 compatible = "samsung,clock-xxti";
58 clock-frequency = <0>;
62 compatible = "samsung,clock-xusbxti";
63 clock-frequency = <24000000>;
67 gpio-keys {
68 compatible = "gpio-keys";
69 pinctrl-names = "default";
70 pinctrl-0 = <&gpio_keys>;
72 key-power {
76 debounce-interval = <10>;
77 wakeup-source;
80 key-up {
84 debounce-interval = <10>;
87 key-down {
91 debounce-interval = <10>;
94 key-home {
98 debounce-interval = <10>;
101 switch-hall-sensor {
103 linux,input-type = <EV_SW>;
105 linux,can-disable;
107 debounce-interval = <10>;
108 wakeup-source;
112 led-touchkeys {
113 compatible = "regulator-led";
114 vled-supply = <&ldo20_reg>;
115 default-state = "off";
120 i2c_max77693: i2c-gpio-1 {
121 compatible = "i2c-gpio";
122 sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
123 scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
124 i2c-gpio,delay-us = <2>;
125 #address-cells = <1>;
126 #size-cells = <0>;
131 interrupt-parent = <&gpx1>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&max77693_irq>;
138 regulator-name = "ESAFEOUT1";
139 regulator-boot-on;
143 regulator-name = "ESAFEOUT2";
147 regulator-name = "CHARGER";
148 regulator-min-microamp = <60000>;
149 regulator-max-microamp = <2580000>;
150 regulator-boot-on;
155 compatible = "maxim,max77693-charger";
157 maxim,constant-microvolt = <4350000>;
158 maxim,min-system-microvolt = <3600000>;
159 maxim,thermal-regulation-celsius = <100>;
160 maxim,battery-overcurrent-microamp = <3500000>;
161 maxim,charge-input-threshold-microvolt = <4300000>;
166 i2c_max77693_fuel: i2c-gpio-2 {
167 compatible = "i2c-gpio";
168 sda-gpios = <&gpy0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
169 scl-gpios = <&gpy0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
170 i2c-gpio,delay-us = <2>;
171 #address-cells = <1>;
172 #size-cells = <0>;
174 fuel-gauge@36 {
177 interrupt-parent = <&gpx2>;
179 pinctrl-names = "default";
180 pinctrl-0 = <&max77693_fuel_irq>;
182 maxim,over-heat-temp = <500>;
183 maxim,over-volt = <4500>;
187 i2c_magnetometer: i2c-gpio-3 {
188 compatible = "i2c-gpio";
189 sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
190 scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
191 i2c-gpio,delay-us = <2>;
192 #address-cells = <1>;
193 #size-cells = <0>;
198 iovdd-supply = <&ldo3_reg>;
199 mount-matrix = "-1", "0", "0",
201 "0", "0", "-1";
205 i2c_lightsensor: i2c-gpio-4 {
206 compatible = "i2c-gpio";
207 sda-gpios = <&gpl0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
208 scl-gpios = <&gpl0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
209 i2c-gpio,delay-us = <2>;
210 #address-cells = <1>;
211 #size-cells = <0>;
217 i2c_bl: i2c-gpio-5 {
218 compatible = "i2c-gpio";
219 sda-gpios = <&gpm4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
220 scl-gpios = <&gpm4 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
221 #address-cells = <1>;
222 #size-cells = <0>;
228 bl-name = "lcd-bl";
229 dev-ctrl = /bits/ 8 <0x80>;
230 init-brt = /bits/ 8 <0x78>; /* 120 */
232 power-supply = <&vbatt_reg>;
233 enable-supply = <&backlight_reset_supply>;
236 pwm-names = "lp8556";
238 rom-a3h {
239 rom-addr = /bits/ 8 <0xa3>;
240 rom-val = /bits/ 8 <0x5e>;
243 rom-a5h {
244 rom-addr = /bits/ 8 <0xa5>;
245 rom-val = /bits/ 8 <0x34>;
248 rom-a7h {
249 rom-addr = /bits/ 8 <0xa7>;
250 rom-val = /bits/ 8 <0xfa>;
255 vbatt_reg: voltage-regulator-1 {
256 compatible = "regulator-fixed";
257 regulator-name = "VBATT";
258 regulator-min-microvolt = <5000000>;
259 regulator-max-microvolt = <5000000>;
260 regulator-always-on;
263 backlight_reset_supply: voltage-regulator-2 {
264 compatible = "regulator-fixed";
265 regulator-name = "BACKLIGHT_ENVDDIO";
266 pinctrl-names = "default";
267 pinctrl-0 = <&backlight_reset>;
269 enable-active-high;
272 display_3v3_supply: voltage-regulator-3 {
273 compatible = "regulator-fixed";
274 regulator-name = "DISPLAY_3.3V";
275 regulator-min-microvolt = <3300000>;
276 regulator-max-microvolt = <3300000>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&lcd_en>;
280 enable-active-high;
283 mic_bias_reg: voltage-regulator-4 {
284 compatible = "regulator-fixed";
285 regulator-name = "MICBIAS_LDO_2.8V";
286 regulator-min-microvolt = <2800000>;
287 regulator-max-microvolt = <2800000>;
290 submic_bias_reg: voltage-regulator-5 {
291 compatible = "regulator-fixed";
292 regulator-name = "SUB_MICBIAS_LDO_2.8V";
293 regulator-min-microvolt = <2800000>;
294 regulator-max-microvolt = <2800000>;
298 compatible = "samsung,midas-audio";
300 mic-bias-supply = <&mic_bias_reg>;
301 submic-bias-supply = <&submic_bias_reg>;
303 samsung,audio-routing =
333 sound-dai = <&i2s0 0>;
337 sound-dai = <&wm1811>;
341 wlan_pwrseq: sdhci3-pwrseq {
342 compatible = "mmc-pwrseq-simple";
343 reset-gpios = <&gpm3 5 GPIO_ACTIVE_LOW>;
345 clock-names = "ext_clock";
365 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
366 vdd-supply = <&buck1_reg>;
376 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
377 vdd-supply = <&buck3_reg>;
397 cpu0-supply = <&buck2_reg>;
401 cooling-maps {
404 cooling-device = <&cpu0 7 7>, <&cpu1 7 7>;
408 cooling-device = <&cpu0 13 13>, <&cpu1 13 13>;
414 vddcore-supply = <&ldo8_reg>;
415 vddio-supply = <&ldo10_reg>;
416 samsung,burst-clock-frequency = <500000000>;
417 samsung,esc-clock-frequency = <20000000>;
418 samsung,pll-clock-frequency = <24000000>;
424 power-supply = <&display_3v3_supply>;
425 pinctrl-names = "default";
426 pinctrl-0 = <&lcd_nrst>;
427 reset-gpios = <&gpf0 4 GPIO_ACTIVE_LOW>;
433 vbus-supply = <&esafeout1_reg>;
442 mali-supply = <&buck4_reg>;
447 vusb_d-supply = <&ldo15_reg>;
448 vusb_a-supply = <&ldo12_reg>;
454 pinctrl-0 = <&i2c1_bus>;
455 pinctrl-names = "default";
460 compatible = "st,lis2dh12-accel";
463 interrupt-parent = <&gpx0>;
466 vdd-supply = <&ldo17_reg>;
467 vddio-supply = <&ldo3_reg>;
469 mount-matrix = "-1", "0", "0",
471 "0", "0", "-1";
476 samsung,i2c-sda-delay = <100>;
477 samsung,i2c-slave-addr = <0x10>;
478 samsung,i2c-max-bus-freq = <400000>;
479 pinctrl-0 = <&i2c3_bus>;
480 pinctrl-names = "default";
487 interrupt-parent = <&gpb>;
489 touchscreen-size-x = <800>;
490 touchscreen-size-y = <1280>;
491 avdd-supply = <&ldo21_reg>;
492 vdd-supply = <&ldo25_reg>;
498 samsung,i2c-sda-delay = <100>;
499 samsung,i2c-slave-addr = <0x10>;
500 samsung,i2c-max-bus-freq = <100000>;
501 pinctrl-0 = <&i2c4_bus>;
502 pinctrl-names = "default";
505 wm1811: audio-codec@1a {
509 clock-names = "MCLK1";
510 interrupt-controller;
511 #interrupt-cells = <2>;
512 interrupt-parent = <&gpx3>;
515 gpio-controller;
516 #gpio-cells = <2>;
517 #sound-dai-cells = <0>;
519 wlf,gpio-cfg = <0x3 0x0 0x0 0x0 0x0 0x0
521 wlf,micbias-cfg = <0x25 0x2f>;
523 wlf,lineout1-feedback;
524 wlf,lineout1-se;
525 wlf,lineout2-se;
526 wlf,ldoena-always-driven;
528 AVDD2-supply = <&ldo3_reg>;
529 CPVDD-supply = <&ldo3_reg>;
530 DBVDD1-supply = <&ldo3_reg>;
531 DBVDD2-supply = <&ldo3_reg>;
532 DBVDD3-supply = <&ldo3_reg>;
533 SPKVDD1-supply = <&vbatt_reg>;
534 SPKVDD2-supply = <&vbatt_reg>;
535 wlf,ldo1ena-gpios = <&gpm4 4 GPIO_ACTIVE_HIGH>;
536 wlf,ldo2ena-gpios = <&gpm4 4 GPIO_ACTIVE_HIGH>;
541 samsung,i2c-sda-delay = <100>;
542 samsung,i2c-slave-addr = <0x10>;
543 samsung,i2c-max-bus-freq = <100000>;
544 pinctrl-0 = <&i2c7_bus>;
545 pinctrl-names = "default";
549 compatible = "samsung,s5m8767-pmic";
551 interrupt-parent = <&gpx0>;
553 pinctrl-names = "default";
554 pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>;
555 wakeup-source;
557 s5m8767,pmic-buck-default-dvs-idx = <1>;
559 s5m8767,pmic-buck-dvs-gpios = <&gpm3 0 GPIO_ACTIVE_HIGH>,
563 s5m8767,pmic-buck-ds-gpios = <&gpf3 1 GPIO_ACTIVE_HIGH>,
567 s5m8767,pmic-buck2-dvs-voltage = <1100000>, <1100000>,
572 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>,
577 s5m8767,pmic-buck4-dvs-voltage = <1100000>, <1100000>,
584 regulator-name = "VALIVE_1.0V_AP";
585 regulator-min-microvolt = <1000000>;
586 regulator-max-microvolt = <1000000>;
587 regulator-always-on;
588 regulator-boot-on;
593 regulator-name = "VM1M2_1.2V_AP";
594 regulator-min-microvolt = <1200000>;
595 regulator-max-microvolt = <1200000>;
596 regulator-always-on;
597 regulator-boot-on;
602 regulator-name = "VCC_1.8V_AP";
603 regulator-min-microvolt = <1800000>;
604 regulator-max-microvolt = <1800000>;
605 regulator-always-on;
610 regulator-name = "VCC_3.3V_MHL";
611 regulator-min-microvolt = <3300000>;
612 regulator-max-microvolt = <3300000>;
617 regulator-name = "VMIPI_1.0V";
618 regulator-min-microvolt = <1000000>;
619 regulator-max-microvolt = <1000000>;
624 regulator-name = "VSIL_1.2V";
625 regulator-min-microvolt = <1200000>;
626 regulator-max-microvolt = <1200000>;
631 regulator-name = "VMIPI_1.8V";
632 regulator-min-microvolt = <1800000>;
633 regulator-max-microvolt = <1800000>;
638 regulator-name = "VUOTG_3.0V";
639 regulator-min-microvolt = <3000000>;
640 regulator-max-microvolt = <3000000>;
642 regulator-state-mem {
643 regulator-off-in-suspend;
648 regulator-name = "VCC_1.8V_MHL";
649 regulator-min-microvolt = <1800000>;
650 regulator-max-microvolt = <1800000>;
655 regulator-name = "VHSIC_1.0V";
656 regulator-min-microvolt = <1000000>;
657 regulator-max-microvolt = <1000000>;
659 regulator-state-mem {
660 regulator-on-in-suspend;
665 regulator-name = "VCC_2.8V_AP";
666 regulator-min-microvolt = <2800000>;
667 regulator-max-microvolt = <2800000>;
669 regulator-always-on;
673 regulator-name = "VLED_IC_1.9V";
674 regulator-min-microvolt = <1900000>;
675 regulator-max-microvolt = <1900000>;
677 regulator-always-on;
681 regulator-name = "VTOUCH_3.3V";
682 regulator-min-microvolt = <3300000>;
683 regulator-max-microvolt = <3300000>;
688 regulator-name = "TSP_VDD_3.3V";
689 regulator-min-microvolt = <3300000>;
690 regulator-max-microvolt = <3300000>;
695 regulator-name = "5M_AF_2.8V";
696 regulator-min-microvolt = <2800000>;
697 regulator-max-microvolt = <2800000>;
702 regulator-name = "VTF_2.8V";
703 regulator-min-microvolt = <2800000>;
704 regulator-max-microvolt = <2800000>;
709 regulator-name = "LEDA_2.8V";
710 regulator-min-microvolt = <2800000>;
711 regulator-max-microvolt = <2800000>;
716 regulator-name = "TSP_VDD_1.8V";
717 regulator-min-microvolt = <1800000>;
718 regulator-max-microvolt = <1800000>;
723 regulator-name = "CAM_IO_1.8V";
724 regulator-min-microvolt = <1800000>;
725 regulator-max-microvolt = <1800000>;
730 regulator-name = "VTCAM_1.8V";
731 regulator-min-microvolt = <1800000>;
732 regulator-max-microvolt = <1800000>;
737 regulator-name = "VDD_MIF";
738 regulator-min-microvolt = <850000>;
739 regulator-max-microvolt = <1100000>;
740 regulator-always-on;
741 regulator-boot-on;
746 regulator-name = "VDD_ARM";
747 regulator-min-microvolt = <850000>;
748 regulator-max-microvolt = <1500000>;
749 regulator-always-on;
750 regulator-boot-on;
755 regulator-name = "VDD_INT";
756 regulator-min-microvolt = <850000>;
757 regulator-max-microvolt = <1300000>;
758 regulator-always-on;
759 regulator-boot-on;
764 regulator-name = "VDD_G3D";
765 regulator-min-microvolt = <850000>;
766 regulator-max-microvolt = <1150000>;
767 regulator-boot-on;
772 regulator-name = "VMEM_1.2V_AP";
773 regulator-min-microvolt = <1200000>;
774 regulator-max-microvolt = <1200000>;
775 regulator-always-on;
776 regulator-boot-on;
781 regulator-name = "CAM_ISP_CORE_1.2V";
782 regulator-min-microvolt = <1200000>;
783 regulator-max-microvolt = <1200000>;
786 regulator-state-mem {
787 regulator-off-in-suspend;
793 compatible = "samsung,s5m8767-clk";
794 #clock-cells = <1>;
795 clock-output-names = "en32khz_ap",
803 pinctrl-0 = <&i2s0_bus>;
804 pinctrl-names = "default";
809 broken-cd;
810 non-removable;
811 card-detect-delay = <200>;
812 vmmc-supply = <&ldo22_reg>;
813 clock-frequency = <400000000>;
814 samsung,dw-mshc-ciu-div = <0>;
815 samsung,dw-mshc-sdr-timing = <2 3>;
816 samsung,dw-mshc-ddr-timing = <1 2>;
817 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
818 pinctrl-names = "default";
819 bus-width = <8>;
820 cap-mmc-highspeed;
821 mmc-ddr-1_8v;
826 pinctrl-names = "default";
827 pinctrl-0 = <&sleep0>;
829 lcd_en: lcd-en-pins {
830 samsung,pins = "gpc0-1";
831 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
832 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
835 lcd_nrst: lcd-nrst-pins {
836 samsung,pins = "gpf0-4";
837 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
838 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
841 s5m8767_ds: s5m8767-ds-pins {
842 samsung,pins = "gpf3-1", "gpf3-2", "gpf3-3";
843 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
844 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
845 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
848 sleep0: sleep-state {
849 PIN_SLP(gpa0-0, INPUT, NONE);
850 PIN_SLP(gpa0-1, OUT0, NONE);
851 PIN_SLP(gpa0-2, INPUT, NONE);
852 PIN_SLP(gpa0-3, INPUT, UP);
853 PIN_SLP(gpa0-4, INPUT, DOWN);
854 PIN_SLP(gpa0-5, INPUT, DOWN);
855 PIN_SLP(gpa0-6, INPUT, DOWN);
856 PIN_SLP(gpa0-7, INPUT, DOWN);
858 PIN_SLP(gpa1-0, INPUT, DOWN);
859 PIN_SLP(gpa1-1, INPUT, DOWN);
860 PIN_SLP(gpa1-2, INPUT, DOWN);
861 PIN_SLP(gpa1-3, INPUT, DOWN);
862 PIN_SLP(gpa1-4, INPUT, DOWN);
863 PIN_SLP(gpa1-5, INPUT, DOWN);
865 PIN_SLP(gpb-0, INPUT, NONE);
866 PIN_SLP(gpb-1, INPUT, NONE);
867 PIN_SLP(gpb-2, INPUT, NONE);
868 PIN_SLP(gpb-3, INPUT, NONE);
869 PIN_SLP(gpb-4, INPUT, DOWN);
870 PIN_SLP(gpb-5, INPUT, DOWN);
871 PIN_SLP(gpb-6, INPUT, DOWN);
872 PIN_SLP(gpb-7, INPUT, DOWN);
874 PIN_SLP(gpc0-0, INPUT, DOWN);
875 PIN_SLP(gpc0-1, INPUT, DOWN);
876 PIN_SLP(gpc0-2, INPUT, NONE);
877 PIN_SLP(gpc0-3, INPUT, NONE);
878 PIN_SLP(gpc0-4, INPUT, NONE);
880 PIN_SLP(gpc1-0, INPUT, DOWN);
881 PIN_SLP(gpc1-1, INPUT, DOWN);
882 PIN_SLP(gpc1-2, INPUT, DOWN);
883 PIN_SLP(gpc1-3, INPUT, DOWN);
884 PIN_SLP(gpc1-4, INPUT, DOWN);
886 PIN_SLP(gpd0-0, INPUT, DOWN);
887 PIN_SLP(gpd0-1, OUT0, NONE);
888 PIN_SLP(gpd0-2, INPUT, NONE);
889 PIN_SLP(gpd0-3, INPUT, NONE);
891 PIN_SLP(gpd1-0, INPUT, DOWN);
892 PIN_SLP(gpd1-1, INPUT, DOWN);
893 PIN_SLP(gpd1-2, INPUT, NONE);
894 PIN_SLP(gpd1-3, INPUT, NONE);
896 PIN_SLP(gpf0-0, INPUT, DOWN);
897 PIN_SLP(gpf0-1, INPUT, DOWN);
898 PIN_SLP(gpf0-2, INPUT, DOWN);
899 PIN_SLP(gpf0-3, INPUT, DOWN);
900 PIN_SLP(gpf0-4, OUT0, NONE);
901 PIN_SLP(gpf0-5, OUT0, NONE);
902 PIN_SLP(gpf0-6, INPUT, DOWN);
903 PIN_SLP(gpf0-7, INPUT, DOWN);
905 PIN_SLP(gpf1-0, INPUT, DOWN);
906 PIN_SLP(gpf1-1, INPUT, DOWN);
907 PIN_SLP(gpf1-2, INPUT, DOWN);
908 PIN_SLP(gpf1-3, INPUT, DOWN);
909 PIN_SLP(gpf1-4, INPUT, DOWN);
910 PIN_SLP(gpf1-5, INPUT, DOWN);
911 PIN_SLP(gpf1-6, INPUT, DOWN);
912 PIN_SLP(gpf1-7, INPUT, DOWN);
914 PIN_SLP(gpf2-0, INPUT, DOWN);
915 PIN_SLP(gpf2-1, INPUT, DOWN);
916 PIN_SLP(gpf2-2, INPUT, DOWN);
917 PIN_SLP(gpf2-3, INPUT, DOWN);
918 PIN_SLP(gpf2-4, INPUT, DOWN);
919 PIN_SLP(gpf2-5, INPUT, DOWN);
920 PIN_SLP(gpf2-6, INPUT, DOWN);
921 PIN_SLP(gpf2-7, INPUT, DOWN);
923 PIN_SLP(gpf3-0, INPUT, DOWN);
924 PIN_SLP(gpf3-1, INPUT, DOWN);
925 PIN_SLP(gpf3-2, INPUT, DOWN);
926 PIN_SLP(gpf3-3, INPUT, DOWN);
927 PIN_SLP(gpf3-4, PREV, NONE);
928 PIN_SLP(gpf3-5, OUT0, DOWN);
930 PIN_SLP(gpj0-0, INPUT, DOWN);
931 PIN_SLP(gpj0-1, INPUT, DOWN);
932 PIN_SLP(gpj0-2, INPUT, DOWN);
933 PIN_SLP(gpj0-3, OUT0, NONE);
934 PIN_SLP(gpj0-4, INPUT, DOWN);
935 PIN_SLP(gpj0-5, INPUT, DOWN);
936 PIN_SLP(gpj0-6, OUT0, NONE);
937 PIN_SLP(gpj0-7, OUT0, NONE);
939 PIN_SLP(gpj1-0, OUT0, NONE);
940 PIN_SLP(gpj1-1, INPUT, DOWN);
941 PIN_SLP(gpj1-2, PREV, NONE);
942 PIN_SLP(gpj1-3, INPUT, DOWN);
943 PIN_SLP(gpj1-4, INPUT, DOWN);
948 pinctrl-names = "default";
949 pinctrl-0 = <&sleep1>;
951 bt_shutdown: bt-shutdown-pins {
952 samsung,pins = "gpl0-6";
953 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
956 bt_host_wakeup: bt-host-wakeup-pins {
957 samsung,pins = "gpx2-6";
958 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
961 bt_device_wakeup: bt-device-wakeup-pins {
962 samsung,pins = "gpx3-1";
963 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
966 backlight_reset: backlight-reset-pins {
967 samsung,pins = "gpm0-1";
968 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
969 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
972 gpio_keys: gpio-keys-pins {
973 samsung,pins = "gpx1-2", "gpx2-2", "gpx2-4", "gpx2-7", "gpx3-3";
974 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
977 max77693_irq: max77693-irq-pins {
978 samsung,pins = "gpx1-5";
979 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
980 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
981 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
984 max77693_fuel_irq: max77693-fuel-irq-pins {
985 samsung,pins = "gpx2-3";
986 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
987 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
988 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
991 sdhci2_cd: sdhci2-cd-irq-pins {
992 samsung,pins = "gpx3-4";
993 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
994 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
995 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
998 s5m8767_dvs: s5m8767-dvs-pins {
999 samsung,pins = "gpm3-0", "gpm3-1", "gpm3-2";
1000 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
1001 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1002 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
1005 s5m8767_irq: s5m8767-irq-pins {
1006 samsung,pins = "gpx0-7";
1007 samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>;
1008 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1009 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
1012 sleep1: sleep-state {
1013 PIN_SLP(gpk0-0, PREV, NONE);
1014 PIN_SLP(gpk0-1, PREV, NONE);
1015 PIN_SLP(gpk0-2, PREV, NONE);
1016 PIN_SLP(gpk0-3, PREV, NONE);
1017 PIN_SLP(gpk0-4, PREV, NONE);
1018 PIN_SLP(gpk0-5, PREV, NONE);
1019 PIN_SLP(gpk0-6, PREV, NONE);
1021 PIN_SLP(gpk1-0, INPUT, DOWN);
1022 PIN_SLP(gpk1-1, INPUT, DOWN);
1023 PIN_SLP(gpk1-2, INPUT, DOWN);
1024 PIN_SLP(gpk1-3, PREV, NONE);
1025 PIN_SLP(gpk1-4, PREV, NONE);
1026 PIN_SLP(gpk1-5, PREV, NONE);
1027 PIN_SLP(gpk1-6, PREV, NONE);
1029 PIN_SLP(gpk2-0, INPUT, DOWN);
1030 PIN_SLP(gpk2-1, INPUT, DOWN);
1031 PIN_SLP(gpk2-2, INPUT, DOWN);
1032 PIN_SLP(gpk2-3, INPUT, DOWN);
1033 PIN_SLP(gpk2-4, INPUT, DOWN);
1034 PIN_SLP(gpk2-5, INPUT, DOWN);
1035 PIN_SLP(gpk2-6, INPUT, DOWN);
1037 PIN_SLP(gpk3-0, OUT0, NONE);
1038 PIN_SLP(gpk3-1, INPUT, NONE);
1039 PIN_SLP(gpk3-2, INPUT, DOWN);
1040 PIN_SLP(gpk3-3, INPUT, NONE);
1041 PIN_SLP(gpk3-4, INPUT, NONE);
1042 PIN_SLP(gpk3-5, INPUT, NONE);
1043 PIN_SLP(gpk3-6, INPUT, NONE);
1045 PIN_SLP(gpl0-0, INPUT, DOWN);
1046 PIN_SLP(gpl0-1, INPUT, NONE);
1047 PIN_SLP(gpl0-2, INPUT, NONE);
1048 PIN_SLP(gpl0-3, INPUT, DOWN);
1049 PIN_SLP(gpl0-4, INPUT, DOWN);
1050 PIN_SLP(gpl0-6, PREV, NONE);
1052 PIN_SLP(gpl1-0, INPUT, DOWN);
1053 PIN_SLP(gpl1-1, OUT0, NONE);
1054 PIN_SLP(gpl2-0, INPUT, DOWN);
1055 PIN_SLP(gpl2-1, PREV, NONE);
1056 PIN_SLP(gpl2-2, PREV, NONE);
1057 PIN_SLP(gpl2-3, INPUT, DOWN);
1058 PIN_SLP(gpl2-4, INPUT, DOWN);
1059 PIN_SLP(gpl2-5, INPUT, DOWN);
1060 PIN_SLP(gpl2-6, INPUT, DOWN);
1061 PIN_SLP(gpl2-7, INPUT, DOWN);
1063 PIN_SLP(gpm0-0, PREV, NONE);
1064 PIN_SLP(gpm0-1, OUT0, NONE);
1065 PIN_SLP(gpm0-2, INPUT, DOWN);
1066 PIN_SLP(gpm0-3, INPUT, DOWN);
1067 PIN_SLP(gpm0-4, INPUT, DOWN);
1068 PIN_SLP(gpm0-5, INPUT, DOWN);
1069 PIN_SLP(gpm0-6, INPUT, DOWN);
1070 PIN_SLP(gpm0-7, INPUT, DOWN);
1072 PIN_SLP(gpm1-0, INPUT, DOWN);
1073 PIN_SLP(gpm1-1, INPUT, DOWN);
1074 PIN_SLP(gpm1-2, INPUT, NONE);
1075 PIN_SLP(gpm1-3, INPUT, NONE);
1076 PIN_SLP(gpm1-4, INPUT, NONE);
1077 PIN_SLP(gpm1-5, INPUT, NONE);
1078 PIN_SLP(gpm1-6, OUT0, NONE);
1080 PIN_SLP(gpm2-0, INPUT, NONE);
1081 PIN_SLP(gpm2-1, INPUT, NONE);
1082 PIN_SLP(gpm2-2, OUT0, NONE);
1083 PIN_SLP(gpm2-3, INPUT, DOWN);
1084 PIN_SLP(gpm2-4, INPUT, DOWN);
1086 PIN_SLP(gpm3-0, PREV, NONE);
1087 PIN_SLP(gpm3-1, PREV, NONE);
1088 PIN_SLP(gpm3-2, PREV, NONE);
1089 PIN_SLP(gpm3-3, INPUT, DOWN);
1090 PIN_SLP(gpm3-4, INPUT, DOWN);
1091 PIN_SLP(gpm3-5, PREV, NONE);
1092 PIN_SLP(gpm3-6, INPUT, DOWN);
1093 PIN_SLP(gpm3-7, OUT0, NONE);
1095 PIN_SLP(gpm4-0, INPUT, DOWN);
1096 PIN_SLP(gpm4-1, INPUT, DOWN);
1097 PIN_SLP(gpm4-2, INPUT, DOWN);
1098 PIN_SLP(gpm4-3, INPUT, DOWN);
1099 PIN_SLP(gpm4-4, PREV, NONE);
1100 PIN_SLP(gpm4-5, INPUT, NONE);
1101 PIN_SLP(gpm4-6, INPUT, DOWN);
1102 PIN_SLP(gpm4-7, INPUT, DOWN);
1104 PIN_SLP(gpy0-0, INPUT, DOWN);
1105 PIN_SLP(gpy0-1, INPUT, DOWN);
1106 PIN_SLP(gpy0-2, INPUT, NONE);
1107 PIN_SLP(gpy0-3, INPUT, NONE);
1108 PIN_SLP(gpy0-4, INPUT, DOWN);
1109 PIN_SLP(gpy0-5, INPUT, DOWN);
1111 PIN_SLP(gpy1-0, INPUT, DOWN);
1112 PIN_SLP(gpy1-1, INPUT, DOWN);
1113 PIN_SLP(gpy1-2, INPUT, DOWN);
1114 PIN_SLP(gpy1-3, INPUT, DOWN);
1116 PIN_SLP(gpy2-0, PREV, NONE);
1117 PIN_SLP(gpy2-1, INPUT, DOWN);
1118 PIN_SLP(gpy2-2, INPUT, NONE);
1119 PIN_SLP(gpy2-3, INPUT, NONE);
1120 PIN_SLP(gpy2-4, INPUT, NONE);
1121 PIN_SLP(gpy2-5, INPUT, NONE);
1123 PIN_SLP(gpy3-0, INPUT, DOWN);
1124 PIN_SLP(gpy3-1, INPUT, DOWN);
1125 PIN_SLP(gpy3-2, INPUT, DOWN);
1126 PIN_SLP(gpy3-3, INPUT, DOWN);
1127 PIN_SLP(gpy3-4, INPUT, DOWN);
1128 PIN_SLP(gpy3-5, INPUT, DOWN);
1129 PIN_SLP(gpy3-6, INPUT, DOWN);
1130 PIN_SLP(gpy3-7, INPUT, DOWN);
1132 PIN_SLP(gpy4-0, INPUT, DOWN);
1133 PIN_SLP(gpy4-1, INPUT, DOWN);
1134 PIN_SLP(gpy4-2, INPUT, DOWN);
1135 PIN_SLP(gpy4-3, INPUT, DOWN);
1136 PIN_SLP(gpy4-4, INPUT, DOWN);
1137 PIN_SLP(gpy4-5, INPUT, DOWN);
1138 PIN_SLP(gpy4-6, INPUT, DOWN);
1139 PIN_SLP(gpy4-7, INPUT, DOWN);
1141 PIN_SLP(gpy5-0, INPUT, DOWN);
1142 PIN_SLP(gpy5-1, INPUT, DOWN);
1143 PIN_SLP(gpy5-2, INPUT, DOWN);
1144 PIN_SLP(gpy5-3, INPUT, DOWN);
1145 PIN_SLP(gpy5-4, INPUT, DOWN);
1146 PIN_SLP(gpy5-5, INPUT, DOWN);
1147 PIN_SLP(gpy5-6, INPUT, DOWN);
1148 PIN_SLP(gpy5-7, INPUT, DOWN);
1150 PIN_SLP(gpy6-0, INPUT, DOWN);
1151 PIN_SLP(gpy6-1, INPUT, DOWN);
1152 PIN_SLP(gpy6-2, INPUT, DOWN);
1153 PIN_SLP(gpy6-3, INPUT, DOWN);
1154 PIN_SLP(gpy6-4, INPUT, DOWN);
1155 PIN_SLP(gpy6-5, INPUT, DOWN);
1156 PIN_SLP(gpy6-6, INPUT, DOWN);
1157 PIN_SLP(gpy6-7, INPUT, DOWN);
1162 pinctrl-names = "default";
1163 pinctrl-0 = <&sleep2>;
1165 sleep2: sleep-state {
1166 PIN_SLP(gpz-0, INPUT, DOWN);
1167 PIN_SLP(gpz-1, INPUT, DOWN);
1168 PIN_SLP(gpz-2, INPUT, DOWN);
1169 PIN_SLP(gpz-3, INPUT, DOWN);
1170 PIN_SLP(gpz-4, INPUT, DOWN);
1171 PIN_SLP(gpz-5, INPUT, DOWN);
1172 PIN_SLP(gpz-6, INPUT, DOWN);
1177 pinctrl-names = "default";
1178 pinctrl-0 = <&sleep3>;
1180 sleep3: sleep-state {
1181 PIN_SLP(gpv0-0, INPUT, DOWN);
1182 PIN_SLP(gpv0-1, INPUT, DOWN);
1183 PIN_SLP(gpv0-2, INPUT, DOWN);
1184 PIN_SLP(gpv0-3, INPUT, DOWN);
1185 PIN_SLP(gpv0-4, INPUT, DOWN);
1186 PIN_SLP(gpv0-5, INPUT, DOWN);
1187 PIN_SLP(gpv0-6, INPUT, DOWN);
1188 PIN_SLP(gpv0-7, INPUT, DOWN);
1190 PIN_SLP(gpv1-0, INPUT, DOWN);
1191 PIN_SLP(gpv1-1, INPUT, DOWN);
1192 PIN_SLP(gpv1-2, INPUT, DOWN);
1193 PIN_SLP(gpv1-3, INPUT, DOWN);
1194 PIN_SLP(gpv1-4, INPUT, DOWN);
1195 PIN_SLP(gpv1-5, INPUT, DOWN);
1196 PIN_SLP(gpv1-6, INPUT, DOWN);
1197 PIN_SLP(gpv1-7, INPUT, DOWN);
1199 PIN_SLP(gpv2-0, INPUT, DOWN);
1200 PIN_SLP(gpv2-1, INPUT, DOWN);
1201 PIN_SLP(gpv2-2, INPUT, DOWN);
1202 PIN_SLP(gpv2-3, INPUT, DOWN);
1203 PIN_SLP(gpv2-4, INPUT, DOWN);
1204 PIN_SLP(gpv2-5, INPUT, DOWN);
1205 PIN_SLP(gpv2-6, INPUT, DOWN);
1206 PIN_SLP(gpv2-7, INPUT, DOWN);
1208 PIN_SLP(gpv3-0, INPUT, DOWN);
1209 PIN_SLP(gpv3-1, INPUT, DOWN);
1210 PIN_SLP(gpv3-2, INPUT, DOWN);
1211 PIN_SLP(gpv3-3, INPUT, DOWN);
1212 PIN_SLP(gpv3-4, INPUT, DOWN);
1213 PIN_SLP(gpv3-5, INPUT, DOWN);
1214 PIN_SLP(gpv3-6, INPUT, DOWN);
1215 PIN_SLP(gpv3-7, INPUT, DOWN);
1217 PIN_SLP(gpv4-0, INPUT, DOWN);
1218 PIN_SLP(gpv4-1, INPUT, DOWN);
1223 assigned-clocks = <&pmu_system_controller 0>;
1224 assigned-clock-parents = <&clock CLK_XUSBXTI>;
1228 pinctrl-0 = <&pwm1_out>;
1229 pinctrl-names = "default";
1230 samsung,pwm-outputs = <1>;
1244 clock-names = "rtc", "rtc_src";
1249 bus-width = <4>;
1250 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1251 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1252 pinctrl-names = "default";
1253 vmmc-supply = <&ldo23_reg>;
1258 #address-cells = <1>;
1259 #size-cells = <0>;
1260 non-removable;
1261 bus-width = <4>;
1263 mmc-pwrseq = <&wlan_pwrseq>;
1264 pinctrl-names = "default";
1265 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
1269 compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac";
1272 interrupt-parent = <&gpx2>;
1274 interrupt-names = "host-wake";
1279 pinctrl-0 = <&uart0_data &uart0_fctl>;
1280 pinctrl-names = "default";
1284 compatible = "brcm,bcm4330-bt"; /* BCM4334B0 */
1285 pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
1286 pinctrl-names = "default";
1287 max-speed = <3000000>;
1288 shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>;
1289 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
1290 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
1308 vtmu-supply = <&ldo10_reg>;