Lines Matching +full:sda +full:- +full:pins
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 {
102 debounce-interval = <10>;
105 key-vol-up {
109 debounce-interval = <10>;
112 key-power {
116 debounce-interval = <10>;
117 wakeup-source;
120 key-ok {
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 i2c-gpio-2 {
188 compatible = "i2c-gpio";
189 #address-cells = <1>;
190 #size-cells = <0>;
192 sda-gpios = <&gpk1 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
193 scl-gpios = <&gpk1 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
194 i2c-gpio,delay-us = <2>;
197 compatible = "cypress,aries-touchkey";
200 interrupt-parent = <&gpl0>;
203 vdd-supply = <&vtouchled_reg>;
204 vcc-supply = <&vtouch_reg>;
209 spi-3 {
210 compatible = "spi-gpio";
211 #address-cells = <1>;
212 #size-cells = <0>;
214 num-chipselects = <1>;
215 cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>;
216 sck-gpios = <&gpy3 1 GPIO_ACTIVE_HIGH>;
217 mosi-gpios = <&gpy3 3 GPIO_ACTIVE_HIGH>;
223 spi-max-frequency = <1200000>;
225 vdd3-supply = <&vmipi_reg>;
226 vci-supply = <&vcclcd_reg>;
228 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>;
229 power-on-delay = <10>;
230 reset-delay = <10>;
232 panel-width-mm = <56>;
233 panel-height-mm = <93>;
235 display-timings {
237 clock-frequency = <23492370>;
240 hback-porch = <16>;
241 hfront-porch = <16>;
242 vback-porch = <2>;
243 vfront-porch = <28>;
244 hsync-len = <2>;
245 vsync-len = <1>;
246 hsync-active = <0>;
247 vsync-active = <0>;
248 de-active = <0>;
249 pixelclk-active = <0>;
255 remote-endpoint = <&fimd_dpi_ep>;
261 fixed-rate-clocks {
263 compatible = "samsung,clock-xxti";
264 clock-frequency = <0>;
268 compatible = "samsung,clock-xusbxti";
269 clock-frequency = <24000000>;
272 pmic_ap_clk: pmic-ap-clk {
274 compatible = "fixed-clock";
275 #clock-cells = <0>;
276 clock-frequency = <32768>;
282 pinctrl-0 = <&cam_port_a_clk_active>;
283 pinctrl-names = "default";
285 assigned-clocks = <&clock CLK_MOUT_CAM0>, <&clock CLK_MOUT_CAM1>;
286 assigned-clock-parents = <&clock CLK_XUSBXTI>, <&clock CLK_XUSBXTI>;
291 vddcore-supply = <&vusb_reg>;
292 vddio-supply = <&vmipi_reg>;
293 clock-frequency = <160000000>;
294 #address-cells = <1>;
295 #size-cells = <0>;
300 remote-endpoint = <&s5k5bafx_ep>;
301 data-lanes = <1>;
302 samsung,csis-hs-settle = <6>;
308 cpu0-supply = <&varm_breg>;
312 cooling-maps {
315 cooling-device = <&cpu0 2 2>;
319 cooling-device = <&cpu0 4 4>;
328 phy-names = "host";
334 vbus-supply = <&safe1_sreg>;
340 assigned-clocks = <&clock CLK_MOUT_FIMC0>, <&clock CLK_SCLK_FIMC0>;
341 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
342 assigned-clock-rates = <0>, <160000000>;
349 assigned-clocks = <&clock CLK_MOUT_FIMC1>, <&clock CLK_SCLK_FIMC1>;
350 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
351 assigned-clock-rates = <0>, <160000000>;
357 assigned-clocks = <&clock CLK_MOUT_FIMC2>, <&clock CLK_SCLK_FIMC2>;
358 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
359 assigned-clock-rates = <0>, <160000000>;
366 assigned-clocks = <&clock CLK_MOUT_FIMC3>, <&clock CLK_SCLK_FIMC3>;
367 assigned-clock-parents = <&clock CLK_SCLK_MPLL>;
368 assigned-clock-rates = <0>, <160000000>;
373 #address-cells = <1>;
374 #size-cells = <0>;
376 samsung,invert-vden;
377 samsung,invert-vclk;
379 pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
380 pinctrl-names = "default";
386 remote-endpoint = <&lcd_ep>;
394 mali-supply = <&vg3d_breg>;
401 vusb_d-supply = <&vusb_reg>;
402 vusb_a-supply = <&vusbdac_reg>;
408 samsung,i2c-sda-delay = <100>;
409 samsung,i2c-slave-addr = <0x10>;
410 samsung,i2c-max-bus-freq = <100000>;
413 compatible = "st,lis3dh-accel";
416 mount-matrix = "0", "-1", "0",
425 samsung,i2c-sda-delay = <100>;
426 samsung,i2c-slave-addr = <0x10>;
427 samsung,i2c-max-bus-freq = <100000>;
429 pinctrl-0 = <&i2c3_bus>;
430 pinctrl-names = "default";
436 interrupt-parent = <&gpx0>;
444 samsung,i2c-sda-delay = <100>;
445 samsung,i2c-slave-addr = <0x10>;
446 samsung,i2c-max-bus-freq = <100000>;
448 pinctrl-0 = <&i2c5_bus>;
449 pinctrl-names = "default";
452 compatible = "maxim,max8997-pmic";
455 interrupts-extended = <&gpx0 7 IRQ_TYPE_NONE>,
458 max8997,pmic-buck1-uses-gpio-dvs;
459 max8997,pmic-buck2-uses-gpio-dvs;
460 max8997,pmic-buck5-uses-gpio-dvs;
462 max8997,pmic-ignore-gpiodvs-side-effect;
463 max8997,pmic-buck125-default-dvs-idx = <0>;
465 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>,
469 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
474 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
479 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
484 pinctrl-0 = <&max8997_irq>, <&otg_gp>, <&usb_sel>;
485 pinctrl-names = "default";
487 charger-supply = <&charger_reg>;
491 regulator-name = "VADC_3.3V_C210";
492 regulator-min-microvolt = <3300000>;
493 regulator-max-microvolt = <3300000>;
494 regulator-always-on;
498 regulator-name = "VALIVE_1.1V_C210";
499 regulator-min-microvolt = <1100000>;
500 regulator-max-microvolt = <1100000>;
501 regulator-always-on;
506 regulator-name = "VUSB_1.1V_C210";
507 regulator-min-microvolt = <1100000>;
508 regulator-max-microvolt = <1100000>;
512 regulator-name = "VMIPI_1.8V";
513 regulator-min-microvolt = <1800000>;
514 regulator-max-microvolt = <1800000>;
515 regulator-always-on;
519 regulator-name = "VHSIC_1.2V";
520 regulator-min-microvolt = <1200000>;
521 regulator-max-microvolt = <1200000>;
522 regulator-always-on;
526 regulator-name = "VCC_1.8V_PDA";
527 regulator-min-microvolt = <1800000>;
528 regulator-max-microvolt = <1800000>;
529 regulator-always-on;
533 regulator-name = "CAM_ISP_1.8V";
534 regulator-min-microvolt = <1800000>;
535 regulator-max-microvolt = <1800000>;
539 regulator-name = "VUSB+VDAC_3.3V_C210";
540 regulator-min-microvolt = <3300000>;
541 regulator-max-microvolt = <3300000>;
545 regulator-name = "VCC_2.8V_PDA";
546 regulator-min-microvolt = <2800000>;
547 regulator-max-microvolt = <2800000>;
548 regulator-always-on;
552 regulator-name = "TOUCH_2.8V";
553 regulator-min-microvolt = <2800000>;
554 regulator-max-microvolt = <2800000>;
558 regulator-name = "VPLL_1.1V";
559 regulator-min-microvolt = <1100000>;
560 regulator-max-microvolt = <1100000>;
561 regulator-always-on;
565 regulator-name = "VT_CAM_1.8V";
566 regulator-min-microvolt = <1800000>;
567 regulator-max-microvolt = <1800000>;
570 * Force-enable this regulator; otherwise the
575 regulator-always-on;
579 regulator-name = "VCC_3.0V_LCD";
580 regulator-min-microvolt = <3000000>;
581 regulator-max-microvolt = <3000000>;
585 regulator-name = "VCC_2.8V_MOTOR";
586 regulator-min-microvolt = <2800000>;
587 regulator-max-microvolt = <2800000>;
591 regulator-name = "LED_A_2.8V";
592 regulator-min-microvolt = <2800000>;
593 regulator-max-microvolt = <2800000>;
597 regulator-name = "CAM_SENSOR_IO_1.8V";
598 regulator-min-microvolt = <1800000>;
599 regulator-max-microvolt = <1800000>;
603 regulator-name = "VTF_2.8V";
604 regulator-min-microvolt = <2800000>;
605 regulator-max-microvolt = <2800000>;
609 regulator-name = "TOUCH_LED_3.3V";
610 regulator-min-microvolt = <2500000>;
611 regulator-max-microvolt = <3300000>;
615 regulator-name = "VDDQ_M1M2_1.2V";
616 regulator-min-microvolt = <1200000>;
617 regulator-max-microvolt = <1200000>;
618 regulator-always-on;
622 regulator-name = "VARM_1.2V_C210";
623 regulator-min-microvolt = <65000>;
624 regulator-max-microvolt = <2225000>;
625 regulator-always-on;
629 regulator-name = "VINT_1.1V_C210";
630 regulator-min-microvolt = <65000>;
631 regulator-max-microvolt = <2225000>;
632 regulator-always-on;
636 regulator-name = "G3D_1.1V";
637 regulator-min-microvolt = <900000>;
638 regulator-max-microvolt = <1200000>;
639 regulator-microvolt-offset = <50000>;
640 regulator-always-on;
644 regulator-name = "CAM_ISP_CORE_1.2V";
645 regulator-min-microvolt = <1200000>;
646 regulator-max-microvolt = <1200000>;
650 regulator-name = "VMEM_1.2V";
651 regulator-min-microvolt = <1200000>;
652 regulator-max-microvolt = <1200000>;
653 regulator-always-on;
657 regulator-name = "VCC_SUB_2.0V";
658 regulator-min-microvolt = <2000000>;
659 regulator-max-microvolt = <2000000>;
660 regulator-always-on;
664 regulator-name = "SAFEOUT1";
668 regulator-name = "SAFEOUT2";
669 regulator-boot-on;
673 regulator-name = "EN32KHZ_AP";
674 regulator-always-on;
678 regulator-name = "EN32KHZ_CP";
679 regulator-always-on;
683 regulator-name = "CHARGER";
684 regulator-min-microamp = <200000>;
685 regulator-max-microamp = <950000>;
689 regulator-name = "CHARGER_CV";
690 regulator-min-microvolt = <4200000>;
691 regulator-max-microvolt = <4200000>;
692 regulator-always-on;
696 regulator-name = "CHARGER_TOPOFF";
697 regulator-min-microamp = <200000>;
698 regulator-max-microamp = <200000>;
699 regulator-always-on;
708 samsung,i2c-sda-delay = <100>;
709 samsung,i2c-slave-addr = <0x10>;
710 samsung,i2c-max-bus-freq = <400000>;
712 pinctrl-0 = <&i2c7_bus>;
713 pinctrl-names = "default";
716 compatible = "asahi-kasei,ak8975";
724 pinctrl-names = "default";
725 pinctrl-0 = <&sleep0>;
727 sleep0: sleep-state {
728 gpa0-0-pin {
729 samsung,pins = "gpa0-0";
730 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>;
731 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
734 gpa0-1-pin {
735 samsung,pins = "gpa0-1";
736 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT0>;
737 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
740 gpa0-2-pin {
741 samsung,pins = "gpa0-2";
742 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>;
743 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
746 gpa0-3-pin {
747 samsung,pins = "gpa0-3";
748 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>;
749 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>;
755 mhl_int: mhl-int-pins {
756 samsung,pins = "gpf3-5";
757 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
760 i2c_mhl_bus: i2c-mhl-bus-pins {
761 samsung,pins = "gpf0-4", "gpf0-6";
762 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
763 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
764 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
767 usb_sel: usb-sel-pins {
768 samsung,pins = "gpl0-6";
769 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
770 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
771 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
772 samsung,pin-val = <0>;
775 bt_en: bt-en-pins {
776 samsung,pins = "gpl0-4";
777 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
778 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
779 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
780 samsung,pin-val = <0>;
783 bt_res: bt-res-pins {
784 samsung,pins = "gpl1-0";
785 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
786 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
787 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>;
788 samsung,pin-val = <0>;
791 otg_gp: otg-gp-pins {
792 samsung,pins = "gpx3-3";
793 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
794 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
795 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
796 samsung,pin-val = <0>;
799 mag_mhl_gpio: mag-mhl-pins {
800 samsung,pins = "gpd0-2";
801 samsung,pin-function = <EXYNOS_PIN_FUNC_3>;
802 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
805 max8997_irq: max8997-irq-pins {
806 samsung,pins = "gpx0-7";
807 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
810 max17042_fuel_irq: max17042-fuel-irq-pins {
811 samsung,pins = "gpx2-3";
812 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
815 tsp224_irq: tsp224-irq-pins {
816 samsung,pins = "gpx0-4";
817 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>;
824 clock-names = "rtc", "rtc_src";
830 bus-width = <8>;
831 non-removable;
832 vmmc-supply = <&vemmc_reg>;
834 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_bus8>;
835 pinctrl-names = "default";
841 bus-width = <4>;
842 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
843 vmmc-supply = <&vtf_reg>;
845 pinctrl-0 = <&sd2_clk>, <&sd2_cmd>, <&sd2_bus4>;
846 pinctrl-names = "default";
852 #address-cells = <1>;
853 #size-cells = <0>;
855 non-removable;
856 bus-width = <4>;
857 mmc-pwrseq = <&wlan_pwrseq>;
858 vmmc-supply = <&vtf_reg>;
860 pinctrl-names = "default";
861 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>;
864 compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac";
867 interrupt-parent = <&gpx2>;
869 interrupt-names = "host-wake";
876 pinctrl-names = "default";
877 pinctrl-0 = <&bt_en>, <&bt_res>, <&uart0_data>, <&uart0_fctl>;
880 compatible = "brcm,bcm4330-bt";
882 shutdown-gpios = <&gpl0 4 GPIO_ACTIVE_HIGH>;
883 reset-gpios = <&gpl1 0 GPIO_ACTIVE_LOW>;
884 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
886 interrupt-parent = <&gpx2>;
888 interrupt-names = "host-wakeup";