1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Ace 2 GT-I8160 also known as Codina.
5 * NOTE: this is the most common variant according to the vendor tree, known
6 * as "R0.0". There appears to be a "R0.4" variant with backlight on GPIO69,
7 * AB8505 and other changes. There is also talk about some variants having a
8 * Samsung S6D27A1 display, indicated by passing a different command line from
11 * The Samsung tree further talks about GT-I8160P and GT-I8160chn (China).
12 * The GT-I8160 plain is knonw as the "europe" variant.
13 * The GT-I8160P appears to not use the ST Microelectronics accelerometer.
14 * The GT-I8160chn appears to be the same as the europe variant.
18 #include "ste-db8500.dtsi"
19 #include "ste-ab8500.dtsi"
20 #include "ste-dbx5x0-pinctrl.dtsi"
21 #include <dt-bindings/gpio/gpio.h>
22 #include <dt-bindings/leds/common.h>
23 #include <dt-bindings/input/input.h>
24 #include <dt-bindings/interrupt-controller/irq.h>
27 model = "Samsung Galaxy Ace 2 (GT-I8160)";
28 compatible = "samsung,codina", "st-ericsson,u8500";
33 * This has a frequency cap at ~800 MHz in the firmware.
34 * (Changing this number here will not overclock it.)
36 operating-points = <798720 0
43 stdout-path = &serial2;
46 /* TI TXS0206 level translator for 2.9 V */
47 sd_level_translator: regulator-gpio {
48 compatible = "regulator-fixed";
51 gpios = <&gpio2 23 GPIO_ACTIVE_HIGH>;
54 regulator-name = "sd-level-translator";
55 regulator-min-microvolt = <2900000>;
56 regulator-max-microvolt = <2900000>;
57 regulator-type = "voltage";
59 startup-delay-us = <200>;
61 pinctrl-names = "default";
62 pinctrl-0 = <&sd_level_translator_default>;
65 /* External LDO MIC5366-3.3YMT for eMMC */
66 ldo_3v3_reg: regulator-gpio-ldo-3v3 {
67 compatible = "regulator-fixed";
68 /* Supplied in turn by VBAT */
69 regulator-name = "VMEM_3V3";
70 regulator-min-microvolt = <3300000>;
71 regulator-max-microvolt = <3300000>;
72 gpios = <&gpio6 31 GPIO_ACTIVE_HIGH>;
73 startup-delay-us = <5000>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&emmc_ldo_en_default_mode>;
80 * External Ricoh "TSP" regulator for the touchscreen.
81 * One GPIO line controls two voltages of 3.3V and 1.8V
82 * this line is known as "TSP_LDO_ON1" in the schematics.
84 ldo_tsp_3v3_reg: regulator-gpio-tsp-ldo-3v3 {
85 compatible = "regulator-fixed";
86 /* Supplied in turn by VBAT */
87 regulator-name = "LDO_TSP_A3V3";
88 regulator-min-microvolt = <3300000>;
89 regulator-max-microvolt = <3300000>;
90 /* GPIO94 controls this regulator */
91 gpio = <&gpio2 30 GPIO_ACTIVE_HIGH>;
92 /* 70 ms power-on delay */
93 startup-delay-us = <70000>;
95 pinctrl-names = "default";
96 pinctrl-0 = <&tsp_ldo_en_default_mode>;
98 ldo_tsp_1v8_reg: regulator-gpio-tsp-ldo-1v8 {
99 compatible = "regulator-fixed";
100 /* Supplied in turn by VBAT */
101 regulator-name = "VREG_TSP_1V8";
102 regulator-min-microvolt = <1800000>;
103 regulator-max-microvolt = <1800000>;
104 /* GPIO94 controls this regulator */
105 gpio = <&gpio2 30 GPIO_ACTIVE_HIGH>;
106 /* 70 ms power-on delay */
107 startup-delay-us = <70000>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&tsp_ldo_en_default_mode>;
114 * External Ricoh RP152L010B-TR LCD LDO regulator for the display.
115 * LCD_PWR_EN controls both a 3.0V and 1.8V output.
117 lcd_3v0_reg: regulator-gpio-lcd-3v0 {
118 compatible = "regulator-fixed";
119 /* Supplied in turn by VBAT */
120 regulator-name = "VREG_LCD_3.0V";
121 regulator-min-microvolt = <3000000>;
122 regulator-max-microvolt = <3000000>;
123 /* GPIO219 controls this regulator */
124 gpio = <&gpio6 27 GPIO_ACTIVE_HIGH>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&lcd_pwr_en_default_mode>;
129 lcd_1v8_reg: regulator-gpio-lcd-1v8 {
130 compatible = "regulator-fixed";
131 /* Supplied in turn by VBAT */
132 regulator-name = "VREG_LCD_1.8V";
133 regulator-min-microvolt = <1800000>;
134 regulator-max-microvolt = <1800000>;
135 /* GPIO219 controls this regulator too */
136 gpio = <&gpio6 27 GPIO_ACTIVE_HIGH>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&lcd_pwr_en_default_mode>;
143 * This regulator is a GPIO line that drives the Broadcom WLAN
144 * line WL_REG_ON high and enables the internal regulators
145 * inside the chip. Unfortunatley it is erroneously named
146 * WLAN_RST_N on the schematic but it is not a reset line.
148 * The voltage specified here is only used to determine the OCR mask,
149 * the for the SDIO connector, the chip is actually connected
152 wl_reg: regulator-gpio-wlan {
153 compatible = "regulator-fixed";
154 regulator-name = "WL_REG_ON";
155 regulator-min-microvolt = <3000000>;
156 regulator-max-microvolt = <3000000>;
157 startup-delay-us = <100000>;
158 /* GPIO215 (WLAN_RST_N to WL_REG_ON) */
159 gpio = <&gpio6 23 GPIO_ACTIVE_HIGH>;
161 pinctrl-names = "default";
162 pinctrl-0 = <&wlan_ldo_en_default>;
166 compatible = "gpio-vibrator";
167 /* GPIO195 "MOT_EN" */
168 enable-gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;
169 pinctrl-names = "default";
170 pinctrl-0 = <&vibrator_default>;
174 compatible = "gpio-keys";
175 pinctrl-names = "default";
176 pinctrl-0 = <&gpio_keys_default_mode>;
179 linux,code = <KEY_HOME>;
182 gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
185 linux,code = <KEY_VOLUMEUP>;
188 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
191 linux,code = <KEY_VOLUMEDOWN>;
194 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
199 compatible = "gpio-leds";
200 pinctrl-names = "default";
201 pinctrl-0 = <&gpio_leds_default_mode>;
205 * GPIO194 on R0.0, R0.4 does not use this at all, it
206 * will instead turn LDO AUX4 on/off for key led backlighy.
207 * (Line is pulled down on R0.4)
209 gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>;
210 default-state = "on";
215 compatible = "kinetic,ktd253";
217 * GPIO68 is for R0.0, the board file talks about a TMO variant
218 * (R0.4) using GPIO69.
220 enable-gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
221 /* Default to 13/32 brightness */
222 default-brightness = <13>;
223 pinctrl-names = "default";
224 pinctrl-0 = <&ktd253_backlight_default_mode>;
227 /* Richtek RT8515GQW Flash LED Driver IC */
229 compatible = "richtek,rt8515";
231 enf-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
233 ent-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
235 * RFS is 16 kOhm and RTS is 100 kOhm giving
236 * the flash max current 343mA and torch max
239 richtek,rfs-ohms = <16000>;
240 richtek,rts-ohms = <100000>;
241 pinctrl-names = "default";
242 pinctrl-0 = <&gpio_flash_default_mode>;
245 function = LED_FUNCTION_FLASH;
246 color = <LED_COLOR_ID_WHITE>;
247 flash-max-timeout-us = <250000>;
248 flash-max-microamp = <343750>;
249 led-max-microamp = <55000>;
253 /* Bit-banged I2C on GPIO143 and GPIO144 also called "SUBPMU I2C" */
255 compatible = "i2c-gpio";
256 sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
257 scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
258 pinctrl-names = "default";
259 pinctrl-0 = <&i2c_gpio_0_default>;
260 #address-cells = <1>;
264 compatible = "alps,hscdtd008a";
266 clock-frequency = <400000>;
268 avdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
269 dvdd-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
271 /* TODO: this should also be used by the SM5103 Camera power management unit */
274 /* Bit-banged I2C on GPIO151 and GPIO152 also called "NFC I2C" */
276 compatible = "i2c-gpio";
277 sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
278 scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
279 pinctrl-names = "default";
280 pinctrl-0 = <&i2c_gpio_1_default>;
281 #address-cells = <1>;
284 /* TODO: add the NFC chip here */
288 compatible = "spi-gpio";
289 /* Clock on GPIO220, pin SCL */
290 sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
291 /* MOSI on GPIO224, pin SDI "slave data in" */
292 mosi-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
293 /* MISO on GPIO225, pin SDO "slave data out" */
294 miso-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
295 /* Chip select on GPIO201 */
296 cs-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>;
297 num-chipselects = <1>;
299 pinctrl-names = "default";
300 pinctrl-0 = <&spi_gpio_0_default>;
301 #address-cells = <1>;
305 * Some Codinas (90%) have a WideChips WS2401-based LMS380KF01
306 * display mounted and some 10% has a Samsung S6D27A1 instead.
307 * The boot loader needs to modify this compatible to
308 * correspond to whatever is passed from the early Samsung boot.
311 compatible = "samsung,lms380kf01";
312 spi-max-frequency = <1200000>;
313 /* TYPE 3: inverse clock polarity and phase */
318 vci-supply = <&lcd_3v0_reg>;
319 vccio-supply = <&lcd_1v8_reg>;
321 /* Reset on GPIO139 */
322 reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
323 /* LCD_VGH/LCD_DETECT, ESD IRQ on GPIO93 */
324 interrupt-parent = <&gpio2>;
325 interrupts = <29 IRQ_TYPE_EDGE_RISING>;
327 pinctrl-names = "default";
328 pinctrl-0 = <&panel_default_mode>;
329 backlight = <&ktd253>;
333 remote-endpoint = <&display_out>;
340 /* External Micro SD slot */
342 arm,primecell-periphid = <0x10480180>;
343 max-frequency = <100000000>;
349 /* MMC is powered by AUX3 1.2V .. 2.91V */
350 vmmc-supply = <&ab8500_ldo_aux3_reg>;
351 /* 2.9 V level translator is using AUX3 at 2.9 V as well */
352 vqmmc-supply = <&sd_level_translator>;
353 pinctrl-names = "default", "sleep";
354 pinctrl-0 = <&mc0_a_2_default>;
355 pinctrl-1 = <&mc0_a_2_sleep>;
356 cd-gpios = <&gpio6 25 GPIO_ACTIVE_LOW>; // GPIO217
360 /* WLAN SDIO channel */
362 arm,primecell-periphid = <0x10480180>;
363 max-frequency = <50000000>;
367 pinctrl-names = "default", "sleep";
368 pinctrl-0 = <&mc1_a_2_default>;
369 pinctrl-1 = <&mc1_a_2_sleep>;
371 * GPIO-controlled voltage enablement: this drives
372 * the WL_REG_ON line high when we use this device.
373 * Represented as regulator to fill OCR mask.
375 vmmc-supply = <&wl_reg>;
377 #address-cells = <1>;
382 /* Actually BRCM4330 */
383 compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac";
385 /* GPIO216 WL_HOST_WAKE */
386 interrupt-parent = <&gpio6>;
387 interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
388 interrupt-names = "host-wake";
389 pinctrl-names = "default";
390 pinctrl-0 = <&wlan_default_mode>;
396 arm,primecell-periphid = <0x10480180>;
397 max-frequency = <100000000>;
404 vmmc-supply = <&ldo_3v3_reg>;
405 pinctrl-names = "default", "sleep";
407 * GPIO130 will be set to input no pull-up resulting in a resistor
408 * pulling the reset high and taking the memory out of reset.
410 pinctrl-0 = <&mc2_a_1_default>;
411 pinctrl-1 = <&mc2_a_1_sleep>;
415 /* GBF (Bluetooth) UART */
417 pinctrl-names = "default", "sleep";
418 pinctrl-0 = <&u0_a_1_default>;
419 pinctrl-1 = <&u0_a_1_sleep>;
423 compatible = "brcm,bcm4330-bt";
424 /* GPIO222 rail BT_VREG_EN to BT_REG_ON */
425 shutdown-gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
426 /* BT_WAKE on GPIO199 */
427 device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
428 /* BT_HOST_WAKE on GPIO97 */
429 /* FIXME: convert to interrupt */
430 host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
431 /* BT_RST_N on GPIO209 */
432 reset-gpios = <&gpio6 17 GPIO_ACTIVE_LOW>;
433 pinctrl-names = "default";
434 pinctrl-0 = <&bluetooth_default_mode>;
441 pinctrl-names = "default", "sleep";
442 /* CTS/RTS is not used, CTS is repurposed as GPIO */
443 pinctrl-0 = <&u1rxtx_a_1_default>;
444 pinctrl-1 = <&u1rxtx_a_1_sleep>;
445 /* FIXME: add a device for the GPS here */
448 /* Debugging console UART connected to TSU6111RSVR (FSA880) */
451 pinctrl-names = "default", "sleep";
452 pinctrl-0 = <&u2rxtx_c_1_default>;
453 pinctrl-1 = <&u2rxtx_c_1_sleep>;
459 pinctrl-names = "default", "sleep";
460 pinctrl-0 = <&usb_a_1_default>;
461 pinctrl-1 = <&usb_a_1_sleep>;
466 /* Used for VDD for sensors */
467 regulator-name = "V-SENSORS-VDD";
468 regulator-min-microvolt = <3000000>;
469 regulator-max-microvolt = <3000000>;
473 /* Used for VIO for sensors */
474 regulator-name = "V-SENSORS-VIO";
475 regulator-min-microvolt = <1800000>;
476 regulator-max-microvolt = <1800000>;
480 /* Used for voltage for external MMC/SD card */
481 regulator-name = "V-MMC-SD";
482 regulator-min-microvolt = <1200000>;
483 regulator-max-microvolt = <2910000>;
489 /* I2C0 also known as "AGC I2C" */
492 pinctrl-names = "default", "sleep";
493 pinctrl-0 = <&i2c0_a_1_default>;
494 pinctrl-1 = <&i2c0_a_1_sleep>;
496 /* TODO: write bindings and driver for this proximity sensor */
498 /* Codina has the Mouser TMD2672 */
499 compatible = "mouser,tmd2672";
500 clock-frequency = <400000>;
503 /* IRQ on GPIO146 "PS_INT" */
504 interrupt-parent = <&gpio4>;
505 interrupts = <18 IRQ_TYPE_EDGE_FALLING>;
506 /* FIXME: needs a VDDIO supply that is connected to a pull-up resistor */
507 vdd-supply = <&ab8500_ldo_aux1_reg>;
508 pinctrl-names = "default";
509 pinctrl-0 = <&tms2672_codina_default>;
513 /* I2C1 on GPIO16 and GPIO17 also called "MUS I2C" */
516 pinctrl-names = "default","sleep";
517 /* FIXME: If it doesn't work try what we use on Gavini */
518 pinctrl-0 = <&i2c1_b_2_default>;
519 pinctrl-1 = <&i2c1_b_2_sleep>;
521 /* Texas Instruments TSU6111 micro USB switch */
523 compatible = "ti,tsu6111";
525 /* Interrupt JACK_INT_N on GPIO95 */
526 interrupt-parent = <&gpio2>;
527 interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
528 pinctrl-names = "default";
529 pinctrl-0 = <&tsu6111_codina_default>;
533 /* I2C2 on GPIO10 and GPIO11 also called "SENSORS I2C" */
536 pinctrl-names = "default", "sleep";
537 pinctrl-0 = <&i2c2_b_2_default>;
538 pinctrl-1 = <&i2c2_b_2_sleep>;
541 /* ST Microelectronics Accelerometer */
542 compatible = "st,lis3dh-accel";
543 st,drdy-int-pin = <1>;
545 vdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
546 vddio-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
547 mount-matrix = "0", "-1", "0",
557 pinctrl-names = "default", "sleep";
558 pinctrl-0 = <&i2c3_c_2_default>;
559 pinctrl-1 = <&i2c3_c_2_sleep>;
561 /* TODO: write bindings and driver for this touchscreen */
563 /* Zinitix BT404 ISP part */
565 compatible = "zinitix,bt404-isp";
567 pinctrl-names = "default";
568 pinctrl-0 = <&tsp_default>;
571 /* Zinitix BT404 touchscreen, also has the touchkeys for menu and back */
573 compatible = "zinitix,bt404";
575 /* GPIO218 (TSP_INT_1V8) */
576 interrupt-parent = <&gpio6>;
577 interrupts = <26 IRQ_TYPE_EDGE_FALLING>;
578 vcca-supply = <&ldo_tsp_3v3_reg>;
579 vdd-supply = <&ldo_tsp_1v8_reg>;
581 touchscreen-size-x = <480>;
582 touchscreen-size-y = <800>;
583 pinctrl-names = "default";
584 pinctrl-0 = <&tsp_default>;
590 pinctrl-names = "default";
591 pinctrl-0 = <&dpi_default_mode>;
594 display_out: endpoint {
595 remote-endpoint = <&panel_in>;
604 * This extends the MC0_A_2 default config to include
605 * the card detect GPIO217 line.
610 pins = "GPIO217_AH12"; /* card detect */
611 ste,config = <&gpio_in_pd>;
617 * This will make the resistor mounted in R0.0 pull up
618 * the reset line and take the eMMC out of reset. On
619 * R0.4 variants, GPIO130 should be set in GPIO mode and
620 * pulled down. (Not connected.)
624 pins = "GPIO130_C8"; /* FBCLK */
625 ste,config = <&in_nopull>;
629 /* GPIO that enables the 2.9V SD card level translator */
630 sd-level-translator {
631 sd_level_translator_default: sd_level_translator_default {
632 /* level shifter on GPIO87 */
635 ste,config = <&gpio_out_hi>;
639 /* GPIO that enables the LDO regulator for the eMMC */
641 emmc_ldo_en_default_mode: emmc_ldo_default {
642 /* LDO enable on GPIO223 */
644 pins = "GPIO223_AH9";
645 ste,config = <&gpio_out_hi>;
649 /* GPIOs for panel control */
651 panel_default_mode: panel_default {
655 ste,config = <&gpio_out_lo>;
658 /* ESD IRQ line "LCD detect" */
660 ste,config = <&gpio_in_nopull>;
664 /* GPIO that enables the LDO regulator for the touchscreen */
666 tsp_ldo_en_default_mode: tsp_ldo_default {
667 /* LDO enable on GPIO94 */
670 ste,config = <&gpio_out_hi>;
674 /* GPIO that enables the LDO regulator for the LCD display */
676 lcd_pwr_en_default_mode: lcd_pwr_en_default {
677 /* LCD_PWR_EN on GPIO219 */
679 pins = "GPIO219_AG10";
680 ste,config = <&gpio_out_hi>;
684 /* GPIO that enables the LDO regulator for the key LED */
686 gpio_leds_default_mode: en_led_ldo_default {
687 /* EN_LED_LDO on GPIO194 */
689 pins = "GPIO194_AF27";
690 ste,config = <&gpio_out_hi>;
694 /* GPIO that enables the WLAN internal LDO regulators */
696 wlan_ldo_en_default: wlan_ldo_default {
697 /* GPIO215 named WLAN_RST_N */
699 pins = "GPIO215_AH13";
700 ste,config = <&gpio_out_lo>;
706 ktd253_backlight_default_mode: backlight_default {
708 pins = "GPIO68_E1"; /* LCD_BL_CTRL */
709 ste,config = <&gpio_out_lo>;
713 /* Flash and torch */
715 gpio_flash_default_mode: flash_default {
717 pins = "GPIO140_B11", "GPIO141_C12";
718 ste,config = <&gpio_out_lo>;
724 gpio_keys_default_mode: gpio_keys_default {
726 pins = "GPIO67_G2", /* VOL UP */
727 "GPIO91_B6", /* HOME */
728 "GPIO92_D6"; /* VOL DOWN */
729 ste,config = <&gpio_in_pu>;
733 /* Interrupt line for the Zinitix BT404 touchscreen */
735 tsp_default: tsp_default {
737 pins = "GPIO218_AH11"; /* TSP_INT_1V8 */
738 ste,config = <&gpio_in_nopull>;
742 /* Interrupt line for light/proximity sensor TMS2672 */
744 tms2672_codina_default: tms2672_codina {
746 pins = "GPIO146_D13";
747 ste,config = <&gpio_in_nopull>;
751 /* GPIO-based I2C bus for subpmu */
753 i2c_gpio_0_default: i2c_gpio_0 {
755 pins = "GPIO143_D12", "GPIO144_B13";
756 ste,config = <&gpio_in_nopull>;
760 /* GPIO-based I2C bus for the NFC */
762 i2c_gpio_1_default: i2c_gpio_1 {
764 pins = "GPIO151_D17", "GPIO152_D16";
765 ste,config = <&gpio_in_nopull>;
769 /* GPIO-based SPI bus for the display */
771 spi_gpio_0_default: spi_gpio_0_d {
773 pins = "GPIO220_AH10", "GPIO201_AF24", "GPIO224_AG9";
774 ste,config = <&gpio_out_hi>;
777 pins = "GPIO225_AG8";
778 /* Needs pull down, no pull down resistor on board */
779 ste,config = <&gpio_in_pd>;
782 spi_gpio_0_sleep: spi_gpio_0_s {
784 pins = "GPIO220_AH10", "GPIO201_AF24",
785 "GPIO224_AG9", "GPIO225_AG8";
786 ste,config = <&gpio_out_hi>;
791 wlan_default_mode: wlan_default {
792 /* GPIO216 for WL_HOST_WAKE */
794 pins = "GPIO216_AG12";
795 ste,config = <&gpio_in_pd>;
800 bluetooth_default_mode: bluetooth_default {
801 /* GPIO199 BT_WAKE and GPIO222 BT_VREG_ON */
803 pins = "GPIO199_AH23", "GPIO222_AJ9";
804 ste,config = <&gpio_out_lo>;
806 /* GPIO97 BT_HOST_WAKE */
809 ste,config = <&gpio_in_nopull>;
811 /* GPIO209 BT_RST_N */
813 pins = "GPIO209_AG15";
814 ste,config = <&gpio_out_hi>;
818 /* Interrupt line for TI TSU6111 Micro USB switch */
820 tsu6111_codina_default: tsu6111_codina {
822 /* GPIO95 used for IRQ */
824 ste,config = <&gpio_in_nopull>;
829 vibrator_default: vibrator_default {
831 pins = "GPIO195_AG28"; /* MOT_EN */
832 ste,config = <&gpio_out_lo>;
837 dpi_default_mode: dpi_default {
839 /* Mux in all the data lines */
842 /* Data lines D0-D7 GPIO70..GPIO77 */
844 /* Data lines D8-D11 GPIO78..GPIO81 */
846 /* Data lines D12-D15 GPIO82..GPIO85 */
848 /* Data lines D16-D23 GPIO161..GPIO168 */
853 /* Clock line on GPIO150, DE, VSO, HSO on GPIO169..GPIO171 */
854 groups = "lcdaclk_b_1", "lcda_b_1";
856 /* Input, no pull-up is the default state for pins used for an alt function */
858 pins = "GPIO150_C14", "GPIO169_D22", "GPIO170_C23", "GPIO171_D23";
859 ste,config = <&in_nopull>;