Lines Matching +full:te +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle.
10 /dts-v1/;
11 #include "ste-db8500.dtsi"
12 #include "ste-ab8505.dtsi"
13 #include "ste-dbx5x0-pinctrl.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/leds/common.h>
16 #include <dt-bindings/input/input.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
20 model = "Samsung Galaxy Amp (SGH-I407)";
21 compatible = "samsung,kyle", "st-ericsson,u8500";
24 stdout-path = &serial2;
31 thermal-zones {
32 battery-thermal {
34 polling-delay = <0>;
35 polling-delay-passive = <0>;
36 thermal-sensors = <&bat_therm>;
39 battery-crit-hi {
49 compatible = "samsung,1404-001221";
50 io-channels = <&gpadc 0x02>; /* BatTemp */
51 pullup-uv = <1800000>;
52 pullup-ohm = <230000>;
53 pulldown-ohm = <0>;
54 #thermal-sensor-cells = <0>;
58 sd_level_translator: regulator-gpio {
59 compatible = "regulator-fixed";
62 gpios = <&gpio2 23 GPIO_ACTIVE_HIGH>;
63 enable-active-high;
65 regulator-name = "sd-level-translator";
66 regulator-min-microvolt = <2900000>;
67 regulator-max-microvolt = <2900000>;
68 regulator-type = "voltage";
70 startup-delay-us = <200>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&sd_level_translator_default>;
76 /* External LDO MIC5366-3.3YMT for eMMC */
77 ldo_3v3_reg: regulator-gpio-ldo-3v3 {
78 compatible = "regulator-fixed";
79 regulator-name = "en-3v3-fixed-supply";
80 regulator-min-microvolt = <3300000>;
81 regulator-max-microvolt = <3300000>;
83 startup-delay-us = <5000>;
84 enable-active-high;
85 pinctrl-names = "default";
86 pinctrl-0 = <&emmc_ldo_en_default_mode>;
90 * External Ricoh RP152L010B-TR LCD LDO regulator for the display.
93 lcd_3v0_reg: regulator-gpio-lcd-3v0 {
94 compatible = "regulator-fixed";
96 regulator-name = "VREG_LCD_3V0";
97 regulator-min-microvolt = <3000000>;
98 regulator-max-microvolt = <3000000>;
101 enable-active-high;
102 pinctrl-names = "default";
103 pinctrl-0 = <&lcd_pwr_en_default_mode>;
105 lcd_1v8_reg: regulator-gpio-lcd-1v8 {
106 compatible = "regulator-fixed";
108 regulator-name = "VREG_LCD_1V8";
109 regulator-min-microvolt = <1800000>;
110 regulator-max-microvolt = <1800000>;
113 enable-active-high;
114 pinctrl-names = "default";
115 pinctrl-0 = <&lcd_pwr_en_default_mode>;
118 wlan_en: regulator-gpio-wlan-en {
119 compatible = "regulator-fixed";
120 regulator-name = "wl-reg-on";
121 regulator-min-microvolt = <3000000>;
122 regulator-max-microvolt = <3000000>;
123 startup-delay-us = <200000>;
126 enable-active-high;
127 pinctrl-names = "default";
128 pinctrl-0 = <&wlan_en_default_mode>;
132 compatible = "gpio-vibrator";
133 enable-gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;
134 pinctrl-names = "default";
135 pinctrl-0 = <&vibrator_default>;
138 gpio-keys {
139 compatible = "gpio-keys";
140 pinctrl-names = "default";
141 pinctrl-0 = <&gpio_keys_default_mode>;
143 button-home {
147 gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
149 button-volup {
153 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
155 button-voldown {
157 label = "VOL-";
159 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
166 enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
168 default-brightness = <13>;
169 pinctrl-names = "default";
170 pinctrl-0 = <&gpio_backlight_default_mode>;
177 enf-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
179 ent-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
185 richtek,rfs-ohms = <16000>;
186 richtek,rts-ohms = <100000>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&gpio_flash_default_mode>;
193 flash-max-timeout-us = <250000>;
194 flash-max-microamp = <343750>;
195 led-max-microamp = <55000>;
199 i2c-gpio-0 {
200 compatible = "i2c-gpio";
201 sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
202 scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
203 pinctrl-names = "default";
204 pinctrl-0 = <&i2c_gpio_0_default>;
205 #address-cells = <1>;
206 #size-cells = <0>;
210 i2c-gpio-1 {
211 compatible = "i2c-gpio";
212 sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
213 scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
214 pinctrl-names = "default";
215 pinctrl-0 = <&i2c_gpio_1_default>;
216 #address-cells = <1>;
217 #size-cells = <0>;
221 avdd-supply = <&ab8500_ldo_aux1_reg>;
222 dvdd-supply = <&ab8500_ldo_aux6_reg>;
229 arm,primecell-periphid = <0x10480180>;
230 max-frequency = <100000000>;
231 bus-width = <4>;
232 cap-sd-highspeed;
233 cap-mmc-highspeed;
234 st,sig-pin-fbclk;
235 full-pwr-cycle;
236 vmmc-supply = <&ab8500_ldo_aux3_reg>;
237 vqmmc-supply = <&sd_level_translator>;
238 pinctrl-names = "default", "sleep";
239 pinctrl-0 = <&mc0_a_1_default>;
240 pinctrl-1 = <&mc0_a_1_sleep>;
241 cd-gpios = <&gpio6 25 GPIO_ACTIVE_LOW>; // GPIO217
247 arm,primecell-periphid = <0x10480180>;
248 max-frequency = <50000000>;
249 bus-width = <4>;
250 non-removable;
251 cap-sd-highspeed;
252 vmmc-supply = <&wlan_en>;
253 pinctrl-names = "default", "sleep";
254 pinctrl-0 = <&mc1_a_2_default>;
255 pinctrl-1 = <&mc1_a_2_sleep>;
257 #address-cells = <1>;
258 #size-cells = <0>;
261 compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac";
264 interrupt-parent = <&gpio6>;
266 interrupt-names = "host-wake";
267 pinctrl-names = "default";
268 pinctrl-0 = <&wlan_default_mode>;
276 arm,primecell-periphid = <0x10480180>;
277 max-frequency = <100000000>;
278 bus-width = <8>;
279 non-removable;
280 cap-mmc-highspeed;
281 mmc-ddr-1_8v;
282 no-sdio;
283 no-sd;
284 /* From datasheet page 26 figure 9: 300 ms set-up time for 4GB */
285 post-power-on-delay-ms = <300>;
286 vmmc-supply = <&ldo_3v3_reg>;
287 pinctrl-names = "default", "sleep";
288 pinctrl-0 = <&mc2_a_1_default>;
289 pinctrl-1 = <&mc2_a_1_sleep>;
296 pinctrl-names = "default", "sleep";
297 pinctrl-0 = <&u0_a_1_default>;
298 pinctrl-1 = <&u0_a_1_sleep>;
303 compatible = "brcm,bcm4330-bt";
304 shutdown-gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
305 device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
306 host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
307 pinctrl-names = "default";
308 pinctrl-0 = <&bluetooth_default_mode>;
315 pinctrl-names = "default", "sleep";
316 pinctrl-0 = <&u1rxtx_a_1_default &u1ctsrts_a_1_default>;
317 pinctrl-1 = <&u1rxtx_a_1_sleep &u1ctsrts_a_1_sleep>;
320 /* The CSRG05TA03-ICJE-R is a SirfStarV 5t chip */
321 compatible = "csr,csrg05ta03-icje-r";
323 reset-gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
325 sirf,onoff-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
327 vcc-supply = <&db8500_vsmps2_reg>;
328 pinctrl-names = "default";
329 pinctrl-0 = <&g05ta03_kyle_default>;
331 current-speed = <460800>;
338 pinctrl-names = "default", "sleep";
339 pinctrl-0 = <&u2rxtx_c_1_default>;
340 pinctrl-1 = <&u2rxtx_c_1_sleep>;
346 pinctrl-names = "default", "sleep";
347 pinctrl-0 = <&usb_a_1_default>;
348 pinctrl-1 = <&usb_a_1_sleep>;
352 line-impedance-micro-ohms = <36000>;
358 regulator-name = "AUX1";
359 regulator-min-microvolt = <3000000>;
360 regulator-max-microvolt = <3300000>;
365 regulator-name = "AUX2";
366 regulator-min-microvolt = <3300000>;
367 regulator-max-microvolt = <3300000>;
372 regulator-name = "AUX3";
373 regulator-min-microvolt = <1100000>;
374 regulator-max-microvolt = <3300000>;
378 regulator-name = "AUX4";
380 regulator-min-microvolt = <3300000>;
381 regulator-max-microvolt = <3300000>;
385 regulator-name = "AUX5";
387 regulator-min-microvolt = <1800000>;
388 regulator-max-microvolt = <1800000>;
392 regulator-name = "AUX6";
394 regulator-min-microvolt = <1800000>;
395 regulator-max-microvolt = <1800000>;
400 regulator-name = "AUX8";
410 pinctrl-names = "default", "sleep";
411 pinctrl-0 = <&i2c0_a_1_default>;
412 pinctrl-1 = <&i2c0_a_1_sleep>;
416 clock-frequency = <400000>;
419 interrupt-parent = <&gpio4>;
421 vdd-supply = <&ab8500_ldo_aux1_reg>;
422 vio-supply = <&ab8500_ldo_aux6_reg>;
423 pinctrl-names = "default";
424 pinctrl-0 = <&gp2ap002_kyle_default>;
425 sharp,proximity-far-hysteresis = /bits/ 8 <0x2f>;
426 sharp,proximity-close-hysteresis = /bits/ 8 <0x0f>;
434 pinctrl-names = "default", "sleep";
435 pinctrl-0 = <&i2c2_b_2_default>;
436 pinctrl-1 = <&i2c2_b_2_sleep>;
440 clock-frequency = <400000>;
443 mount-matrix = "-1", "0", "0",
444 "0", "-1", "0",
445 "0", "0", "-1";
446 vdd-supply = <&ab8500_ldo_aux1_reg>;
447 vddio-supply = <&ab8500_ldo_aux6_reg>;
455 pinctrl-names = "default", "sleep";
456 pinctrl-0 = <&i2c3_c_2_default>;
457 pinctrl-1 = <&i2c3_c_2_sleep>;
464 interrupt-parent = <&gpio6>;
466 /* AVDD is "analog supply", 2.57-3.47 V */
467 avdd-supply = <&ab8500_ldo_aux2_reg>;
468 /* VDD is "digital supply" 1.71-3.47V */
469 vdd-supply = <&ab8500_ldo_aux5_reg>;
471 touchscreen-size-x = <480>;
472 touchscreen-size-y = <800>;
474 pinctrl-names = "default";
475 pinctrl-0 = <&mms134s_kyle_default>;
481 pinctrl-names = "default";
482 pinctrl-0 = <&dsi_default_mode>;
487 * NT35510-based Hydis HVA40WV1
494 /* v_lcd_3v0 2.3-4.8V */
495 vdd-supply = <&lcd_3v0_reg>;
496 /* v_lcd_1v8 1.65-3.3V */
497 vddi-supply = <&lcd_1v8_reg>;
499 reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
500 pinctrl-names = "default";
501 pinctrl-0 = <&display_default_mode>;
530 /* Mux in VSI0 used for DSI TE */
556 * (de-asserted) so we only assert reset explicitly
565 lcd-ldo {
592 sd-level-translator {
602 emmc-ldo {
612 gpio-keys {
631 /* GPIO-based I2C bus for NCP6914 */
632 i2c-gpio-0 {
640 /* GPIO-based I2C bus for ALPS HSCD compass */
641 i2c-gpio-1 {
694 /* Reset line, start out de-asserted */
710 pinctrl-names = "default";
711 pinctrl-0 = <&gpio_default>;
723 bias-disable;