Lines Matching +full:db8500 +full:- +full:prcmu +full:- +full:regulators

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;
27 thermal-zones {
28 battery-thermal {
30 polling-delay = <0>;
31 polling-delay-passive = <0>;
32 thermal-sensors = <&bat_therm>;
35 battery-crit-hi {
45 compatible = "samsung,1404-001221";
46 io-channels = <&gpadc 0x02>; /* BatTemp */
47 pullup-uv = <1800000>;
48 pullup-ohm = <230000>;
49 pulldown-ohm = <0>;
50 #thermal-sensor-cells = <0>;
54 ldo_3v3_reg: regulator-gpio-ldo-3v3 {
55 compatible = "regulator-fixed";
57 regulator-name = "VMEM_3V3";
58 regulator-min-microvolt = <3300000>;
59 regulator-max-microvolt = <3300000>;
61 startup-delay-us = <5000>; // FIXME
62 enable-active-high;
63 pinctrl-names = "default";
64 pinctrl-0 = <&emmc_ldo_en_default_mode>;
72 ldo_tsp_3v3_reg: regulator-gpio-tsp-ldo-3v3 {
73 compatible = "regulator-fixed";
75 regulator-name = "LDO_TSP_A3V3";
76 regulator-min-microvolt = <3300000>;
77 regulator-max-microvolt = <3300000>;
80 /* 70 ms power-on delay */
81 startup-delay-us = <70000>;
82 enable-active-high;
83 pinctrl-names = "default";
84 pinctrl-0 = <&tsp_ldo_en_default_mode>;
86 ldo_tsp_1v8_reg: regulator-gpio-tsp-ldo-1v8 {
87 compatible = "regulator-fixed";
89 regulator-name = "VREG_TSP_1V8";
90 regulator-min-microvolt = <1800000>;
91 regulator-max-microvolt = <1800000>;
94 /* 70 ms power-on delay */
95 startup-delay-us = <70000>;
96 enable-active-high;
97 pinctrl-names = "default";
98 pinctrl-0 = <&tsp_ldo_en_default_mode>;
107 ldo_kled_3v3_reg: regulator-gpio-vreg-kled-3v3 {
108 compatible = "regulator-fixed";
110 regulator-name = "VREG_KLED_3V3";
111 regulator-min-microvolt = <3300000>;
112 regulator-max-microvolt = <3300000>;
115 /* 70 ms power-on delay */
116 startup-delay-us = <70000>;
117 enable-active-high;
118 pinctrl-names = "default";
119 pinctrl-0 = <&en_led_ldo_default_mode>;
121 ldo_touchkey_1v8_reg: regulator-gpio-vreg-touchkey-1v8 {
122 compatible = "regulator-fixed";
124 regulator-name = "VREG_TOUCHKEY_1V8";
125 regulator-min-microvolt = <1800000>;
126 regulator-max-microvolt = <1800000>;
129 /* 70 ms power-on delay */
130 startup-delay-us = <70000>;
131 enable-active-high;
132 pinctrl-names = "default";
133 pinctrl-0 = <&tsp_ldo_on2_default_mode>;
138 * External Ricoh RP152L010B-TR LCD LDO regulator for the display.
141 lcd_3v0_reg: regulator-gpio-lcd-3v0 {
142 compatible = "regulator-fixed";
144 regulator-name = "VREG_LCD_3V0";
145 regulator-min-microvolt = <3000000>;
146 regulator-max-microvolt = <3000000>;
149 enable-active-high;
150 pinctrl-names = "default";
151 pinctrl-0 = <&lcd_pwr_en_default_mode>;
153 lcd_1v8_reg: regulator-gpio-lcd-1v8 {
154 compatible = "regulator-fixed";
156 regulator-name = "VREG_LCD_1V8";
157 regulator-min-microvolt = <1800000>;
158 regulator-max-microvolt = <1800000>;
161 enable-active-high;
162 pinctrl-names = "default";
163 pinctrl-0 = <&lcd_pwr_en_default_mode>;
168 * line WL_REG_ON high and enables the internal regulators
176 wl_reg: regulator-gpio-wlan {
177 compatible = "regulator-fixed";
178 regulator-name = "WL_REG_ON";
179 regulator-min-microvolt = <3000000>;
180 regulator-max-microvolt = <3000000>;
181 startup-delay-us = <100000>;
184 enable-active-high;
185 pinctrl-names = "default";
186 pinctrl-0 = <&wlan_ldo_en_default>;
190 gpio-keys {
191 compatible = "gpio-keys";
192 pinctrl-names = "default";
193 pinctrl-0 = <&gpio_keys_default_mode>;
195 button-home {
201 button-volup {
207 button-voldown {
209 label = "VOL-";
219 enf-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
221 ent-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
227 richtek,rfs-ohms = <16000>;
228 richtek,rts-ohms = <100000>;
229 pinctrl-names = "default";
230 pinctrl-0 = <&gpio_flash_default_mode>;
235 flash-max-timeout-us = <250000>;
236 flash-max-microamp = <343750>;
237 led-max-microamp = <55000>;
241 /* Bit-banged I2C on GPIO143 and GPIO144 also called "SUBPMU I2C" */
242 i2c-gpio-0 {
243 compatible = "i2c-gpio";
244 sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
245 scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
246 pinctrl-names = "default";
247 pinctrl-0 = <&i2c_gpio_0_default>;
248 #address-cells = <1>;
249 #size-cells = <0>;
256 vdd-supply = <&ab8500_ldo_aux1_reg>;
258 iovdd-supply = <&ab8500_ldo_aux2_reg>;
260 reset-gpios = <&gpio6 12 GPIO_ACTIVE_LOW>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&yas529_default>;
272 * this panel interface. We have to use GPIO bit-banging instead.
274 spi-gpio-0 {
275 compatible = "spi-gpio";
277 sck-gpios = <&gpio6 28 GPIO_ACTIVE_HIGH>;
279 mosi-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
281 cs-gpios = <&gpio6 31 GPIO_ACTIVE_LOW>;
282 num-chipselects = <1>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&spi_gpio_0_default>;
286 #address-cells = <1>;
287 #size-cells = <0>;
292 vdd3-supply = <&lcd_3v0_reg>;
293 vci-supply = <&lcd_1v8_reg>;
295 reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
296 pinctrl-names = "default";
297 pinctrl-0 = <&panel_default_mode>;
298 spi-3wire;
300 spi-cpha;
301 spi-cpol;
305 remote-endpoint = <&display_out>;
318 gp2a_shunt: current-sense-shunt {
319 compatible = "current-sense-shunt";
320 io-channels = <&gpadc 0x07>;
321 shunt-resistor-micro-ohms = <15000000>; /* 15 ohms c:a */
322 #io-channel-cells = <0>;
323 io-channel-ranges;
326 /* Bit-banged I2C on GPIO196 and GPIO197 also called "TOUCHKEY_I2C" */
327 i2c-gpio-1 {
328 compatible = "i2c-gpio";
329 sda-gpios = <&gpio6 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
330 scl-gpios = <&gpio6 4 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
331 clock-frequency = <400000>;
332 pinctrl-names = "default";
333 pinctrl-0 = <&i2c_gpio_1_default>;
334 #address-cells = <1>;
335 #size-cells = <0>;
338 compatible = "coreriver,tc360-touchkey";
340 vdd-supply = <&ldo_kled_3v3_reg>;
341 vcc-supply = <&ldo_touchkey_1v8_reg>;
342 vddio-supply = <&ldo_touchkey_1v8_reg>;
345 interrupt-parent = <&gpio6>;
348 pinctrl-names = "default";
349 pinctrl-0 = <&touchkey_default_mode>;
354 /* Bit-banged I2C on GPIO201 and GPIO202 also called "MOT_I2C" */
355 i2c-gpio-2 {
356 compatible = "i2c-gpio";
357 sda-gpios = <&gpio6 10 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
358 scl-gpios = <&gpio6 9 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
359 pinctrl-names = "default";
360 pinctrl-0 = <&i2c_gpio_2_default>;
361 #address-cells = <1>;
362 #size-cells = <0>;
366 /* Bit-banged I2C on GPIO151 and GPIO152 also called "NFC_I2C" */
367 i2c-gpio-3 {
368 compatible = "i2c-gpio";
369 sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
370 scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
371 pinctrl-names = "default";
372 pinctrl-0 = <&i2c_gpio_3_default>;
373 #address-cells = <1>;
374 #size-cells = <0>;
377 compatible = "nxp,pn547", "nxp,nxp-nci-i2c";
380 interrupt-parent = <&gpio1>;
383 firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;
385 enable-gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
386 pinctrl-names = "default";
387 pinctrl-0 = <&pn547_janice_default>;
394 arm,primecell-periphid = <0x10480180>;
395 max-frequency = <50000000>;
396 bus-width = <4>;
397 cap-sd-highspeed;
398 cap-mmc-highspeed;
399 st,sig-dir-cmd;
400 st,sig-dir-dat0;
401 st,sig-dir-dat2;
402 st,sig-pin-fbclk;
403 full-pwr-cycle;
405 vmmc-supply = <&ab8500_ldo_aux3_reg>;
407 vqmmc-supply = <&ab8500_ldo_aux3_reg>;
408 pinctrl-names = "default", "sleep";
409 pinctrl-0 = <&mc0_a_2_default>;
410 pinctrl-1 = <&mc0_a_2_sleep>;
411 cd-gpios = <&gpio6 25 GPIO_ACTIVE_LOW>; // GPIO217
417 arm,primecell-periphid = <0x10480180>;
418 max-frequency = <50000000>;
419 bus-width = <4>;
420 non-removable;
421 cap-sd-highspeed;
422 pinctrl-names = "default", "sleep";
423 pinctrl-0 = <&mc1_a_2_default>;
424 pinctrl-1 = <&mc1_a_2_sleep>;
426 * GPIO-controlled voltage enablement: this drives
430 vmmc-supply = <&wl_reg>;
432 #address-cells = <1>;
433 #size-cells = <0>;
437 compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac";
440 interrupt-parent = <&gpio6>;
442 interrupt-names = "host-wake";
443 pinctrl-names = "default";
444 pinctrl-0 = <&wlan_default_mode>;
450 arm,primecell-periphid = <0x10480180>;
451 max-frequency = <50000000>;
452 bus-width = <8>;
453 non-removable;
454 cap-mmc-highspeed;
455 mmc-ddr-1_8v;
456 no-sdio;
457 no-sd;
458 vmmc-supply = <&ldo_3v3_reg>;
459 pinctrl-names = "default", "sleep";
460 pinctrl-0 = <&mc2_a_1_default>;
461 pinctrl-1 = <&mc2_a_1_sleep>;
467 pinctrl-names = "default", "sleep";
468 pinctrl-0 = <&u0_a_1_default>;
469 pinctrl-1 = <&u0_a_1_sleep>;
474 compatible = "brcm,bcm4330-bt";
476 shutdown-gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
478 device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
481 host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
483 reset-gpios = <&gpio6 17 GPIO_ACTIVE_LOW>;
484 pinctrl-names = "default";
485 pinctrl-0 = <&bluetooth_default_mode>;
492 pinctrl-names = "default", "sleep";
494 pinctrl-0 = <&u1rxtx_a_1_default>;
495 pinctrl-1 = <&u1rxtx_a_1_sleep>;
501 * Janice has a SiRFstarIV-based GSD4t
502 * Golden has a SiRFstarV 5t-based CSRG05TA03-ICJE-R.
506 reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
508 sirf,onoff-gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
510 vcc-supply = <&db8500_vsmps2_reg>;
511 pinctrl-names = "default";
512 pinctrl-0 = <&gsd4t_janice_default>;
514 current-speed = <460800>;
521 pinctrl-names = "default", "sleep";
522 pinctrl-0 = <&u2rxtx_c_1_default>;
523 pinctrl-1 = <&u2rxtx_c_1_sleep>;
526 prcmu@80157000 {
529 pinctrl-names = "default", "sleep";
530 pinctrl-0 = <&usb_a_1_default>;
531 pinctrl-1 = <&usb_a_1_sleep>;
535 line-impedance-micro-ohms = <15000>;
541 regulator-name = "V-SENSORS-VDD";
542 regulator-min-microvolt = <3000000>;
543 regulator-max-microvolt = <3000000>;
548 regulator-name = "V-SENSORS-VIO";
549 regulator-min-microvolt = <1800000>;
550 regulator-max-microvolt = <1800000>;
555 regulator-name = "V-MMC-SD";
556 regulator-min-microvolt = <1200000>;
557 regulator-max-microvolt = <2910000>;
566 pinctrl-names = "default", "sleep";
567 pinctrl-0 = <&i2c0_a_1_default>;
568 pinctrl-1 = <&i2c0_a_1_sleep>;
573 clock-frequency = <400000>;
576 interrupt-parent = <&gpio4>;
578 vdd-supply = <&ab8500_ldo_aux1_reg>;
579 vio-supply = <&ab8500_ldo_aux2_reg>;
581 io-channels = <&gp2a_shunt>;
582 io-channel-names = "alsout";
583 pinctrl-names = "default";
584 pinctrl-0 = <&gp2ap002_janice_default>;
585 /* B1 mode (arch/arm/mach-ux500/include/mach/gp2a.h) */
586 sharp,proximity-far-hysteresis = /bits/ 8 <0x40>;
587 sharp,proximity-close-hysteresis = /bits/ 8 <0x0f>;
594 pinctrl-names = "default","sleep";
595 pinctrl-0 = <&i2c1_b_2_default>;
596 pinctrl-1 = <&i2c1_b_2_sleep>;
599 usb-switch@25 {
603 interrupt-parent = <&gpio2>;
605 pinctrl-names = "default";
606 pinctrl-0 = <&tsu6111_janice_default>;
613 pinctrl-names = "default", "sleep";
614 pinctrl-0 = <&i2c2_b_2_default>;
615 pinctrl-1 = <&i2c2_b_2_sleep>;
621 interrupt-parent = <&gpio7>;
624 mount-matrix = "1", "0", "0",
627 vlogic-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
628 vdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
629 pinctrl-names = "default";
630 pinctrl-0 = <&mpu3050_janice_default>;
633 * The MPU-3050 acts as a hub for the
636 i2c-gate {
637 #address-cells = <1>;
638 #size-cells = <0>;
644 mount-matrix = "0", "-1", "0",
647 vddio-supply = <&ab8500_ldo_aux2_reg>; // 1.8V
648 vdd-supply = <&ab8500_ldo_aux1_reg>; // 3V
658 pinctrl-names = "default", "sleep";
659 pinctrl-0 = <&i2c3_c_2_default>;
660 pinctrl-1 = <&i2c3_c_2_sleep>;
667 interrupt-parent = <&gpio6>;
669 /* VDDA is "analog supply", 2.57-3.47 V */
670 vdda-supply = <&ldo_tsp_3v3_reg>;
671 /* VDD is "digital supply" 1.71-3.47V */
672 vdd-supply = <&ldo_tsp_1v8_reg>;
673 pinctrl-names = "default";
674 pinctrl-0 = <&tsp_default>;
680 pinctrl-names = "default";
681 pinctrl-0 = <&dpi_default_mode>;
685 remote-endpoint = <&panel_in>;
711 /* Data lines D0-D7 GPIO70..GPIO77 */
713 /* Data lines D8-D11 GPIO78..GPIO81 */
715 /* Data lines D12-D15 GPIO82..GPIO85 */
717 /* Data lines D16-D23 GPIO161..GPIO168 */
725 /* Input, no pull-up is the default state for pins used for an alt function */
743 emmc-ldo {
753 tsp-ldo {
763 key-led {
773 touchkey-ldo {
797 lcd-ldo {
806 /* GPIO that enables the WLAN internal LDO regulators */
807 wlan-ldo {
826 gpio-keys {
873 /* GPIO-based I2C bus for magnetometer and NCP6914 */
874 i2c-gpio-0 {
882 /* GPIO-based I2C bus for the Cypress touchkeys */
883 i2c-gpio-1 {
891 /* GPIO-based I2C bus for the Immersion ISA1200 */
892 i2c-gpio-2 {
900 /* GPIO-based I2C bus for the NFC */
901 i2c-gpio-3 {
909 /* GPIO-based SPI bus for the display */
910 spi-gpio-0 {