Lines Matching +full:sig +full:- +full:dir +full:- +full:dat2
1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8500.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
16 model = "Samsung Galaxy S Advance (GT-I9070)";
17 compatible = "samsung,janice", "st-ericsson,u8500";
20 stdout-path = &serial2;
24 ldo_3v3_reg: regulator-gpio-ldo-3v3 {
25 compatible = "regulator-fixed";
27 regulator-name = "VMEM_3V3";
28 regulator-min-microvolt = <3300000>;
29 regulator-max-microvolt = <3300000>;
31 startup-delay-us = <5000>; // FIXME
32 enable-active-high;
33 pinctrl-names = "default";
34 pinctrl-0 = <&emmc_ldo_en_default_mode>;
42 ldo_tsp_3v3_reg: regulator-gpio-tsp-ldo-3v3 {
43 compatible = "regulator-fixed";
45 regulator-name = "LDO_TSP_A3V3";
46 regulator-min-microvolt = <3300000>;
47 regulator-max-microvolt = <3300000>;
50 /* 70 ms power-on delay */
51 startup-delay-us = <70000>;
52 enable-active-high;
53 pinctrl-names = "default";
54 pinctrl-0 = <&tsp_ldo_en_default_mode>;
56 ldo_tsp_1v8_reg: regulator-gpio-tsp-ldo-1v8 {
57 compatible = "regulator-fixed";
59 regulator-name = "VREG_TSP_1V8";
60 regulator-min-microvolt = <1800000>;
61 regulator-max-microvolt = <1800000>;
64 /* 70 ms power-on delay */
65 startup-delay-us = <70000>;
66 enable-active-high;
67 pinctrl-names = "default";
68 pinctrl-0 = <&tsp_ldo_en_default_mode>;
77 ldo_kled_3v3_reg: regulator-gpio-vreg-kled-3v3 {
78 compatible = "regulator-fixed";
80 regulator-name = "VREG_KLED_3V3";
81 regulator-min-microvolt = <3300000>;
82 regulator-max-microvolt = <3300000>;
85 /* 70 ms power-on delay */
86 startup-delay-us = <70000>;
87 enable-active-high;
88 pinctrl-names = "default";
89 pinctrl-0 = <&en_led_ldo_default_mode>;
91 ldo_touchkey_1v8_reg: regulator-gpio-vreg-touchkey-1v8 {
92 compatible = "regulator-fixed";
94 regulator-name = "VREG_TOUCHKEY_1V8";
95 regulator-min-microvolt = <1800000>;
96 regulator-max-microvolt = <1800000>;
99 /* 70 ms power-on delay */
100 startup-delay-us = <70000>;
101 enable-active-high;
102 pinctrl-names = "default";
103 pinctrl-0 = <&tsp_ldo_on2_default_mode>;
108 * External Ricoh RP152L010B-TR LCD LDO regulator for the display.
111 lcd_3v0_reg: regulator-gpio-lcd-3v0 {
112 compatible = "regulator-fixed";
114 regulator-name = "VREG_LCD_3V0";
115 regulator-min-microvolt = <3000000>;
116 regulator-max-microvolt = <3000000>;
119 enable-active-high;
120 pinctrl-names = "default";
121 pinctrl-0 = <&lcd_pwr_en_default_mode>;
123 lcd_1v8_reg: regulator-gpio-lcd-1v8 {
124 compatible = "regulator-fixed";
126 regulator-name = "VREG_LCD_1V8";
127 regulator-min-microvolt = <1800000>;
128 regulator-max-microvolt = <1800000>;
131 enable-active-high;
132 pinctrl-names = "default";
133 pinctrl-0 = <&lcd_pwr_en_default_mode>;
146 wl_reg: regulator-gpio-wlan {
147 compatible = "regulator-fixed";
148 regulator-name = "WL_REG_ON";
149 regulator-min-microvolt = <3000000>;
150 regulator-max-microvolt = <3000000>;
151 startup-delay-us = <100000>;
154 enable-active-high;
155 pinctrl-names = "default";
156 pinctrl-0 = <&wlan_ldo_en_default>;
160 gpio-keys {
161 compatible = "gpio-keys";
162 pinctrl-names = "default";
163 pinctrl-0 = <&gpio_keys_default_mode>;
165 button-home {
171 button-volup {
177 button-voldown {
179 label = "VOL-";
189 enf-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
191 ent-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
197 richtek,rfs-ohms = <16000>;
198 richtek,rts-ohms = <100000>;
199 pinctrl-names = "default";
200 pinctrl-0 = <&gpio_flash_default_mode>;
205 flash-max-timeout-us = <250000>;
206 flash-max-microamp = <343750>;
207 led-max-microamp = <55000>;
211 /* Bit-banged I2C on GPIO143 and GPIO144 also called "SUBPMU I2C" */
212 i2c-gpio-0 {
213 compatible = "i2c-gpio";
214 sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
215 scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
216 pinctrl-names = "default";
217 pinctrl-0 = <&i2c_gpio_0_default>;
218 #address-cells = <1>;
219 #size-cells = <0>;
226 vdd-supply = <&ab8500_ldo_aux1_reg>;
228 iovdd-supply = <&ab8500_ldo_aux2_reg>;
230 reset-gpios = <&gpio6 12 GPIO_ACTIVE_LOW>;
231 pinctrl-names = "default";
232 pinctrl-0 = <&yas529_default>;
242 * this panel interface. We have to use GPIO bit-banging instead.
244 spi-gpio-0 {
245 compatible = "spi-gpio";
247 sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
249 mosi-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
251 cs-gpios = <&gpio6 31 GPIO_ACTIVE_LOW>;
252 num-chipselects = <1>;
254 pinctrl-names = "default";
255 pinctrl-0 = <&spi_gpio_0_default>;
256 #address-cells = <1>;
257 #size-cells = <0>;
262 vdd3-supply = <&lcd_3v0_reg>;
263 vci-supply = <&lcd_1v8_reg>;
265 reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
266 pinctrl-names = "default";
267 pinctrl-0 = <&panel_default_mode>;
268 spi-3wire;
272 remote-endpoint = <&display_out>;
285 gp2a_shunt: current-sense-shunt {
286 compatible = "current-sense-shunt";
287 io-channels = <&gpadc 0x07>;
288 shunt-resistor-micro-ohms = <15000000>; /* 15 ohms c:a */
289 #io-channel-cells = <0>;
290 io-channel-ranges;
293 /* Bit-banged I2C on GPIO196 and GPIO197 also called "TOUCHKEY_I2C" */
294 i2c-gpio-1 {
295 compatible = "i2c-gpio";
296 sda-gpios = <&gpio6 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
297 scl-gpios = <&gpio6 4 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
298 clock-frequency = <400000>;
299 pinctrl-names = "default";
300 pinctrl-0 = <&i2c_gpio_1_default>;
301 #address-cells = <1>;
302 #size-cells = <0>;
305 compatible = "coreriver,tc360-touchkey";
307 vdd-supply = <&ldo_kled_3v3_reg>;
308 vcc-supply = <&ldo_touchkey_1v8_reg>;
309 vddio-supply = <&ldo_touchkey_1v8_reg>;
312 interrupt-parent = <&gpio6>;
315 pinctrl-names = "default";
316 pinctrl-0 = <&touchkey_default_mode>;
321 /* Bit-banged I2C on GPIO201 and GPIO202 also called "MOT_I2C" */
322 i2c-gpio-2 {
323 compatible = "i2c-gpio";
324 sda-gpios = <&gpio6 10 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
325 scl-gpios = <&gpio6 9 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
326 pinctrl-names = "default";
327 pinctrl-0 = <&i2c_gpio_2_default>;
328 #address-cells = <1>;
329 #size-cells = <0>;
333 /* Bit-banged I2C on GPIO151 and GPIO152 also called "NFC_I2C" */
334 i2c-gpio-3 {
335 compatible = "i2c-gpio";
336 sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
337 scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
338 pinctrl-names = "default";
339 pinctrl-0 = <&i2c_gpio_3_default>;
340 #address-cells = <1>;
341 #size-cells = <0>;
344 compatible = "nxp,pn547", "nxp,nxp-nci-i2c";
347 interrupt-parent = <&gpio1>;
350 firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
352 enable-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
353 pinctrl-names = "default";
354 pinctrl-0 = <&pn547_janice_default>;
361 arm,primecell-periphid = <0x10480180>;
362 max-frequency = <50000000>;
363 bus-width = <4>;
364 cap-sd-highspeed;
365 cap-mmc-highspeed;
366 st,sig-dir-cmd;
367 st,sig-dir-dat0;
368 st,sig-dir-dat2;
369 st,sig-pin-fbclk;
370 full-pwr-cycle;
372 vmmc-supply = <&ab8500_ldo_aux3_reg>;
374 vqmmc-supply = <&ab8500_ldo_aux3_reg>;
375 pinctrl-names = "default", "sleep";
376 pinctrl-0 = <&mc0_a_2_default>;
377 pinctrl-1 = <&mc0_a_2_sleep>;
378 cd-gpios = <&gpio6 25 GPIO_ACTIVE_LOW>; // GPIO217
384 arm,primecell-periphid = <0x10480180>;
385 max-frequency = <50000000>;
386 bus-width = <4>;
387 non-removable;
388 cap-sd-highspeed;
389 pinctrl-names = "default", "sleep";
390 pinctrl-0 = <&mc1_a_2_default>;
391 pinctrl-1 = <&mc1_a_2_sleep>;
393 * GPIO-controlled voltage enablement: this drives
397 vmmc-supply = <&wl_reg>;
399 #address-cells = <1>;
400 #size-cells = <0>;
404 compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac";
407 interrupt-parent = <&gpio6>;
409 interrupt-names = "host-wake";
410 pinctrl-names = "default";
411 pinctrl-0 = <&wlan_default_mode>;
417 arm,primecell-periphid = <0x10480180>;
418 max-frequency = <50000000>;
419 bus-width = <8>;
420 non-removable;
421 cap-mmc-highspeed;
422 mmc-ddr-1_8v;
423 no-sdio;
424 no-sd;
425 vmmc-supply = <&ldo_3v3_reg>;
426 pinctrl-names = "default", "sleep";
427 pinctrl-0 = <&mc2_a_1_default>;
428 pinctrl-1 = <&mc2_a_1_sleep>;
434 pinctrl-names = "default", "sleep";
435 pinctrl-0 = <&u0_a_1_default>;
436 pinctrl-1 = <&u0_a_1_sleep>;
441 compatible = "brcm,bcm4330-bt";
443 shutdown-gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
445 device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
448 host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
450 reset-gpios = <&gpio6 17 GPIO_ACTIVE_LOW>;
451 pinctrl-names = "default";
452 pinctrl-0 = <&bluetooth_default_mode>;
459 pinctrl-names = "default", "sleep";
461 pinctrl-0 = <&u1rxtx_a_1_default>;
462 pinctrl-1 = <&u1rxtx_a_1_sleep>;
469 pinctrl-names = "default", "sleep";
470 pinctrl-0 = <&u2rxtx_c_1_default>;
471 pinctrl-1 = <&u2rxtx_c_1_sleep>;
477 pinctrl-names = "default", "sleep";
478 pinctrl-0 = <&usb_a_1_default>;
479 pinctrl-1 = <&usb_a_1_sleep>;
482 ab8500-regulators {
485 regulator-name = "V-SENSORS-VDD";
486 regulator-min-microvolt = <3000000>;
487 regulator-max-microvolt = <3000000>;
492 regulator-name = "V-SENSORS-VIO";
493 regulator-min-microvolt = <1800000>;
494 regulator-max-microvolt = <1800000>;
499 regulator-name = "V-MMC-SD";
500 regulator-min-microvolt = <1200000>;
501 regulator-max-microvolt = <2910000>;
510 pinctrl-names = "default", "sleep";
511 pinctrl-0 = <&i2c0_a_1_default>;
512 pinctrl-1 = <&i2c0_a_1_sleep>;
517 clock-frequency = <400000>;
520 interrupt-parent = <&gpio4>;
522 vdd-supply = <&ab8500_ldo_aux1_reg>;
523 vio-supply = <&ab8500_ldo_aux2_reg>;
525 io-channels = <&gp2a_shunt>;
526 io-channel-names = "alsout";
527 pinctrl-names = "default";
528 pinctrl-0 = <&gp2ap002_janice_default>;
529 /* B1 mode (arch/arm/mach-ux500/include/mach/gp2a.h) */
530 sharp,proximity-far-hysteresis = /bits/ 8 <0x40>;
531 sharp,proximity-close-hysteresis = /bits/ 8 <0x0f>;
538 pinctrl-names = "default","sleep";
539 pinctrl-0 = <&i2c1_b_2_default>;
540 pinctrl-1 = <&i2c1_b_2_sleep>;
543 usb-switch@25 {
547 interrupt-parent = <&gpio2>;
549 pinctrl-names = "default";
550 pinctrl-0 = <&tsu6111_janice_default>;
557 pinctrl-names = "default", "sleep";
558 pinctrl-0 = <&i2c2_b_2_default>;
559 pinctrl-1 = <&i2c2_b_2_sleep>;
565 interrupt-parent = <&gpio7>;
568 mount-matrix = "1", "0", "0",
571 vlogic-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
572 vdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
573 pinctrl-names = "default";
574 pinctrl-0 = <&mpu3050_janice_default>;
577 * The MPU-3050 acts as a hub for the
580 i2c-gate {
581 #address-cells = <1>;
582 #size-cells = <0>;
588 mount-matrix = "0", "1", "0",
589 "-1", "0", "0",
590 "0", "0", "-1";
591 vddio-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
592 vdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
602 pinctrl-names = "default", "sleep";
603 pinctrl-0 = <&i2c3_c_2_default>;
604 pinctrl-1 = <&i2c3_c_2_sleep>;
611 interrupt-parent = <&gpio6>;
613 /* VDDA is "analog supply", 2.57-3.47 V */
614 vdda-supply = <&ldo_tsp_3v3_reg>;
615 /* VDD is "digital supply" 1.71-3.47V */
616 vdd-supply = <&ldo_tsp_1v8_reg>;
617 pinctrl-names = "default";
618 pinctrl-0 = <&tsp_default>;
624 pinctrl-names = "default";
625 pinctrl-0 = <&dpi_default_mode>;
629 remote-endpoint = <&panel_in>;
655 /* Data lines D0-D7 GPIO70..GPIO77 */
657 /* Data lines D8-D11 GPIO78..GPIO81 */
659 /* Data lines D12-D15 GPIO82..GPIO85 */
661 /* Data lines D16-D23 GPIO161..GPIO168 */
669 /* Input, no pull-up is the default state for pins used for an alt function */
687 emmc-ldo {
697 tsp-ldo {
707 key-led {
717 touchkey-ldo {
741 lcd-ldo {
751 wlan-ldo {
770 gpio-keys {
817 /* GPIO-based I2C bus for magnetometer and NCP6914 */
818 i2c-gpio-0 {
826 /* GPIO-based I2C bus for the Cypress touchkeys */
827 i2c-gpio-1 {
835 /* GPIO-based I2C bus for the Immersion ISA1200 */
836 i2c-gpio-2 {
844 /* GPIO-based I2C bus for the NFC */
845 i2c-gpio-3 {
853 /* GPIO-based SPI bus for the display */
854 spi-gpio-0 {