Lines Matching +full:gpk0 +full:- +full:4
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";
29 stdout-path = "serial2:115200n8";
32 vemmc_reg: regulator-0 {
33 compatible = "regulator-fixed";
34 regulator-name = "VMEM_VDD_2.8V";
35 regulator-min-microvolt = <2800000>;
36 regulator-max-microvolt = <2800000>;
37 gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>;
38 enable-active-high;
41 tsp_reg: regulator-1 {
42 compatible = "regulator-fixed";
43 regulator-name = "TSP_FIXED_VOLTAGES";
44 regulator-min-microvolt = <3300000>;
45 regulator-max-microvolt = <3300000>;
47 startup-delay-us = <70000>;
48 enable-active-high;
49 regulator-boot-on;
50 regulator-always-on;
53 cam_af_28v_reg: regulator-2 {
54 compatible = "regulator-fixed";
55 regulator-name = "8M_AF_2.8V_EN";
56 regulator-min-microvolt = <2800000>;
57 regulator-max-microvolt = <2800000>;
59 enable-active-high;
62 cam_io_en_reg: regulator-3 {
63 compatible = "regulator-fixed";
64 regulator-name = "CAM_IO_EN";
65 regulator-min-microvolt = <2800000>;
66 regulator-max-microvolt = <2800000>;
68 enable-active-high;
71 cam_io_12v_reg: regulator-4 {
72 compatible = "regulator-fixed";
73 regulator-name = "8M_1.2V_EN";
74 regulator-min-microvolt = <1200000>;
75 regulator-max-microvolt = <1200000>;
77 enable-active-high;
80 vt_core_15v_reg: regulator-5 {
81 compatible = "regulator-fixed";
82 regulator-name = "VT_CORE_1.5V";
83 regulator-min-microvolt = <1500000>;
84 regulator-max-microvolt = <1500000>;
86 enable-active-high;
89 gpio-keys {
90 compatible = "gpio-keys";
92 key-vol-down {
96 debounce-interval = <10>;
99 key-vol-up {
103 debounce-interval = <10>;
106 key-power {
110 debounce-interval = <10>;
111 wakeup-source;
114 key-ok {
118 debounce-interval = <10>;
122 wlan_pwrseq: sdhci3-pwrseq {
123 compatible = "mmc-pwrseq-simple";
124 reset-gpios = <&gpl1 2 GPIO_ACTIVE_LOW>;
127 i2c_max17042_fuel: i2c-gpio-0 {
128 compatible = "i2c-gpio";
129 #address-cells = <1>;
130 #size-cells = <0>;
132 sda-gpios = <&gpy4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
133 scl-gpios = <&gpy4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
134 i2c-gpio,delay-us = <5>;
139 interrupt-parent = <&gpx2>;
142 pinctrl-0 = <&max17042_fuel_irq>;
143 pinctrl-names = "default";
146 maxim,over-heat-temp = <700>;
147 maxim,over-volt = <4500>;
151 i2c_s5k5baf: i2c-gpio-1 {
152 compatible = "i2c-gpio";
153 #address-cells = <1>;
154 #size-cells = <0>;
156 sda-gpios = <&gpc1 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
157 scl-gpios = <&gpc1 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
158 i2c-gpio,delay-us = <2>;
160 image-sensor@2d {
163 vdda-supply = <&cam_io_en_reg>;
164 vddreg-supply = <&vt_core_15v_reg>;
165 vddio-supply = <&vtcam_reg>;
167 clock-names = "mclk";
168 stbyn-gpios = <&gpl2 0 GPIO_ACTIVE_LOW>;
169 rstn-gpios = <&gpl2 1 GPIO_ACTIVE_LOW>;
170 clock-frequency = <24000000>;
174 remote-endpoint = <&csis1_ep>;
175 data-lanes = <1>;
181 spi-3 {
182 compatible = "spi-gpio";
183 #address-cells = <1>;
184 #size-cells = <0>;
186 num-chipselects = <1>;
187 cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>;
188 sck-gpios = <&gpy3 1 GPIO_ACTIVE_HIGH>;
189 mosi-gpios = <&gpy3 3 GPIO_ACTIVE_HIGH>;
195 spi-max-frequency = <1200000>;
197 vdd3-supply = <&vmipi_reg>;
198 vci-supply = <&vcclcd_reg>;
200 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
201 power-on-delay = <10>;
202 reset-delay = <10>;
204 panel-width-mm = <90>;
205 panel-height-mm = <154>;
207 display-timings {
209 clock-frequency = <23492370>;
212 hback-porch = <16>;
213 hfront-porch = <16>;
214 vback-porch = <2>;
215 vfront-porch = <28>;
216 hsync-len = <2>;
217 vsync-len = <1>;
218 hsync-active = <0>;
219 vsync-active = <0>;
220 de-active = <0>;
221 pixelclk-active = <0>;
227 remote-endpoint = <&fimd_dpi_ep>;
233 fixed-rate-clocks {
235 compatible = "samsung,clock-xxti";
236 clock-frequency = <0>;
240 compatible = "samsung,clock-xusbxti";
241 clock-frequency = <24000000>;
244 pmic_ap_clk: pmic-ap-clk {
246 compatible = "fixed-clock";
247 #clock-cells = <0>;
248 clock-frequency = <32768>;
254 pinctrl-0 = <&cam_port_a_clk_active>;
255 pinctrl-names = "default";
257 assigned-clocks = <&clock CLK_MOUT_CAM0>, <&clock CLK_MOUT_CAM1>;
258 assigned-clock-parents = <&clock CLK_XUSBXTI>, <&clock CLK_XUSBXTI>;
263 vddcore-supply = <&vusb_reg>;
264 vddio-supply = <&vmipi_reg>;
265 clock-frequency = <160000000>;
266 #address-cells = <1>;
267 #size-cells = <0>;
269 port@4 {
270 reg = <4>;
272 remote-endpoint = <&s5k5bafx_ep>;
273 data-lanes = <1>;
274 samsung,csis-hs-settle = <6>;
280 cpu0-supply = <&varm_breg>;
284 cooling-maps {
287 cooling-device = <&cpu0 2 2>;
291 cooling-device = <&cpu0 4 4>;
300 phy-names = "host";
306 vbus-supply = <&safe1_sreg>;
312 assigned-clocks = <&clock CLK_MOUT_FIMC0>, <&clock CLK_SCLK_FIMC0>;
313 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
314 assigned-clock-rates = <0>, <160000000>;
321 assigned-clocks = <&clock CLK_MOUT_FIMC1>, <&clock CLK_SCLK_FIMC1>;
322 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
323 assigned-clock-rates = <0>, <160000000>;
329 assigned-clocks = <&clock CLK_MOUT_FIMC2>, <&clock CLK_SCLK_FIMC2>;
330 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
331 assigned-clock-rates = <0>, <160000000>;
338 assigned-clocks = <&clock CLK_MOUT_FIMC3>, <&clock CLK_SCLK_FIMC3>;
339 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
340 assigned-clock-rates = <0>, <160000000>;
345 #address-cells = <1>;
346 #size-cells = <0>;
348 samsung,invert-vden;
349 samsung,invert-vclk;
351 pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
352 pinctrl-names = "default";
358 remote-endpoint = <&lcd_ep>;
366 mali-supply = <&vg3d_breg>;
373 vusb_d-supply = <&vusb_reg>;
374 vusb_a-supply = <&vusbdac_reg>;
380 samsung,i2c-sda-delay = <100>;
381 samsung,i2c-slave-addr = <0x10>;
382 samsung,i2c-max-bus-freq = <100000>;
384 pinctrl-0 = <&i2c3_bus>;
385 pinctrl-names = "default";
387 touchscreen@4a {
391 interrupt-parent = <&gpx0>;
392 interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
399 samsung,i2c-sda-delay = <100>;
400 samsung,i2c-slave-addr = <0x10>;
401 samsung,i2c-max-bus-freq = <100000>;
403 pinctrl-0 = <&i2c5_bus>;
404 pinctrl-names = "default";
407 compatible = "maxim,max8997-pmic";
410 interrupts-extended = <&gpx0 7 IRQ_TYPE_NONE>,
413 max8997,pmic-buck1-uses-gpio-dvs;
414 max8997,pmic-buck2-uses-gpio-dvs;
415 max8997,pmic-buck5-uses-gpio-dvs;
417 max8997,pmic-ignore-gpiodvs-side-effect;
418 max8997,pmic-buck125-default-dvs-idx = <0>;
420 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
424 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
429 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
434 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
439 pinctrl-0 = <&max8997_irq>, <&otg_gp>, <&usb_sel>;
440 pinctrl-names = "default";
442 charger-supply = <&charger_reg>;
446 regulator-name = "VADC_3.3V_C210";
447 regulator-min-microvolt = <3300000>;
448 regulator-max-microvolt = <3300000>;
449 regulator-always-on;
453 regulator-name = "VALIVE_1.1V_C210";
454 regulator-min-microvolt = <1100000>;
455 regulator-max-microvolt = <1100000>;
456 regulator-always-on;
461 regulator-name = "VUSB_1.1V_C210";
462 regulator-min-microvolt = <1100000>;
463 regulator-max-microvolt = <1100000>;
467 regulator-name = "VMIPI_1.8V";
468 regulator-min-microvolt = <1800000>;
469 regulator-max-microvolt = <1800000>;
470 regulator-always-on;
474 regulator-name = "VHSIC_1.2V";
475 regulator-min-microvolt = <1200000>;
476 regulator-max-microvolt = <1200000>;
477 regulator-always-on;
481 regulator-name = "VCC_1.8V_PDA";
482 regulator-min-microvolt = <1800000>;
483 regulator-max-microvolt = <1800000>;
484 regulator-always-on;
488 regulator-name = "CAM_ISP_1.8V";
489 regulator-min-microvolt = <1800000>;
490 regulator-max-microvolt = <1800000>;
494 regulator-name = "VUSB+VDAC_3.3V_C210";
495 regulator-min-microvolt = <3300000>;
496 regulator-max-microvolt = <3300000>;
500 regulator-name = "VCC_2.8V_PDA";
501 regulator-min-microvolt = <2800000>;
502 regulator-max-microvolt = <2800000>;
503 regulator-always-on;
507 regulator-name = "TOUCH_2.8V";
508 regulator-min-microvolt = <2800000>;
509 regulator-max-microvolt = <2800000>;
510 regulator-always-on;
514 regulator-name = "VPLL_1.1V";
515 regulator-min-microvolt = <1100000>;
516 regulator-max-microvolt = <1100000>;
517 regulator-always-on;
521 regulator-name = "VT_CAM_1.8V";
522 regulator-min-microvolt = <1800000>;
523 regulator-max-microvolt = <1800000>;
527 regulator-name = "VCC_3.0V_LCD";
528 regulator-min-microvolt = <3000000>;
529 regulator-max-microvolt = <3000000>;
533 regulator-name = "VCC_2.8V_MOTOR";
534 regulator-min-microvolt = <2800000>;
535 regulator-max-microvolt = <2800000>;
539 regulator-name = "LED_A_2.8V";
540 regulator-min-microvolt = <2800000>;
541 regulator-max-microvolt = <2800000>;
545 regulator-name = "CAM_SENSOR_IO_1.8V";
546 regulator-min-microvolt = <1800000>;
547 regulator-max-microvolt = <1800000>;
551 regulator-name = "VTF_2.8V";
552 regulator-min-microvolt = <2800000>;
553 regulator-max-microvolt = <2800000>;
557 regulator-name = "TOUCH_LED_3.3V";
558 regulator-min-microvolt = <2500000>;
559 regulator-max-microvolt = <3300000>;
563 regulator-name = "VDDQ_M1M2_1.2V";
564 regulator-min-microvolt = <1200000>;
565 regulator-max-microvolt = <1200000>;
566 regulator-always-on;
570 regulator-name = "VARM_1.2V_C210";
571 regulator-min-microvolt = <65000>;
572 regulator-max-microvolt = <2225000>;
573 regulator-always-on;
577 regulator-name = "VINT_1.1V_C210";
578 regulator-min-microvolt = <65000>;
579 regulator-max-microvolt = <2225000>;
580 regulator-always-on;
584 regulator-name = "G3D_1.1V";
585 regulator-min-microvolt = <900000>;
586 regulator-max-microvolt = <1200000>;
587 regulator-microvolt-offset = <50000>;
588 regulator-always-on;
592 regulator-name = "CAM_ISP_CORE_1.2V";
593 regulator-min-microvolt = <1200000>;
594 regulator-max-microvolt = <1200000>;
598 regulator-name = "VMEM_1.2V";
599 regulator-min-microvolt = <1200000>;
600 regulator-max-microvolt = <1200000>;
601 regulator-always-on;
605 regulator-name = "VCC_SUB_2.0V";
606 regulator-min-microvolt = <2000000>;
607 regulator-max-microvolt = <2000000>;
608 regulator-always-on;
612 regulator-name = "SAFEOUT1";
616 regulator-name = "SAFEOUT2";
617 regulator-boot-on;
621 regulator-name = "EN32KHZ_AP";
622 regulator-always-on;
626 regulator-name = "EN32KHZ_CP";
627 regulator-always-on;
631 regulator-name = "CHARGER";
632 regulator-min-microamp = <200000>;
633 regulator-max-microamp = <950000>;
637 regulator-name = "CHARGER_CV";
638 regulator-min-microvolt = <4200000>;
639 regulator-max-microvolt = <4200000>;
640 regulator-always-on;
644 regulator-name = "CHARGER_TOPOFF";
645 regulator-min-microamp = <200000>;
646 regulator-max-microamp = <200000>;
647 regulator-always-on;
656 samsung,i2c-sda-delay = <100>;
657 samsung,i2c-slave-addr = <0x10>;
658 samsung,i2c-max-bus-freq = <400000>;
660 pinctrl-0 = <&i2c7_bus>;
661 pinctrl-names = "default";
664 compatible = "asahi-kasei,ak8975";
672 pinctrl-names = "default";
673 pinctrl-0 = <&sleep0>;
675 sleep0: sleep-state {
676 gpa0-0-pin {
677 samsung,pins = "gpa0-0";
678 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>;
679 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
682 gpa0-1-pin {
683 samsung,pins = "gpa0-1";
684 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT0>;
685 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
688 gpa0-2-pin {
689 samsung,pins = "gpa0-2";
690 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>;
691 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
694 gpa0-3-pin {
695 samsung,pins = "gpa0-3";
696 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
697 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
703 mhl_int: mhl-int-pins {
704 samsung,pins = "gpf3-5";
705 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
708 i2c_mhl_bus: i2c-mhl-bus-pins {
709 samsung,pins = "gpf0-4", "gpf0-6";
710 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
711 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
712 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
715 usb_sel: usb-sel-pins {
716 samsung,pins = "gpl0-6";
717 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
718 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
719 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
720 samsung,pin-val = <0>;
723 bt_en: bt-en-pins {
724 samsung,pins = "gpl0-4";
725 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
726 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
727 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
728 samsung,pin-val = <0>;
731 bt_res: bt-res-pins {
732 samsung,pins = "gpl1-0";
733 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
734 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
735 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
736 samsung,pin-val = <0>;
739 otg_gp: otg-gp-pins {
740 samsung,pins = "gpx3-3";
741 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
742 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
743 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
744 samsung,pin-val = <0>;
747 mag_mhl_gpio: mag-mhl-pins {
748 samsung,pins = "gpd0-2";
749 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
750 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
753 max8997_irq: max8997-irq-pins {
754 samsung,pins = "gpx0-7";
755 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
758 max17042_fuel_irq: max17042-fuel-irq-pins {
759 samsung,pins = "gpx2-3";
760 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
763 tsp224_irq: tsp224-irq-pins {
764 samsung,pins = "gpx0-4";
765 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
772 clock-names = "rtc", "rtc_src";
778 bus-width = <8>;
779 non-removable;
780 vmmc-supply = <&vemmc_reg>;
782 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_bus8>;
783 pinctrl-names = "default";
789 bus-width = <4>;
790 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
791 vmmc-supply = <&vtf_reg>;
793 pinctrl-0 = <&sd2_clk>, <&sd2_cmd>, <&sd2_bus4>;
794 pinctrl-names = "default";
800 #address-cells = <1>;
801 #size-cells = <0>;
803 non-removable;
804 bus-width = <4>;
805 mmc-pwrseq = <&wlan_pwrseq>;
806 vmmc-supply = <&vtf_reg>;
808 pinctrl-names = "default";
809 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>;
812 compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac";
815 interrupt-parent = <&gpx2>;
817 interrupt-names = "host-wake";
824 pinctrl-names = "default";
825 pinctrl-0 = <&bt_en>, <&bt_res>, <&uart0_data>, <&uart0_fctl>;
828 compatible = "brcm,bcm4330-bt";
830 shutdown-gpios = <&gpl0 4 GPIO_ACTIVE_HIGH>;
831 reset-gpios = <&gpl1 0 GPIO_ACTIVE_LOW>;
832 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
834 interrupt-parent = <&gpx2>;
836 interrupt-names = "host-wakeup";