1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4412 based Trats 2 board device tree source
5 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
8 * Device tree source file for Samsung's Trats 2 board which is based on
9 * Samsung's Exynos4412 SoC.
13 #include "exynos4412.dtsi"
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
18 #include <dt-bindings/clock/maxim,max77686.h>
19 #include <dt-bindings/pinctrl/samsung.h>
22 compatible = "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
25 i2c11 = &i2c_max77693;
26 i2c12 = &i2c_max77693_fuel;
30 stdout-path = &serial_2;
34 compatible = "samsung,secure-firmware";
35 reg = <0x0204F000 0x1000>;
40 compatible = "samsung,clock-xxti", "fixed-clock";
41 clock-frequency = <0>;
45 compatible = "samsung,clock-xusbxti", "fixed-clock";
46 clock-frequency = <24000000>;
50 cam_io_reg: voltage-regulator-1 {
51 compatible = "regulator-fixed";
52 regulator-name = "CAM_SENSOR_A";
53 regulator-min-microvolt = <2800000>;
54 regulator-max-microvolt = <2800000>;
59 cam_af_reg: voltage-regulator-2 {
60 compatible = "regulator-fixed";
61 regulator-name = "CAM_AF";
62 regulator-min-microvolt = <2800000>;
63 regulator-max-microvolt = <2800000>;
68 vsil12: voltage-regulator-3 {
69 compatible = "regulator-fixed";
70 regulator-name = "VSIL_1.2V";
71 regulator-min-microvolt = <1200000>;
72 regulator-max-microvolt = <1200000>;
73 gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
75 vin-supply = <&buck7_reg>;
78 vcc33mhl: voltage-regulator-4 {
79 compatible = "regulator-fixed";
80 regulator-name = "VCC_3.3_MHL";
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
83 gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
87 vcc18mhl: voltage-regulator-5 {
88 compatible = "regulator-fixed";
89 regulator-name = "VCC_1.8_MHL";
90 regulator-min-microvolt = <1800000>;
91 regulator-max-microvolt = <1800000>;
92 gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
96 touchkey_reg: voltage-regulator-6 {
97 compatible = "regulator-fixed";
98 regulator-name = "LED_VDD_3.3V";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
106 compatible = "gpio-keys";
107 pinctrl-names = "default";
108 pinctrl-0 = <&gpio_keys>;
111 gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
113 label = "volume down";
114 debounce-interval = <10>;
118 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
121 debounce-interval = <10>;
125 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
128 debounce-interval = <10>;
133 gpios = <&gpx0 1 GPIO_ACTIVE_LOW>;
136 debounce-interval = <10>;
141 i2c_max77693: i2c-gpio-1 {
142 compatible = "i2c-gpio";
143 gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
144 i2c-gpio,delay-us = <2>;
145 #address-cells = <1>;
150 compatible = "maxim,max77693";
151 interrupt-parent = <&gpx1>;
152 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
153 pinctrl-names = "default";
154 pinctrl-0 = <&max77693_irq>;
158 esafeout1_reg: ESAFEOUT1 {
159 regulator-name = "ESAFEOUT1";
161 esafeout2_reg: ESAFEOUT2 {
162 regulator-name = "ESAFEOUT2";
164 charger_reg: CHARGER {
165 regulator-name = "CHARGER";
166 regulator-min-microamp = <60000>;
167 regulator-max-microamp = <2580000>;
172 compatible = "maxim,max77693-haptic";
173 haptic-supply = <&ldo26_reg>;
174 pwms = <&pwm 0 38022 0>;
178 compatible = "maxim,max77693-charger";
180 maxim,constant-microvolt = <4350000>;
181 maxim,min-system-microvolt = <3600000>;
182 maxim,thermal-regulation-celsius = <100>;
183 maxim,battery-overcurrent-microamp = <3500000>;
184 maxim,charge-input-threshold-microvolt = <4300000>;
189 i2c_max77693_fuel: i2c-gpio-3 {
190 compatible = "i2c-gpio";
191 gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
192 i2c-gpio,delay-us = <2>;
193 #address-cells = <1>;
197 max77693-fuel-gauge@36 {
198 compatible = "maxim,max17047";
199 interrupt-parent = <&gpx2>;
200 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&max77693_fuel_irq>;
205 maxim,over-heat-temp = <700>;
206 maxim,over-volt = <4500>;
211 compatible = "i2c-gpio";
212 sda-gpios = <&gpl0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
213 scl-gpios = <&gpl0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
214 i2c-gpio,delay-us = <2>;
215 #address-cells = <1>;
219 compatible = "cypress,midas-touchkey";
221 vdd-supply = <&touchkey_reg>;
222 vcc-supply = <&ldo5_reg>;
223 interrupt-parent = <&gpj0>;
224 interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
225 linux,keycodes = <KEY_BACK KEY_MENU>;
230 compatible = "i2c-gpio";
231 gpios = <&gpf0 4 GPIO_ACTIVE_HIGH>, <&gpf0 6 GPIO_ACTIVE_HIGH>;
232 i2c-gpio,delay-us = <100>;
233 #address-cells = <1>;
236 pinctrl-0 = <&i2c_mhl_bus>;
237 pinctrl-names = "default";
240 sii9234: hdmi-bridge@39 {
241 compatible = "sil,sii9234";
242 avcc33-supply = <&vcc33mhl>;
243 iovcc18-supply = <&vcc18mhl>;
244 avcc12-supply = <&vsil12>;
245 cvcc12-supply = <&vsil12>;
246 reset-gpios = <&gpf3 4 GPIO_ACTIVE_LOW>;
247 interrupt-parent = <&gpf3>;
248 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
252 mhl_to_hdmi: endpoint {
253 remote-endpoint = <&hdmi_to_mhl>;
259 wlan_pwrseq: sdhci3-pwrseq {
260 compatible = "mmc-pwrseq-simple";
261 reset-gpios = <&gpj0 0 GPIO_ACTIVE_LOW>;
262 clocks = <&max77686 MAX77686_CLK_PMIC>;
263 clock-names = "ext_clock";
267 compatible = "samsung,trats2-audio";
268 samsung,i2s-controller = <&i2s0>;
269 samsung,model = "Trats2";
270 samsung,audio-codec = <&wm1811>;
271 samsung,audio-routing =
279 compatible = "murata,ncp15wb473";
280 pullup-uv = <1800000>; /* VCC_1.8V_AP */
281 pullup-ohm = <100000>; /* 100K */
282 pulldown-ohm = <100000>; /* 100K */
283 io-channels = <&adc 1>; /* AP temperature */
287 compatible = "murata,ncp15wb473";
288 pullup-uv = <1800000>; /* VCC_1.8V_AP */
289 pullup-ohm = <100000>; /* 100K */
290 pulldown-ohm = <100000>; /* 100K */
291 io-channels = <&adc 2>; /* Battery temperature */
295 cpu_thermal: cpu-thermal {
298 /* Corresponds to 800MHz at freq_table */
299 cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
300 <&cpu2 7 7>, <&cpu3 7 7>;
303 /* Corresponds to 200MHz at freq_table */
304 cooling-device = <&cpu0 13 13>,
315 vdd-supply = <&ldo3_reg>;
320 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
321 vdd-supply = <&buck1_reg>;
326 devfreq = <&bus_dmc>;
331 devfreq = <&bus_dmc>;
336 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
337 vdd-supply = <&buck3_reg>;
342 devfreq = <&bus_leftbus>;
347 devfreq = <&bus_leftbus>;
352 devfreq = <&bus_leftbus>;
357 devfreq = <&bus_leftbus>;
362 devfreq = <&bus_leftbus>;
367 pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
368 pinctrl-names = "default";
370 assigned-clocks = <&clock CLK_MOUT_CAM0>,
371 <&clock CLK_MOUT_CAM1>;
372 assigned-clock-parents = <&clock CLK_XUSBXTI>,
373 <&clock CLK_XUSBXTI>;
377 cpu0-supply = <&buck2_reg>;
382 vddcore-supply = <&ldo8_reg>;
383 vddio-supply = <&ldo10_reg>;
384 assigned-clocks = <&clock CLK_MOUT_CSIS0>,
385 <&clock CLK_SCLK_CSIS0>;
386 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
387 assigned-clock-rates = <0>, <176000000>;
389 /* Camera C (3) MIPI CSI-2 (CSIS0) */
393 remote-endpoint = <&s5c73m3_ep>;
394 data-lanes = <1 2 3 4>;
395 samsung,csis-hs-settle = <12>;
402 vddcore-supply = <&ldo8_reg>;
403 vddio-supply = <&ldo10_reg>;
404 assigned-clocks = <&clock CLK_MOUT_CSIS1>,
405 <&clock CLK_SCLK_CSIS1>;
406 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
407 assigned-clock-rates = <0>, <176000000>;
409 /* Camera D (4) MIPI CSI-2 (CSIS1) */
413 remote-endpoint = <&is_s5k6a3_ep>;
415 samsung,csis-hs-settle = <18>;
422 vddcore-supply = <&ldo8_reg>;
423 vddio-supply = <&ldo10_reg>;
424 samsung,burst-clock-frequency = <500000000>;
425 samsung,esc-clock-frequency = <20000000>;
426 samsung,pll-clock-frequency = <24000000>;
430 vbus-supply = <&esafeout1_reg>;
436 assigned-clocks = <&clock CLK_MOUT_FIMC0>,
437 <&clock CLK_SCLK_FIMC0>;
438 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
439 assigned-clock-rates = <0>, <176000000>;
444 assigned-clocks = <&clock CLK_MOUT_FIMC1>,
445 <&clock CLK_SCLK_FIMC1>;
446 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
447 assigned-clock-rates = <0>, <176000000>;
452 assigned-clocks = <&clock CLK_MOUT_FIMC2>,
453 <&clock CLK_SCLK_FIMC2>;
454 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
455 assigned-clock-rates = <0>, <176000000>;
460 assigned-clocks = <&clock CLK_MOUT_FIMC3>,
461 <&clock CLK_SCLK_FIMC3>;
462 assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
463 assigned-clock-rates = <0>, <176000000>;
467 pinctrl-0 = <&fimc_is_uart>;
468 pinctrl-names = "default";
486 mali-supply = <&buck4_reg>;
491 hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
492 pinctrl-names = "default";
493 pinctrl-0 = <&hdmi_hpd>;
494 vdd-supply = <&ldo3_reg>;
495 vdd_osc-supply = <&ldo4_reg>;
496 vdd_pll-supply = <&ldo3_reg>;
501 #address-cells = <1>;
506 hdmi_to_mhl: endpoint {
507 remote-endpoint = <&mhl_to_hdmi>;
514 vusb_d-supply = <&ldo15_reg>;
515 vusb_a-supply = <&ldo12_reg>;
516 dr_mode = "peripheral";
521 samsung,i2c-sda-delay = <100>;
522 samsung,i2c-slave-addr = <0x10>;
523 samsung,i2c-max-bus-freq = <400000>;
524 pinctrl-0 = <&i2c0_bus>;
525 pinctrl-names = "default";
528 s5c73m3: s5c73m3@3c {
529 compatible = "samsung,s5c73m3";
531 xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */
532 vdd-int-supply = <&buck9_reg>;
533 vddio-cis-supply = <&ldo9_reg>;
534 vddio-host-supply = <&ldo18_reg>;
535 vdd-af-supply = <&cam_af_reg>;
536 vdd-reg-supply = <&cam_io_reg>;
537 clock-frequency = <24000000>;
539 clocks = <&camera 0>;
540 clock-names = "cis_extclk";
543 s5c73m3_ep: endpoint {
544 remote-endpoint = <&csis0_ep>;
545 data-lanes = <1 2 3 4>;
552 pinctrl-0 = <&fimc_is_i2c1>;
553 pinctrl-names = "default";
556 compatible = "samsung,s5k6a3";
558 svdda-supply = <&cam_io_reg>;
559 svddio-supply = <&ldo19_reg>;
560 afvdd-supply = <&ldo19_reg>;
561 clock-frequency = <24000000>;
563 clocks = <&camera 1>;
564 clock-names = "extclk";
565 samsung,camclk-out = <1>;
566 gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>;
569 is_s5k6a3_ep: endpoint {
570 remote-endpoint = <&csis1_ep>;
578 samsung,i2c-sda-delay = <100>;
579 samsung,i2c-slave-addr = <0x10>;
580 samsung,i2c-max-bus-freq = <400000>;
581 pinctrl-0 = <&i2c3_bus>;
582 pinctrl-names = "default";
587 samsung,i2c-sda-delay = <100>;
588 samsung,i2c-slave-addr = <0x10>;
589 samsung,i2c-max-bus-freq = <100000>;
590 pinctrl-0 = <&i2c4_bus>;
591 pinctrl-names = "default";
595 compatible = "wlf,wm1811";
597 clocks = <&pmu_system_controller 0>;
598 clock-names = "MCLK1";
599 DCVDD-supply = <&ldo3_reg>;
600 DBVDD1-supply = <&ldo3_reg>;
601 wlf,ldo1ena = <&gpj0 4 0>;
610 samsung,i2c-sda-delay = <100>;
611 samsung,i2c-slave-addr = <0x10>;
612 samsung,i2c-max-bus-freq = <100000>;
613 pinctrl-0 = <&i2c7_bus>;
614 pinctrl-names = "default";
617 max77686: max77686_pmic@9 {
618 compatible = "maxim,max77686";
619 interrupt-parent = <&gpx0>;
620 interrupts = <7 IRQ_TYPE_NONE>;
621 pinctrl-0 = <&max77686_irq>;
622 pinctrl-names = "default";
628 regulator-name = "VALIVE_1.0V_AP";
629 regulator-min-microvolt = <1000000>;
630 regulator-max-microvolt = <1000000>;
635 regulator-name = "VM1M2_1.2V_AP";
636 regulator-min-microvolt = <1200000>;
637 regulator-max-microvolt = <1200000>;
639 regulator-state-mem {
640 regulator-on-in-suspend;
645 regulator-name = "VCC_1.8V_AP";
646 regulator-min-microvolt = <1800000>;
647 regulator-max-microvolt = <1800000>;
652 regulator-name = "VCC_2.8V_AP";
653 regulator-min-microvolt = <2800000>;
654 regulator-max-microvolt = <2800000>;
659 regulator-name = "VCC_1.8V_IO";
660 regulator-min-microvolt = <1800000>;
661 regulator-max-microvolt = <1800000>;
666 regulator-name = "VMPLL_1.0V_AP";
667 regulator-min-microvolt = <1000000>;
668 regulator-max-microvolt = <1000000>;
670 regulator-state-mem {
671 regulator-on-in-suspend;
676 regulator-name = "VPLL_1.0V_AP";
677 regulator-min-microvolt = <1000000>;
678 regulator-max-microvolt = <1000000>;
680 regulator-state-mem {
681 regulator-on-in-suspend;
686 regulator-name = "VMIPI_1.0V";
687 regulator-min-microvolt = <1000000>;
688 regulator-max-microvolt = <1000000>;
689 regulator-state-mem {
690 regulator-off-in-suspend;
695 regulator-name = "CAM_ISP_MIPI_1.2V";
696 regulator-min-microvolt = <1200000>;
697 regulator-max-microvolt = <1200000>;
701 regulator-name = "VMIPI_1.8V";
702 regulator-min-microvolt = <1800000>;
703 regulator-max-microvolt = <1800000>;
704 regulator-state-mem {
705 regulator-off-in-suspend;
710 regulator-name = "VABB1_1.95V";
711 regulator-min-microvolt = <1950000>;
712 regulator-max-microvolt = <1950000>;
714 regulator-state-mem {
715 regulator-off-in-suspend;
720 regulator-name = "VUOTG_3.0V";
721 regulator-min-microvolt = <3000000>;
722 regulator-max-microvolt = <3000000>;
723 regulator-state-mem {
724 regulator-off-in-suspend;
729 regulator-name = "NFC_AVDD_1.8V";
730 regulator-min-microvolt = <1800000>;
731 regulator-max-microvolt = <1800000>;
735 regulator-name = "VABB2_1.95V";
736 regulator-min-microvolt = <1950000>;
737 regulator-max-microvolt = <1950000>;
739 regulator-state-mem {
740 regulator-off-in-suspend;
745 regulator-name = "VHSIC_1.0V";
746 regulator-min-microvolt = <1000000>;
747 regulator-max-microvolt = <1000000>;
748 regulator-state-mem {
749 regulator-on-in-suspend;
754 regulator-name = "VHSIC_1.8V";
755 regulator-min-microvolt = <1800000>;
756 regulator-max-microvolt = <1800000>;
757 regulator-state-mem {
758 regulator-on-in-suspend;
763 regulator-name = "CAM_SENSOR_CORE_1.2V";
764 regulator-min-microvolt = <1200000>;
765 regulator-max-microvolt = <1200000>;
769 regulator-name = "CAM_ISP_SEN_IO_1.8V";
770 regulator-min-microvolt = <1800000>;
771 regulator-max-microvolt = <1800000>;
775 regulator-name = "VT_CAM_1.8V";
776 regulator-min-microvolt = <1800000>;
777 regulator-max-microvolt = <1800000>;
781 regulator-name = "VDDQ_PRE_1.8V";
782 regulator-min-microvolt = <1800000>;
783 regulator-max-microvolt = <1800000>;
787 regulator-name = "VTF_2.8V";
788 regulator-min-microvolt = <2800000>;
789 regulator-max-microvolt = <2800000>;
790 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
794 regulator-name = "VMEM_VDD_2.8V";
795 regulator-min-microvolt = <2800000>;
796 regulator-max-microvolt = <2800000>;
797 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
801 regulator-name = "TSP_AVDD_3.3V";
802 regulator-min-microvolt = <3300000>;
803 regulator-max-microvolt = <3300000>;
807 regulator-name = "TSP_VDD_1.8V";
808 regulator-min-microvolt = <1800000>;
809 regulator-max-microvolt = <1800000>;
813 regulator-name = "LDO25";
817 regulator-name = "MOTOR_VCC_3.0V";
818 regulator-min-microvolt = <3000000>;
819 regulator-max-microvolt = <3000000>;
823 regulator-name = "vdd_mif";
824 regulator-min-microvolt = <850000>;
825 regulator-max-microvolt = <1100000>;
828 regulator-state-mem {
829 regulator-off-in-suspend;
834 regulator-name = "vdd_arm";
835 regulator-min-microvolt = <850000>;
836 regulator-max-microvolt = <1500000>;
839 regulator-state-mem {
840 regulator-on-in-suspend;
845 regulator-name = "vdd_int";
846 regulator-min-microvolt = <850000>;
847 regulator-max-microvolt = <1150000>;
850 regulator-state-mem {
851 regulator-off-in-suspend;
856 regulator-name = "vdd_g3d";
857 regulator-min-microvolt = <850000>;
858 regulator-max-microvolt = <1150000>;
860 regulator-state-mem {
861 regulator-off-in-suspend;
866 regulator-name = "VMEM_1.2V_AP";
867 regulator-min-microvolt = <1200000>;
868 regulator-max-microvolt = <1200000>;
873 regulator-name = "VCC_SUB_1.35V";
874 regulator-min-microvolt = <1350000>;
875 regulator-max-microvolt = <1350000>;
880 regulator-name = "VCC_SUB_2.0V";
881 regulator-min-microvolt = <2000000>;
882 regulator-max-microvolt = <2000000>;
887 regulator-name = "VMEM_VDDF_3.0V";
888 regulator-min-microvolt = <2850000>;
889 regulator-max-microvolt = <2850000>;
890 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
894 regulator-name = "CAM_ISP_CORE_1.2V";
895 regulator-min-microvolt = <1000000>;
896 regulator-max-microvolt = <1200000>;
907 pinctrl-0 = <&i2s0_bus>;
908 pinctrl-names = "default";
919 card-detect-delay = <200>;
920 vmmc-supply = <&ldo22_reg>;
921 clock-frequency = <400000000>;
922 samsung,dw-mshc-ciu-div = <0>;
923 samsung,dw-mshc-sdr-timing = <2 3>;
924 samsung,dw-mshc-ddr-timing = <1 2>;
925 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
926 pinctrl-names = "default";
932 &pmu_system_controller {
933 assigned-clocks = <&pmu_system_controller 0>;
934 assigned-clock-parents = <&clock CLK_XUSBXTI>;
938 pinctrl-names = "default";
939 pinctrl-0 = <&sleep0>;
942 samsung,pins = "gpf3-5";
943 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
946 i2c_mhl_bus: i2c-mhl-bus {
947 samsung,pins = "gpf0-4", "gpf0-6";
948 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
949 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
950 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
953 sleep0: sleep-states {
954 PIN_SLP(gpa0-0, INPUT, NONE);
955 PIN_SLP(gpa0-1, OUT0, NONE);
956 PIN_SLP(gpa0-2, INPUT, NONE);
957 PIN_SLP(gpa0-3, INPUT, UP);
958 PIN_SLP(gpa0-4, INPUT, NONE);
959 PIN_SLP(gpa0-5, INPUT, DOWN);
960 PIN_SLP(gpa0-6, INPUT, DOWN);
961 PIN_SLP(gpa0-7, INPUT, UP);
963 PIN_SLP(gpa1-0, INPUT, DOWN);
964 PIN_SLP(gpa1-1, INPUT, DOWN);
965 PIN_SLP(gpa1-2, INPUT, DOWN);
966 PIN_SLP(gpa1-3, INPUT, DOWN);
967 PIN_SLP(gpa1-4, INPUT, DOWN);
968 PIN_SLP(gpa1-5, INPUT, DOWN);
970 PIN_SLP(gpb-0, INPUT, NONE);
971 PIN_SLP(gpb-1, INPUT, NONE);
972 PIN_SLP(gpb-2, INPUT, NONE);
973 PIN_SLP(gpb-3, INPUT, NONE);
974 PIN_SLP(gpb-4, INPUT, DOWN);
975 PIN_SLP(gpb-5, INPUT, UP);
976 PIN_SLP(gpb-6, INPUT, DOWN);
977 PIN_SLP(gpb-7, INPUT, DOWN);
979 PIN_SLP(gpc0-0, INPUT, DOWN);
980 PIN_SLP(gpc0-1, INPUT, DOWN);
981 PIN_SLP(gpc0-2, INPUT, DOWN);
982 PIN_SLP(gpc0-3, INPUT, DOWN);
983 PIN_SLP(gpc0-4, INPUT, DOWN);
985 PIN_SLP(gpc1-0, INPUT, NONE);
986 PIN_SLP(gpc1-1, PREV, NONE);
987 PIN_SLP(gpc1-2, INPUT, NONE);
988 PIN_SLP(gpc1-3, INPUT, NONE);
989 PIN_SLP(gpc1-4, INPUT, NONE);
991 PIN_SLP(gpd0-0, INPUT, DOWN);
992 PIN_SLP(gpd0-1, INPUT, DOWN);
993 PIN_SLP(gpd0-2, INPUT, NONE);
994 PIN_SLP(gpd0-3, INPUT, NONE);
996 PIN_SLP(gpd1-0, INPUT, DOWN);
997 PIN_SLP(gpd1-1, INPUT, DOWN);
998 PIN_SLP(gpd1-2, INPUT, NONE);
999 PIN_SLP(gpd1-3, INPUT, NONE);
1001 PIN_SLP(gpf0-0, INPUT, NONE);
1002 PIN_SLP(gpf0-1, INPUT, NONE);
1003 PIN_SLP(gpf0-2, INPUT, DOWN);
1004 PIN_SLP(gpf0-3, INPUT, DOWN);
1005 PIN_SLP(gpf0-4, INPUT, NONE);
1006 PIN_SLP(gpf0-5, INPUT, DOWN);
1007 PIN_SLP(gpf0-6, INPUT, NONE);
1008 PIN_SLP(gpf0-7, INPUT, DOWN);
1010 PIN_SLP(gpf1-0, INPUT, DOWN);
1011 PIN_SLP(gpf1-1, INPUT, DOWN);
1012 PIN_SLP(gpf1-2, INPUT, DOWN);
1013 PIN_SLP(gpf1-3, INPUT, DOWN);
1014 PIN_SLP(gpf1-4, INPUT, NONE);
1015 PIN_SLP(gpf1-5, INPUT, NONE);
1016 PIN_SLP(gpf1-6, INPUT, DOWN);
1017 PIN_SLP(gpf1-7, PREV, NONE);
1019 PIN_SLP(gpf2-0, PREV, NONE);
1020 PIN_SLP(gpf2-1, INPUT, DOWN);
1021 PIN_SLP(gpf2-2, INPUT, DOWN);
1022 PIN_SLP(gpf2-3, INPUT, DOWN);
1023 PIN_SLP(gpf2-4, INPUT, DOWN);
1024 PIN_SLP(gpf2-5, INPUT, DOWN);
1025 PIN_SLP(gpf2-6, INPUT, NONE);
1026 PIN_SLP(gpf2-7, INPUT, NONE);
1028 PIN_SLP(gpf3-0, INPUT, NONE);
1029 PIN_SLP(gpf3-1, PREV, NONE);
1030 PIN_SLP(gpf3-2, PREV, NONE);
1031 PIN_SLP(gpf3-3, PREV, NONE);
1032 PIN_SLP(gpf3-4, OUT1, NONE);
1033 PIN_SLP(gpf3-5, INPUT, DOWN);
1035 PIN_SLP(gpj0-0, PREV, NONE);
1036 PIN_SLP(gpj0-1, PREV, NONE);
1037 PIN_SLP(gpj0-2, PREV, NONE);
1038 PIN_SLP(gpj0-3, INPUT, DOWN);
1039 PIN_SLP(gpj0-4, PREV, NONE);
1040 PIN_SLP(gpj0-5, PREV, NONE);
1041 PIN_SLP(gpj0-6, INPUT, DOWN);
1042 PIN_SLP(gpj0-7, INPUT, DOWN);
1044 PIN_SLP(gpj1-0, INPUT, DOWN);
1045 PIN_SLP(gpj1-1, PREV, NONE);
1046 PIN_SLP(gpj1-2, PREV, NONE);
1047 PIN_SLP(gpj1-3, INPUT, DOWN);
1048 PIN_SLP(gpj1-4, INPUT, DOWN);
1053 pinctrl-names = "default";
1054 pinctrl-0 = <&sleep1>;
1056 gpio_keys: gpio-keys {
1057 samsung,pins = "gpx0-1", "gpx2-2", "gpx2-7", "gpx3-3";
1058 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1061 max77686_irq: max77686-irq {
1062 samsung,pins = "gpx0-7";
1063 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1066 max77693_irq: max77693-irq {
1067 samsung,pins = "gpx1-5";
1068 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1071 max77693_fuel_irq: max77693-fuel-irq {
1072 samsung,pins = "gpx2-3";
1073 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1076 sdhci2_cd: sdhci2-cd-irq {
1077 samsung,pins = "gpx3-4";
1078 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1081 hdmi_hpd: hdmi-hpd {
1082 samsung,pins = "gpx3-7";
1083 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
1086 sleep1: sleep-states {
1087 PIN_SLP(gpk0-0, PREV, NONE);
1088 PIN_SLP(gpk0-1, PREV, NONE);
1089 PIN_SLP(gpk0-2, OUT0, NONE);
1090 PIN_SLP(gpk0-3, PREV, NONE);
1091 PIN_SLP(gpk0-4, PREV, NONE);
1092 PIN_SLP(gpk0-5, PREV, NONE);
1093 PIN_SLP(gpk0-6, PREV, NONE);
1095 PIN_SLP(gpk1-0, INPUT, DOWN);
1096 PIN_SLP(gpk1-1, INPUT, DOWN);
1097 PIN_SLP(gpk1-2, INPUT, DOWN);
1098 PIN_SLP(gpk1-3, PREV, NONE);
1099 PIN_SLP(gpk1-4, PREV, NONE);
1100 PIN_SLP(gpk1-5, PREV, NONE);
1101 PIN_SLP(gpk1-6, PREV, NONE);
1103 PIN_SLP(gpk2-0, INPUT, DOWN);
1104 PIN_SLP(gpk2-1, INPUT, DOWN);
1105 PIN_SLP(gpk2-2, INPUT, DOWN);
1106 PIN_SLP(gpk2-3, INPUT, DOWN);
1107 PIN_SLP(gpk2-4, INPUT, DOWN);
1108 PIN_SLP(gpk2-5, INPUT, DOWN);
1109 PIN_SLP(gpk2-6, INPUT, DOWN);
1111 PIN_SLP(gpk3-0, OUT0, NONE);
1112 PIN_SLP(gpk3-1, INPUT, NONE);
1113 PIN_SLP(gpk3-2, INPUT, DOWN);
1114 PIN_SLP(gpk3-3, INPUT, NONE);
1115 PIN_SLP(gpk3-4, INPUT, NONE);
1116 PIN_SLP(gpk3-5, INPUT, NONE);
1117 PIN_SLP(gpk3-6, INPUT, NONE);
1119 PIN_SLP(gpl0-0, INPUT, DOWN);
1120 PIN_SLP(gpl0-1, INPUT, DOWN);
1121 PIN_SLP(gpl0-2, INPUT, DOWN);
1122 PIN_SLP(gpl0-3, INPUT, DOWN);
1123 PIN_SLP(gpl0-4, PREV, NONE);
1124 PIN_SLP(gpl0-6, PREV, NONE);
1126 PIN_SLP(gpl1-0, INPUT, DOWN);
1127 PIN_SLP(gpl1-1, INPUT, DOWN);
1128 PIN_SLP(gpl2-0, INPUT, DOWN);
1129 PIN_SLP(gpl2-1, INPUT, DOWN);
1130 PIN_SLP(gpl2-2, INPUT, DOWN);
1131 PIN_SLP(gpl2-3, INPUT, DOWN);
1132 PIN_SLP(gpl2-4, INPUT, DOWN);
1133 PIN_SLP(gpl2-5, INPUT, DOWN);
1134 PIN_SLP(gpl2-6, PREV, NONE);
1135 PIN_SLP(gpl2-7, INPUT, DOWN);
1137 PIN_SLP(gpm0-0, INPUT, DOWN);
1138 PIN_SLP(gpm0-1, INPUT, DOWN);
1139 PIN_SLP(gpm0-2, INPUT, DOWN);
1140 PIN_SLP(gpm0-3, INPUT, DOWN);
1141 PIN_SLP(gpm0-4, INPUT, DOWN);
1142 PIN_SLP(gpm0-5, INPUT, DOWN);
1143 PIN_SLP(gpm0-6, INPUT, DOWN);
1144 PIN_SLP(gpm0-7, INPUT, DOWN);
1146 PIN_SLP(gpm1-0, INPUT, DOWN);
1147 PIN_SLP(gpm1-1, INPUT, DOWN);
1148 PIN_SLP(gpm1-2, INPUT, NONE);
1149 PIN_SLP(gpm1-3, INPUT, NONE);
1150 PIN_SLP(gpm1-4, INPUT, NONE);
1151 PIN_SLP(gpm1-5, INPUT, NONE);
1152 PIN_SLP(gpm1-6, INPUT, DOWN);
1154 PIN_SLP(gpm2-0, INPUT, NONE);
1155 PIN_SLP(gpm2-1, INPUT, NONE);
1156 PIN_SLP(gpm2-2, INPUT, DOWN);
1157 PIN_SLP(gpm2-3, INPUT, DOWN);
1158 PIN_SLP(gpm2-4, INPUT, DOWN);
1160 PIN_SLP(gpm3-0, PREV, NONE);
1161 PIN_SLP(gpm3-1, PREV, NONE);
1162 PIN_SLP(gpm3-2, PREV, NONE);
1163 PIN_SLP(gpm3-3, OUT1, NONE);
1164 PIN_SLP(gpm3-4, INPUT, DOWN);
1165 PIN_SLP(gpm3-5, INPUT, DOWN);
1166 PIN_SLP(gpm3-6, INPUT, DOWN);
1167 PIN_SLP(gpm3-7, INPUT, DOWN);
1169 PIN_SLP(gpm4-0, INPUT, DOWN);
1170 PIN_SLP(gpm4-1, INPUT, DOWN);
1171 PIN_SLP(gpm4-2, INPUT, DOWN);
1172 PIN_SLP(gpm4-3, INPUT, DOWN);
1173 PIN_SLP(gpm4-4, INPUT, DOWN);
1174 PIN_SLP(gpm4-5, INPUT, DOWN);
1175 PIN_SLP(gpm4-6, INPUT, DOWN);
1176 PIN_SLP(gpm4-7, INPUT, DOWN);
1178 PIN_SLP(gpy0-0, INPUT, DOWN);
1179 PIN_SLP(gpy0-1, INPUT, DOWN);
1180 PIN_SLP(gpy0-2, INPUT, DOWN);
1181 PIN_SLP(gpy0-3, INPUT, DOWN);
1182 PIN_SLP(gpy0-4, INPUT, DOWN);
1183 PIN_SLP(gpy0-5, INPUT, DOWN);
1185 PIN_SLP(gpy1-0, INPUT, DOWN);
1186 PIN_SLP(gpy1-1, INPUT, DOWN);
1187 PIN_SLP(gpy1-2, INPUT, DOWN);
1188 PIN_SLP(gpy1-3, INPUT, DOWN);
1190 PIN_SLP(gpy2-0, PREV, NONE);
1191 PIN_SLP(gpy2-1, INPUT, DOWN);
1192 PIN_SLP(gpy2-2, INPUT, NONE);
1193 PIN_SLP(gpy2-3, INPUT, NONE);
1194 PIN_SLP(gpy2-4, INPUT, NONE);
1195 PIN_SLP(gpy2-5, INPUT, NONE);
1197 PIN_SLP(gpy3-0, INPUT, DOWN);
1198 PIN_SLP(gpy3-1, INPUT, DOWN);
1199 PIN_SLP(gpy3-2, INPUT, DOWN);
1200 PIN_SLP(gpy3-3, INPUT, DOWN);
1201 PIN_SLP(gpy3-4, INPUT, DOWN);
1202 PIN_SLP(gpy3-5, INPUT, DOWN);
1203 PIN_SLP(gpy3-6, INPUT, DOWN);
1204 PIN_SLP(gpy3-7, INPUT, DOWN);
1206 PIN_SLP(gpy4-0, INPUT, DOWN);
1207 PIN_SLP(gpy4-1, INPUT, DOWN);
1208 PIN_SLP(gpy4-2, INPUT, DOWN);
1209 PIN_SLP(gpy4-3, INPUT, DOWN);
1210 PIN_SLP(gpy4-4, INPUT, DOWN);
1211 PIN_SLP(gpy4-5, INPUT, DOWN);
1212 PIN_SLP(gpy4-6, INPUT, DOWN);
1213 PIN_SLP(gpy4-7, INPUT, DOWN);
1215 PIN_SLP(gpy5-0, INPUT, DOWN);
1216 PIN_SLP(gpy5-1, INPUT, DOWN);
1217 PIN_SLP(gpy5-2, INPUT, DOWN);
1218 PIN_SLP(gpy5-3, INPUT, DOWN);
1219 PIN_SLP(gpy5-4, INPUT, DOWN);
1220 PIN_SLP(gpy5-5, INPUT, DOWN);
1221 PIN_SLP(gpy5-6, INPUT, DOWN);
1222 PIN_SLP(gpy5-7, INPUT, DOWN);
1224 PIN_SLP(gpy6-0, INPUT, DOWN);
1225 PIN_SLP(gpy6-1, INPUT, DOWN);
1226 PIN_SLP(gpy6-2, INPUT, DOWN);
1227 PIN_SLP(gpy6-3, INPUT, DOWN);
1228 PIN_SLP(gpy6-4, INPUT, DOWN);
1229 PIN_SLP(gpy6-5, INPUT, DOWN);
1230 PIN_SLP(gpy6-6, INPUT, DOWN);
1231 PIN_SLP(gpy6-7, INPUT, DOWN);
1236 pinctrl-names = "default";
1237 pinctrl-0 = <&sleep2>;
1239 sleep2: sleep-states {
1240 PIN_SLP(gpz-0, INPUT, DOWN);
1241 PIN_SLP(gpz-1, INPUT, DOWN);
1242 PIN_SLP(gpz-2, INPUT, DOWN);
1243 PIN_SLP(gpz-3, INPUT, DOWN);
1244 PIN_SLP(gpz-4, INPUT, DOWN);
1245 PIN_SLP(gpz-5, INPUT, DOWN);
1246 PIN_SLP(gpz-6, INPUT, DOWN);
1251 pinctrl-names = "default";
1252 pinctrl-0 = <&sleep3>;
1254 sleep3: sleep-states {
1255 PIN_SLP(gpv0-0, INPUT, DOWN);
1256 PIN_SLP(gpv0-1, INPUT, DOWN);
1257 PIN_SLP(gpv0-2, INPUT, DOWN);
1258 PIN_SLP(gpv0-3, INPUT, DOWN);
1259 PIN_SLP(gpv0-4, INPUT, DOWN);
1260 PIN_SLP(gpv0-5, INPUT, DOWN);
1261 PIN_SLP(gpv0-6, INPUT, DOWN);
1262 PIN_SLP(gpv0-7, INPUT, DOWN);
1264 PIN_SLP(gpv1-0, INPUT, DOWN);
1265 PIN_SLP(gpv1-1, INPUT, DOWN);
1266 PIN_SLP(gpv1-2, INPUT, DOWN);
1267 PIN_SLP(gpv1-3, INPUT, DOWN);
1268 PIN_SLP(gpv1-4, INPUT, DOWN);
1269 PIN_SLP(gpv1-5, INPUT, DOWN);
1270 PIN_SLP(gpv1-6, INPUT, DOWN);
1271 PIN_SLP(gpv1-7, INPUT, DOWN);
1273 PIN_SLP(gpv2-0, INPUT, DOWN);
1274 PIN_SLP(gpv2-1, INPUT, DOWN);
1275 PIN_SLP(gpv2-2, INPUT, DOWN);
1276 PIN_SLP(gpv2-3, INPUT, DOWN);
1277 PIN_SLP(gpv2-4, INPUT, DOWN);
1278 PIN_SLP(gpv2-5, INPUT, DOWN);
1279 PIN_SLP(gpv2-6, INPUT, DOWN);
1280 PIN_SLP(gpv2-7, INPUT, DOWN);
1282 PIN_SLP(gpv3-0, INPUT, DOWN);
1283 PIN_SLP(gpv3-1, INPUT, DOWN);
1284 PIN_SLP(gpv3-2, INPUT, DOWN);
1285 PIN_SLP(gpv3-3, INPUT, DOWN);
1286 PIN_SLP(gpv3-4, INPUT, DOWN);
1287 PIN_SLP(gpv3-5, INPUT, DOWN);
1288 PIN_SLP(gpv3-6, INPUT, DOWN);
1289 PIN_SLP(gpv3-7, INPUT, DOWN);
1291 PIN_SLP(gpv4-0, INPUT, DOWN);
1296 pinctrl-0 = <&pwm0_out>;
1297 pinctrl-names = "default";
1298 samsung,pwm-outputs = <0>;
1304 clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1305 clock-names = "rtc", "rtc_src";
1310 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1311 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1312 pinctrl-names = "default";
1313 vmmc-supply = <&ldo21_reg>;
1318 #address-cells = <1>;
1323 mmc-pwrseq = <&wlan_pwrseq>;
1324 pinctrl-names = "default";
1325 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
1330 compatible = "brcm,bcm4329-fmac";
1331 interrupt-parent = <&gpx2>;
1332 interrupts = <5 IRQ_TYPE_NONE>;
1333 interrupt-names = "host-wake";
1354 pinctrl-names = "default";
1355 pinctrl-0 = <&spi1_bus>;
1356 cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
1359 s5c73m3_spi: s5c73m3@0 {
1360 compatible = "samsung,s5c73m3";
1361 spi-max-frequency = <50000000>;
1364 samsung,spi-feedback-delay = <2>;
1370 vtmu-supply = <&ldo10_reg>;