Lines Matching +full:card +full:- +full:detect +full:- +full:delay

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;
28 sd_level_translator: regulator-gpio {
29 compatible = "regulator-fixed";
33 enable-active-high;
35 regulator-name = "sd-level-translator";
36 regulator-min-microvolt = <2900000>;
37 regulator-max-microvolt = <2900000>;
38 regulator-type = "voltage";
40 startup-delay-us = <200>;
42 pinctrl-names = "default";
43 pinctrl-0 = <&sd_level_translator_default>;
46 /* External LDO MIC5366-3.3YMT for eMMC */
47 ldo_3v3_reg: regulator-gpio-ldo-3v3 {
48 compatible = "regulator-fixed";
49 regulator-name = "en-3v3-fixed-supply";
50 regulator-min-microvolt = <3300000>;
51 regulator-max-microvolt = <3300000>;
53 startup-delay-us = <5000>;
54 enable-active-high;
55 pinctrl-names = "default";
56 pinctrl-0 = <&emmc_ldo_en_default_mode>;
60 * External Ricoh RP152L010B-TR LCD LDO regulator for the display.
63 lcd_3v0_reg: regulator-gpio-lcd-3v0 {
64 compatible = "regulator-fixed";
66 regulator-name = "VREG_LCD_3V0";
67 regulator-min-microvolt = <3000000>;
68 regulator-max-microvolt = <3000000>;
71 enable-active-high;
72 pinctrl-names = "default";
73 pinctrl-0 = <&lcd_pwr_en_default_mode>;
75 lcd_1v8_reg: regulator-gpio-lcd-1v8 {
76 compatible = "regulator-fixed";
78 regulator-name = "VREG_LCD_1V8";
79 regulator-min-microvolt = <1800000>;
80 regulator-max-microvolt = <1800000>;
83 enable-active-high;
84 pinctrl-names = "default";
85 pinctrl-0 = <&lcd_pwr_en_default_mode>;
88 wlan_en: regulator-gpio-wlan-en {
89 compatible = "regulator-fixed";
90 regulator-name = "wl-reg-on";
91 regulator-min-microvolt = <3000000>;
92 regulator-max-microvolt = <3000000>;
93 startup-delay-us = <200000>;
96 enable-active-high;
97 pinctrl-names = "default";
98 pinctrl-0 = <&wlan_en_default_mode>;
102 compatible = "gpio-vibrator";
103 enable-gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;
104 pinctrl-names = "default";
105 pinctrl-0 = <&vibrator_default>;
108 gpio-keys {
109 compatible = "gpio-keys";
110 pinctrl-names = "default";
111 pinctrl-0 = <&gpio_keys_default_mode>;
113 button-home {
119 button-volup {
125 button-voldown {
127 label = "VOL-";
136 enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
138 default-brightness = <13>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&gpio_backlight_default_mode>;
147 enf-gpios = <&gpio4 12 GPIO_ACTIVE_HIGH>;
149 ent-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>;
155 richtek,rfs-ohms = <16000>;
156 richtek,rts-ohms = <100000>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&gpio_flash_default_mode>;
163 flash-max-timeout-us = <250000>;
164 flash-max-microamp = <343750>;
165 led-max-microamp = <55000>;
169 i2c-gpio-0 {
170 compatible = "i2c-gpio";
171 sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
172 scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
173 pinctrl-names = "default";
174 pinctrl-0 = <&i2c_gpio_0_default>;
175 #address-cells = <1>;
176 #size-cells = <0>;
180 i2c-gpio-1 {
181 compatible = "i2c-gpio";
182 sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
183 scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&i2c_gpio_1_default>;
186 #address-cells = <1>;
187 #size-cells = <0>;
191 avdd-supply = <&ab8500_ldo_aux1_reg>;
192 dvdd-supply = <&ab8500_ldo_aux6_reg>;
199 arm,primecell-periphid = <0x10480180>;
200 max-frequency = <100000000>;
201 bus-width = <4>;
202 cap-sd-highspeed;
203 cap-mmc-highspeed;
204 st,sig-pin-fbclk;
205 full-pwr-cycle;
206 vmmc-supply = <&ab8500_ldo_aux3_reg>;
207 vqmmc-supply = <&sd_level_translator>;
208 pinctrl-names = "default", "sleep";
209 pinctrl-0 = <&mc0_a_1_default>;
210 pinctrl-1 = <&mc0_a_1_sleep>;
211 cd-gpios = <&gpio6 25 GPIO_ACTIVE_LOW>; // GPIO217
217 arm,primecell-periphid = <0x10480180>;
218 max-frequency = <50000000>;
219 bus-width = <4>;
220 non-removable;
221 cap-sd-highspeed;
222 vmmc-supply = <&wlan_en>;
223 pinctrl-names = "default", "sleep";
224 pinctrl-0 = <&mc1_a_2_default>;
225 pinctrl-1 = <&mc1_a_2_sleep>;
227 #address-cells = <1>;
228 #size-cells = <0>;
231 compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac";
234 interrupt-parent = <&gpio6>;
236 interrupt-names = "host-wake";
237 pinctrl-names = "default";
238 pinctrl-0 = <&wlan_default_mode>;
246 arm,primecell-periphid = <0x10480180>;
247 max-frequency = <100000000>;
248 bus-width = <8>;
249 non-removable;
250 cap-mmc-highspeed;
251 mmc-ddr-1_8v;
252 no-sdio;
253 no-sd;
254 /* From datasheet page 26 figure 9: 300 ms set-up time for 4GB */
255 post-power-on-delay-ms = <300>;
256 vmmc-supply = <&ldo_3v3_reg>;
257 pinctrl-names = "default", "sleep";
258 pinctrl-0 = <&mc2_a_1_default>;
259 pinctrl-1 = <&mc2_a_1_sleep>;
266 pinctrl-names = "default", "sleep";
267 pinctrl-0 = <&u0_a_1_default>;
268 pinctrl-1 = <&u0_a_1_sleep>;
273 compatible = "brcm,bcm4330-bt";
274 shutdown-gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
275 device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
276 host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&bluetooth_default_mode>;
285 pinctrl-names = "default", "sleep";
286 pinctrl-0 = <&u1rxtx_a_1_default &u1ctsrts_a_1_default>;
287 pinctrl-1 = <&u1rxtx_a_1_sleep &u1ctsrts_a_1_sleep>;
293 pinctrl-names = "default", "sleep";
294 pinctrl-0 = <&u2rxtx_c_1_default>;
295 pinctrl-1 = <&u2rxtx_c_1_sleep>;
301 pinctrl-names = "default", "sleep";
302 pinctrl-0 = <&usb_a_1_default>;
303 pinctrl-1 = <&usb_a_1_sleep>;
306 ab8505-regulators {
309 regulator-name = "AUX1";
310 regulator-min-microvolt = <3000000>;
311 regulator-max-microvolt = <3300000>;
316 regulator-name = "AUX2";
317 regulator-min-microvolt = <3300000>;
318 regulator-max-microvolt = <3300000>;
322 /* Used for voltage for external MMC/SD card */
323 regulator-name = "AUX3";
324 regulator-min-microvolt = <1100000>;
325 regulator-max-microvolt = <3300000>;
329 regulator-name = "AUX4";
331 regulator-min-microvolt = <3300000>;
332 regulator-max-microvolt = <3300000>;
336 regulator-name = "AUX5";
338 regulator-min-microvolt = <1800000>;
339 regulator-max-microvolt = <1800000>;
343 regulator-name = "AUX6";
345 regulator-min-microvolt = <1800000>;
346 regulator-max-microvolt = <1800000>;
351 regulator-name = "AUX8";
361 pinctrl-names = "default", "sleep";
362 pinctrl-0 = <&i2c0_a_1_default>;
363 pinctrl-1 = <&i2c0_a_1_sleep>;
367 clock-frequency = <400000>;
370 interrupt-parent = <&gpio4>;
372 vdd-supply = <&ab8500_ldo_aux1_reg>;
373 vio-supply = <&ab8500_ldo_aux6_reg>;
374 pinctrl-names = "default";
375 pinctrl-0 = <&gp2ap002_kyle_default>;
376 sharp,proximity-far-hysteresis = /bits/ 8 <0x2f>;
377 sharp,proximity-close-hysteresis = /bits/ 8 <0x0f>;
385 pinctrl-names = "default", "sleep";
386 pinctrl-0 = <&i2c2_b_2_default>;
387 pinctrl-1 = <&i2c2_b_2_sleep>;
391 clock-frequency = <400000>;
394 mount-matrix = "-1", "0", "0",
395 "0", "-1", "0",
396 "0", "0", "-1";
397 vdd-supply = <&ab8500_ldo_aux1_reg>;
398 vddio-supply = <&ab8500_ldo_aux6_reg>;
406 pinctrl-names = "default", "sleep";
407 pinctrl-0 = <&i2c3_c_2_default>;
408 pinctrl-1 = <&i2c3_c_2_sleep>;
415 interrupt-parent = <&gpio6>;
417 /* AVDD is "analog supply", 2.57-3.47 V */
418 avdd-supply = <&ab8500_ldo_aux2_reg>;
419 /* VDD is "digital supply" 1.71-3.47V */
420 vdd-supply = <&ab8500_ldo_aux5_reg>;
422 touchscreen-size-x = <480>;
423 touchscreen-size-y = <800>;
425 pinctrl-names = "default";
426 pinctrl-0 = <&mms134s_kyle_default>;
432 pinctrl-names = "default";
433 pinctrl-0 = <&dsi_default_mode>;
438 * NT35510-based Hydis HVA40WV1
445 /* v_lcd_3v0 2.3-4.8V */
446 vdd-supply = <&lcd_3v0_reg>;
447 /* v_lcd_1v8 1.65-3.3V */
448 vddi-supply = <&lcd_1v8_reg>;
450 reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
451 pinctrl-names = "default";
452 pinctrl-0 = <&display_default_mode>;
463 * the card detect GPIO217 line.
472 pins = "GPIO217_AH12"; /* card detect */
497 * OLED DETECT or check_pba, this appears to be high
507 * (de-asserted) so we only assert reset explicitly
516 lcd-ldo {
542 /* GPIO that enables the 2.9V SD card level translator */
543 sd-level-translator {
553 emmc-ldo {
563 gpio-keys {
582 /* GPIO-based I2C bus for NCP6914 */
583 i2c-gpio-0 {
591 /* GPIO-based I2C bus for ALPS HSCD compass */
592 i2c-gpio-1 {
647 pinctrl-names = "default";
648 pinctrl-0 = <&gpio_default>;
660 bias-disable;