Lines Matching +full:pdn +full:- +full:gpios
1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree
11 /dts-v1/;
13 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/linux-event-codes.h>
19 model = "Samsung Galaxy S2 (GT-I9100)";
21 chassis-type = "handset";
35 stdout-path = "serial2:115200n8";
38 vemmc_reg: regulator-0 {
39 compatible = "regulator-fixed";
40 regulator-name = "VMEM_VDD_2.8V";
41 regulator-min-microvolt = <2800000>;
42 regulator-max-microvolt = <2800000>;
44 enable-active-high;
47 tsp_reg: regulator-1 {
48 compatible = "regulator-fixed";
49 regulator-name = "TSP_FIXED_VOLTAGES";
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
53 startup-delay-us = <70000>;
54 enable-active-high;
55 regulator-boot-on;
56 regulator-always-on;
59 cam_af_28v_reg: regulator-2 {
60 compatible = "regulator-fixed";
61 regulator-name = "8M_AF_2.8V_EN";
62 regulator-min-microvolt = <2800000>;
63 regulator-max-microvolt = <2800000>;
65 enable-active-high;
68 cam_io_en_reg: regulator-3 {
69 compatible = "regulator-fixed";
70 regulator-name = "CAM_IO_EN";
71 regulator-min-microvolt = <2800000>;
72 regulator-max-microvolt = <2800000>;
74 enable-active-high;
77 cam_io_12v_reg: regulator-4 {
78 compatible = "regulator-fixed";
79 regulator-name = "8M_1.2V_EN";
80 regulator-min-microvolt = <1200000>;
81 regulator-max-microvolt = <1200000>;
83 enable-active-high;
86 vt_core_15v_reg: regulator-5 {
87 compatible = "regulator-fixed";
88 regulator-name = "VT_CORE_1.5V";
89 regulator-min-microvolt = <1500000>;
90 regulator-max-microvolt = <1500000>;
92 enable-active-high;
95 gpio-keys {
96 compatible = "gpio-keys";
98 key-vol-down {
99 gpios = <&gpx2 1 GPIO_ACTIVE_LOW>;
102 debounce-interval = <10>;
105 key-vol-up {
106 gpios = <&gpx2 0 GPIO_ACTIVE_LOW>;
109 debounce-interval = <10>;
112 key-power {
113 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
116 debounce-interval = <10>;
117 wakeup-source;
120 key-ok {
121 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>;
124 debounce-interval = <10>;
128 wlan_pwrseq: sdhci3-pwrseq {
129 compatible = "mmc-pwrseq-simple";
130 reset-gpios = <&gpl1 2 GPIO_ACTIVE_LOW>;
133 i2c_max17042_fuel: i2c-gpio-0 {
134 compatible = "i2c-gpio";
135 #address-cells = <1>;
136 #size-cells = <0>;
138 sda-gpios = <&gpy4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
139 scl-gpios = <&gpy4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
140 i2c-gpio,delay-us = <5>;
145 interrupt-parent = <&gpx2>;
148 pinctrl-0 = <&max17042_fuel_irq>;
149 pinctrl-names = "default";
152 maxim,over-heat-temp = <700>;
153 maxim,over-volt = <4500>;
157 i2c_s5k5baf: i2c-gpio-1 {
158 compatible = "i2c-gpio";
159 #address-cells = <1>;
160 #size-cells = <0>;
162 sda-gpios = <&gpc1 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
163 scl-gpios = <&gpc1 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
164 i2c-gpio,delay-us = <2>;
166 image-sensor@2d {
169 vdda-supply = <&cam_io_en_reg>;
170 vddreg-supply = <&vt_core_15v_reg>;
171 vddio-supply = <&vtcam_reg>;
173 clock-names = "mclk";
174 stbyn-gpios = <&gpl2 0 GPIO_ACTIVE_LOW>;
175 rstn-gpios = <&gpl2 1 GPIO_ACTIVE_LOW>;
176 clock-frequency = <24000000>;
180 remote-endpoint = <&csis1_ep>;
181 data-lanes = <1>;
187 spi-3 {
188 compatible = "spi-gpio";
189 #address-cells = <1>;
190 #size-cells = <0>;
192 num-chipselects = <1>;
193 cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>;
194 sck-gpios = <&gpy3 1 GPIO_ACTIVE_HIGH>;
195 mosi-gpios = <&gpy3 3 GPIO_ACTIVE_HIGH>;
201 spi-max-frequency = <1200000>;
203 vdd3-supply = <&vmipi_reg>;
204 vci-supply = <&vcclcd_reg>;
206 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
207 power-on-delay = <10>;
208 reset-delay = <10>;
210 panel-width-mm = <56>;
211 panel-height-mm = <93>;
213 display-timings {
215 clock-frequency = <23492370>;
218 hback-porch = <16>;
219 hfront-porch = <16>;
220 vback-porch = <2>;
221 vfront-porch = <28>;
222 hsync-len = <2>;
223 vsync-len = <1>;
224 hsync-active = <0>;
225 vsync-active = <0>;
226 de-active = <0>;
227 pixelclk-active = <0>;
233 remote-endpoint = <&fimd_dpi_ep>;
239 fixed-rate-clocks {
241 compatible = "samsung,clock-xxti";
242 clock-frequency = <0>;
246 compatible = "samsung,clock-xusbxti";
247 clock-frequency = <24000000>;
250 pmic_ap_clk: pmic-ap-clk {
252 compatible = "fixed-clock";
253 #clock-cells = <0>;
254 clock-frequency = <32768>;
260 pinctrl-0 = <&cam_port_a_clk_active>;
261 pinctrl-names = "default";
263 assigned-clocks = <&clock CLK_MOUT_CAM0>, <&clock CLK_MOUT_CAM1>;
264 assigned-clock-parents = <&clock CLK_XUSBXTI>, <&clock CLK_XUSBXTI>;
269 vddcore-supply = <&vusb_reg>;
270 vddio-supply = <&vmipi_reg>;
271 clock-frequency = <160000000>;
272 #address-cells = <1>;
273 #size-cells = <0>;
278 remote-endpoint = <&s5k5bafx_ep>;
279 data-lanes = <1>;
280 samsung,csis-hs-settle = <6>;
286 cpu0-supply = <&varm_breg>;
290 cooling-maps {
293 cooling-device = <&cpu0 2 2>;
297 cooling-device = <&cpu0 4 4>;
306 phy-names = "host";
312 vbus-supply = <&safe1_sreg>;
318 assigned-clocks = <&clock CLK_MOUT_FIMC0>, <&clock CLK_SCLK_FIMC0>;
319 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
320 assigned-clock-rates = <0>, <160000000>;
327 assigned-clocks = <&clock CLK_MOUT_FIMC1>, <&clock CLK_SCLK_FIMC1>;
328 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
329 assigned-clock-rates = <0>, <160000000>;
335 assigned-clocks = <&clock CLK_MOUT_FIMC2>, <&clock CLK_SCLK_FIMC2>;
336 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
337 assigned-clock-rates = <0>, <160000000>;
344 assigned-clocks = <&clock CLK_MOUT_FIMC3>, <&clock CLK_SCLK_FIMC3>;
345 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
346 assigned-clock-rates = <0>, <160000000>;
351 #address-cells = <1>;
352 #size-cells = <0>;
354 samsung,invert-vden;
355 samsung,invert-vclk;
357 pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
358 pinctrl-names = "default";
364 remote-endpoint = <&lcd_ep>;
372 mali-supply = <&vg3d_breg>;
379 vusb_d-supply = <&vusb_reg>;
380 vusb_a-supply = <&vusbdac_reg>;
386 samsung,i2c-sda-delay = <100>;
387 samsung,i2c-slave-addr = <0x10>;
388 samsung,i2c-max-bus-freq = <100000>;
390 pinctrl-0 = <&i2c3_bus>;
391 pinctrl-names = "default";
397 interrupt-parent = <&gpx0>;
405 samsung,i2c-sda-delay = <100>;
406 samsung,i2c-slave-addr = <0x10>;
407 samsung,i2c-max-bus-freq = <100000>;
409 pinctrl-0 = <&i2c5_bus>;
410 pinctrl-names = "default";
413 compatible = "maxim,max8997-pmic";
416 interrupts-extended = <&gpx0 7 IRQ_TYPE_NONE>,
419 max8997,pmic-buck1-uses-gpio-dvs;
420 max8997,pmic-buck2-uses-gpio-dvs;
421 max8997,pmic-buck5-uses-gpio-dvs;
423 max8997,pmic-ignore-gpiodvs-side-effect;
424 max8997,pmic-buck125-default-dvs-idx = <0>;
426 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
430 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
435 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
440 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
445 pinctrl-0 = <&max8997_irq>, <&otg_gp>, <&usb_sel>;
446 pinctrl-names = "default";
448 charger-supply = <&charger_reg>;
452 regulator-name = "VADC_3.3V_C210";
453 regulator-min-microvolt = <3300000>;
454 regulator-max-microvolt = <3300000>;
455 regulator-always-on;
459 regulator-name = "VALIVE_1.1V_C210";
460 regulator-min-microvolt = <1100000>;
461 regulator-max-microvolt = <1100000>;
462 regulator-always-on;
467 regulator-name = "VUSB_1.1V_C210";
468 regulator-min-microvolt = <1100000>;
469 regulator-max-microvolt = <1100000>;
473 regulator-name = "VMIPI_1.8V";
474 regulator-min-microvolt = <1800000>;
475 regulator-max-microvolt = <1800000>;
476 regulator-always-on;
480 regulator-name = "VHSIC_1.2V";
481 regulator-min-microvolt = <1200000>;
482 regulator-max-microvolt = <1200000>;
483 regulator-always-on;
487 regulator-name = "VCC_1.8V_PDA";
488 regulator-min-microvolt = <1800000>;
489 regulator-max-microvolt = <1800000>;
490 regulator-always-on;
494 regulator-name = "CAM_ISP_1.8V";
495 regulator-min-microvolt = <1800000>;
496 regulator-max-microvolt = <1800000>;
500 regulator-name = "VUSB+VDAC_3.3V_C210";
501 regulator-min-microvolt = <3300000>;
502 regulator-max-microvolt = <3300000>;
506 regulator-name = "VCC_2.8V_PDA";
507 regulator-min-microvolt = <2800000>;
508 regulator-max-microvolt = <2800000>;
509 regulator-always-on;
513 regulator-name = "TOUCH_2.8V";
514 regulator-min-microvolt = <2800000>;
515 regulator-max-microvolt = <2800000>;
516 regulator-always-on;
520 regulator-name = "VPLL_1.1V";
521 regulator-min-microvolt = <1100000>;
522 regulator-max-microvolt = <1100000>;
523 regulator-always-on;
527 regulator-name = "VT_CAM_1.8V";
528 regulator-min-microvolt = <1800000>;
529 regulator-max-microvolt = <1800000>;
532 * Force-enable this regulator; otherwise the
537 regulator-always-on;
541 regulator-name = "VCC_3.0V_LCD";
542 regulator-min-microvolt = <3000000>;
543 regulator-max-microvolt = <3000000>;
547 regulator-name = "VCC_2.8V_MOTOR";
548 regulator-min-microvolt = <2800000>;
549 regulator-max-microvolt = <2800000>;
553 regulator-name = "LED_A_2.8V";
554 regulator-min-microvolt = <2800000>;
555 regulator-max-microvolt = <2800000>;
559 regulator-name = "CAM_SENSOR_IO_1.8V";
560 regulator-min-microvolt = <1800000>;
561 regulator-max-microvolt = <1800000>;
565 regulator-name = "VTF_2.8V";
566 regulator-min-microvolt = <2800000>;
567 regulator-max-microvolt = <2800000>;
571 regulator-name = "TOUCH_LED_3.3V";
572 regulator-min-microvolt = <2500000>;
573 regulator-max-microvolt = <3300000>;
577 regulator-name = "VDDQ_M1M2_1.2V";
578 regulator-min-microvolt = <1200000>;
579 regulator-max-microvolt = <1200000>;
580 regulator-always-on;
584 regulator-name = "VARM_1.2V_C210";
585 regulator-min-microvolt = <65000>;
586 regulator-max-microvolt = <2225000>;
587 regulator-always-on;
591 regulator-name = "VINT_1.1V_C210";
592 regulator-min-microvolt = <65000>;
593 regulator-max-microvolt = <2225000>;
594 regulator-always-on;
598 regulator-name = "G3D_1.1V";
599 regulator-min-microvolt = <900000>;
600 regulator-max-microvolt = <1200000>;
601 regulator-microvolt-offset = <50000>;
602 regulator-always-on;
606 regulator-name = "CAM_ISP_CORE_1.2V";
607 regulator-min-microvolt = <1200000>;
608 regulator-max-microvolt = <1200000>;
612 regulator-name = "VMEM_1.2V";
613 regulator-min-microvolt = <1200000>;
614 regulator-max-microvolt = <1200000>;
615 regulator-always-on;
619 regulator-name = "VCC_SUB_2.0V";
620 regulator-min-microvolt = <2000000>;
621 regulator-max-microvolt = <2000000>;
622 regulator-always-on;
626 regulator-name = "SAFEOUT1";
630 regulator-name = "SAFEOUT2";
631 regulator-boot-on;
635 regulator-name = "EN32KHZ_AP";
636 regulator-always-on;
640 regulator-name = "EN32KHZ_CP";
641 regulator-always-on;
645 regulator-name = "CHARGER";
646 regulator-min-microamp = <200000>;
647 regulator-max-microamp = <950000>;
651 regulator-name = "CHARGER_CV";
652 regulator-min-microvolt = <4200000>;
653 regulator-max-microvolt = <4200000>;
654 regulator-always-on;
658 regulator-name = "CHARGER_TOPOFF";
659 regulator-min-microamp = <200000>;
660 regulator-max-microamp = <200000>;
661 regulator-always-on;
670 samsung,i2c-sda-delay = <100>;
671 samsung,i2c-slave-addr = <0x10>;
672 samsung,i2c-max-bus-freq = <400000>;
674 pinctrl-0 = <&i2c7_bus>;
675 pinctrl-names = "default";
678 compatible = "asahi-kasei,ak8975";
681 gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>;
686 pinctrl-names = "default";
687 pinctrl-0 = <&sleep0>;
689 sleep0: sleep-state {
690 gpa0-0-pin {
691 samsung,pins = "gpa0-0";
692 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>;
693 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
696 gpa0-1-pin {
697 samsung,pins = "gpa0-1";
698 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT0>;
699 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
702 gpa0-2-pin {
703 samsung,pins = "gpa0-2";
704 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>;
705 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
708 gpa0-3-pin {
709 samsung,pins = "gpa0-3";
710 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
711 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
717 mhl_int: mhl-int-pins {
718 samsung,pins = "gpf3-5";
719 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
722 i2c_mhl_bus: i2c-mhl-bus-pins {
723 samsung,pins = "gpf0-4", "gpf0-6";
724 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
725 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
726 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
729 usb_sel: usb-sel-pins {
730 samsung,pins = "gpl0-6";
731 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
732 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
733 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
734 samsung,pin-val = <0>;
737 bt_en: bt-en-pins {
738 samsung,pins = "gpl0-4";
739 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
740 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
741 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
742 samsung,pin-val = <0>;
745 bt_res: bt-res-pins {
746 samsung,pins = "gpl1-0";
747 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
748 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
749 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
750 samsung,pin-val = <0>;
753 otg_gp: otg-gp-pins {
754 samsung,pins = "gpx3-3";
755 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
756 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
757 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
758 samsung,pin-val = <0>;
761 mag_mhl_gpio: mag-mhl-pins {
762 samsung,pins = "gpd0-2";
763 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
764 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
767 max8997_irq: max8997-irq-pins {
768 samsung,pins = "gpx0-7";
769 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
772 max17042_fuel_irq: max17042-fuel-irq-pins {
773 samsung,pins = "gpx2-3";
774 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
777 tsp224_irq: tsp224-irq-pins {
778 samsung,pins = "gpx0-4";
779 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
786 clock-names = "rtc", "rtc_src";
792 bus-width = <8>;
793 non-removable;
794 vmmc-supply = <&vemmc_reg>;
796 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_bus8>;
797 pinctrl-names = "default";
803 bus-width = <4>;
804 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
805 vmmc-supply = <&vtf_reg>;
807 pinctrl-0 = <&sd2_clk>, <&sd2_cmd>, <&sd2_bus4>;
808 pinctrl-names = "default";
814 #address-cells = <1>;
815 #size-cells = <0>;
817 non-removable;
818 bus-width = <4>;
819 mmc-pwrseq = <&wlan_pwrseq>;
820 vmmc-supply = <&vtf_reg>;
822 pinctrl-names = "default";
823 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>;
826 compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac";
829 interrupt-parent = <&gpx2>;
831 interrupt-names = "host-wake";
838 pinctrl-names = "default";
839 pinctrl-0 = <&bt_en>, <&bt_res>, <&uart0_data>, <&uart0_fctl>;
842 compatible = "brcm,bcm4330-bt";
844 shutdown-gpios = <&gpl0 4 GPIO_ACTIVE_HIGH>;
845 reset-gpios = <&gpl1 0 GPIO_ACTIVE_LOW>;
846 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
848 interrupt-parent = <&gpx2>;
850 interrupt-names = "host-wakeup";