Lines Matching +full:gpio +full:- +full:vibrator

1 // SPDX-License-Identifier: GPL-2.0-only
3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer.
6 /dts-v1/;
7 #include "ste-db8500.dtsi"
8 #include "ste-ab8505.dtsi"
9 #include "ste-dbx5x0-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
15 model = "Samsung XCover 2 (GT-S7710)";
16 compatible = "samsung,skomer", "st-ericsson,u8500";
19 stdout-path = &serial2;
23 sd_level_translator: regulator-gpio {
24 compatible = "regulator-fixed";
28 enable-active-high;
30 regulator-name = "sd-level-translator";
31 regulator-min-microvolt = <2900000>;
32 regulator-max-microvolt = <2900000>;
33 regulator-type = "voltage";
35 startup-delay-us = <200>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&sd_level_translator_default>;
41 /* External LDO MIC5366-3.3YMT for eMMC */
42 ldo_3v3_reg: regulator-gpio-ldo-3v3 {
43 compatible = "regulator-fixed";
44 regulator-name = "en-3v3-fixed-supply";
45 regulator-min-microvolt = <3300000>;
46 regulator-max-microvolt = <3300000>;
47 gpio = <&gpio6 31 GPIO_ACTIVE_HIGH>;
48 startup-delay-us = <5000>;
49 enable-active-high;
50 pinctrl-names = "default";
51 pinctrl-0 = <&emmc_ldo_en_default_mode>;
54 wlan_en: regulator-gpio-wlan-en {
55 compatible = "regulator-fixed";
56 regulator-name = "wl-reg-on";
57 regulator-min-microvolt = <3000000>;
58 regulator-max-microvolt = <3000000>;
59 startup-delay-us = <200000>;
61 gpio = <&gpio6 23 GPIO_ACTIVE_HIGH>;
62 enable-active-high;
63 pinctrl-names = "default";
64 pinctrl-0 = <&wlan_en_default_mode>;
67 vibrator {
68 compatible = "gpio-vibrator";
69 enable-gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>;
70 pinctrl-names = "default";
71 pinctrl-0 = <&vibrator_default>;
74 gpio-keys {
75 compatible = "gpio-keys";
76 pinctrl-names = "default";
77 pinctrl-0 = <&gpio_keys_default_mode>;
79 button-home {
85 button-volup {
91 button-voldown {
93 label = "VOL-";
97 button-menu {
103 button-back {
113 /* GPIO 69 */
114 enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
116 default-brightness = <13>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&gpio_backlight_default_mode>;
121 i2c-gpio-0 {
122 compatible = "i2c-gpio";
123 sda-gpios = <&gpio4 16 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
124 scl-gpios = <&gpio4 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&i2c_gpio_0_default>;
127 #address-cells = <1>;
128 #size-cells = <0>;
132 i2c-gpio-1 {
133 compatible = "i2c-gpio";
134 sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
135 scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
136 pinctrl-names = "default";
137 pinctrl-0 = <&i2c_gpio_1_default>;
138 #address-cells = <1>;
139 #size-cells = <0>;
143 avdd-supply = <&ab8500_ldo_aux1_reg>;
144 dvdd-supply = <&ab8500_ldo_aux8_reg>;
151 arm,primecell-periphid = <0x10480180>;
152 max-frequency = <100000000>;
153 bus-width = <4>;
154 cap-sd-highspeed;
155 cap-mmc-highspeed;
157 st,sig-pin-fbclk;
158 full-pwr-cycle;
159 vmmc-supply = <&ab8500_ldo_aux3_reg>;
160 vqmmc-supply = <&sd_level_translator>;
161 pinctrl-names = "default", "sleep";
162 pinctrl-0 = <&mc0_a_1_default>;
163 pinctrl-1 = <&mc0_a_1_sleep>;
169 arm,primecell-periphid = <0x10480180>;
170 max-frequency = <50000000>;
171 bus-width = <4>;
172 non-removable;
173 cap-sd-highspeed;
174 vmmc-supply = <&wlan_en>;
175 pinctrl-names = "default", "sleep";
176 pinctrl-0 = <&mc1_a_2_default>;
177 pinctrl-1 = <&mc1_a_2_sleep>;
179 #address-cells = <1>;
180 #size-cells = <0>;
183 compatible = "brcm,bcm4329-fmac";
186 interrupt-parent = <&gpio6>;
188 interrupt-names = "host-wake";
189 pinctrl-names = "default";
190 pinctrl-0 = <&wlan_default_mode>;
196 arm,primecell-periphid = <0x10480180>;
197 max-frequency = <100000000>;
198 bus-width = <8>;
199 non-removable;
200 cap-mmc-highspeed;
201 mmc-ddr-1_8v;
202 vmmc-supply = <&ldo_3v3_reg>;
203 pinctrl-names = "default", "sleep";
204 pinctrl-0 = <&mc2_a_1_default>;
205 pinctrl-1 = <&mc2_a_1_sleep>;
212 pinctrl-names = "default", "sleep";
213 pinctrl-0 = <&u0_a_1_default>;
214 pinctrl-1 = <&u0_a_1_sleep>;
219 compatible = "brcm,bcm4330-bt";
220 shutdown-gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
221 device-wakeup-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
222 host-wakeup-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>;
223 pinctrl-names = "default";
224 pinctrl-0 = <&bluetooth_default_mode>;
231 pinctrl-names = "default", "sleep";
232 pinctrl-0 = <&u1rxtx_a_1_default &u1ctsrts_a_1_default>;
233 pinctrl-1 = <&u1rxtx_a_1_sleep &u1ctsrts_a_1_sleep>;
239 pinctrl-names = "default", "sleep";
240 pinctrl-0 = <&u2rxtx_c_1_default>;
241 pinctrl-1 = <&u2rxtx_c_1_sleep>;
247 pinctrl-names = "default", "sleep";
248 pinctrl-0 = <&usb_a_1_default>;
249 pinctrl-1 = <&usb_a_1_sleep>;
252 ab8505-regulators {
255 regulator-name = "AUX1";
256 regulator-min-microvolt = <3000000>;
257 regulator-max-microvolt = <3300000>;
262 regulator-name = "AUX2";
263 regulator-min-microvolt = <3000000>;
264 regulator-max-microvolt = <3000000>;
269 regulator-name = "AUX3";
270 regulator-min-microvolt = <1100000>;
271 regulator-max-microvolt = <3300000>;
275 regulator-name = "AUX4";
277 regulator-min-microvolt = <3000000>;
278 regulator-max-microvolt = <3000000>;
282 regulator-name = "AUX5";
284 regulator-min-microvolt = <1050000>;
285 regulator-max-microvolt = <2790000>;
289 regulator-name = "AUX6";
291 regulator-min-microvolt = <1800000>;
292 regulator-max-microvolt = <1800000>;
297 regulator-name = "AUX8";
307 pinctrl-names = "default", "sleep";
308 pinctrl-0 = <&i2c0_a_1_default>;
309 pinctrl-1 = <&i2c0_a_1_sleep>;
313 clock-frequency = <400000>;
316 interrupt-parent = <&gpio4>;
318 vdd-supply = <&ab8500_ldo_aux1_reg>;
319 vio-supply = <&ab8500_ldo_aux8_reg>;
320 pinctrl-names = "default";
321 pinctrl-0 = <&gp2ap002_skomer_default>;
322 sharp,proximity-far-hysteresis = /bits/ 8 <0x2f>;
323 sharp,proximity-close-hysteresis = /bits/ 8 <0x0f>;
332 pinctrl-names = "default", "sleep";
333 pinctrl-0 = <&i2c2_b_2_default>;
334 pinctrl-1 = <&i2c2_b_2_sleep>;
338 clock-frequency = <400000>;
342 interrupt-parent = <&gpio7>;
345 mount-matrix = "0", "-1", "0",
348 vdd-supply = <&ab8500_ldo_aux1_reg>;
349 vddio-supply = <&ab8500_ldo_aux8_reg>;
350 pinctrl-names = "default";
351 pinctrl-0 = <&bma254_skomer_default>;
359 pinctrl-names = "default", "sleep";
360 pinctrl-0 = <&i2c3_c_2_default>;
361 pinctrl-1 = <&i2c3_c_2_sleep>;
366 clock-frequency = <400000>;
369 touchscreen-size-x = <480>;
370 touchscreen-size-y = <800>;
371 touchscreen-max-pressure = <255>;
374 interrupt-parent = <&gpio6>;
377 /* VDD is "digital supply" nominally 1.71-3.6V */
378 vdd-supply = <&ab8500_ldo_aux2_reg>;
379 /* VCPIN is "analog supply", 2.7-3.6 V */
380 vcpin-supply = <&ab8500_ldo_aux2_reg>;
382 pinctrl-names = "default";
383 pinctrl-0 = <&tma140_skomer_default>;
389 pinctrl-names = "default";
390 pinctrl-0 = <&dsi_default_mode>;
392 dsi-controller@a0351000 {
394 /* NT35510-based Hydis HVA40WV1 */
397 /* v_lcd_3v0 2.3-4.8V */
398 vdd-supply = <&ab8500_ldo_aux4_reg>;
399 /* v_lcd_1v8 1.65-3.3V */
400 vddi-supply = <&ab8500_ldo_aux6_reg>;
401 /* GPIO 139 */
402 reset-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
403 pinctrl-names = "default";
404 pinctrl-0 = <&display_default_mode>;
446 /* Two GPIO lines used by the display */
461 * (de-asserted) so we only assert reset explicitly
476 /* GPIO that enables the 2.9V SD card level translator */
477 sd-level-translator {
486 /* GPIO that enables the LDO regulator for the eMMC */
487 emmc-ldo {
496 /* GPIO keys */
497 gpio-keys {
527 /* GPIO-based I2C bus for NCP6914 */
528 i2c-gpio-0 {
536 /* GPIO-based I2C bus for ALPS HSCD compass */
537 i2c-gpio-1 {
571 vibrator {
592 pinctrl-names = "default";
593 pinctrl-0 = <&gpio_default>;
595 gpio {
598 /* Change unused pins to GPIO mode */
599 function = "gpio";
605 bias-disable;