Lines Matching +full:connect +full:- +full:gpios

1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
13 #include "qcom-mdm9615-wp8548.dtsi"
17 compatible = "swir,mangoh-green-wp8548", "swir,wp8548", "qcom,mdm9615";
28 stdout-path = "serial1:115200n8";
34 * - 2 : GPIOEXP_INT2
35 * - 7 : IOT1_GPIO2
36 * - 8 : IOT0_GPIO4
37 * - 13: IOT0_GPIO3
38 * - 21: IOT1_GPIO4
39 * - 22: IOT2_GPIO1
40 * - 23: IOT2_GPIO2
41 * - 24: IOT2_GPIO3
42 * - 25: IOT1_GPIO1
43 * - 32: IOT1_GPIO3
44 * - 33: IOT0_GPIO2
45 * - 42: IOT0_GPIO1 and SD Card Detect
48 gpioext1_pins: gpioext1-state {
49 gpioext1-pins {
52 bias-disable;
56 sdc_cd_pins: sdc-cd-state {
57 sdc-cd-pins {
60 drive-strength = <2>;
61 bias-pull-up;
68 compatible = "swir,mangoh-iotport-spi";
69 spi-max-frequency = <24000000>;
77 #address-cells = <1>;
78 #size-cells = <0>;
82 #address-cells = <1>;
83 #size-cells = <0>;
88 #address-cells = <1>;
89 #size-cells = <0>;
94 #address-cells = <1>;
95 #size-cells = <0>;
100 #address-cells = <1>;
101 #size-cells = <0>;
107 connect-gpios = <&gpioext2 1 GPIO_ACTIVE_HIGH>;
108 intn-gpios = <&gpioext2 0 GPIO_ACTIVE_HIGH>;
109 initial-mode = <1>;
114 #address-cells = <1>;
115 #size-cells = <0>;
120 * - 0: ARDUINO_RESET_Level shift
121 * - 1: BattChrgr_PG_N
122 * - 2: BattGauge_GPIO
123 * - 3: LED_ON (out active high)
124 * - 4: ATmega_reset_GPIO
125 * - 5: X
126 * - 6: PCM_ANALOG_SELECT (out active high)
127 * - 7: X
128 * - 8: Board_rev_res1 (in)
129 * - 9: Board_rev_res2 (in)
130 * - 10: UART_EXP1_ENn (out active low / pull-down)
131 * - 11: UART_EXP1_IN (out pull-down)
132 * - 12: UART_EXP2_IN (out pull-down)
133 * - 13: SDIO_SEL (out pull-down)
134 * - 14: SPI_EXP1_ENn (out active low / pull-down)
135 * - 15: SPI_EXP1_IN (out pull-down)
137 #gpio-cells = <2>;
138 #interrupt-cells = <2>;
141 interrupt-parent = <&gpioext1>;
144 semtech,probe-reset;
146 gpio-controller;
147 interrupt-controller;
152 #address-cells = <1>;
153 #size-cells = <0>;
158 * - 0: GPIOEXP_INT1
159 * - 1: Battery detect
160 * - 2: GPIO_SCF3_RESET
161 * - 3: LED_CARD_DETECT_IOT0 (in)
162 * - 4: LED_CARD_DETECT_IOT1 (in)
163 * - 5: LED_CARD_DETECT_IOT2 (in)
164 * - 6: UIM2_PWM_SELECT
165 * - 7: UIM2_M2_S_SELECT
166 * - 8: TP900
167 * - 9: SENSOR_INT1 (in)
168 * - 10: SENSOR_INT2 (in)
169 * - 11: CARD_DETECT_IOT0 (in pull-up)
170 * - 12: CARD_DETECT_IOT2 (in pull-up)
171 * - 13: CARD_DETECT_IOT1 (in pull-up)
172 * - 14: GPIOEXP_INT3 (in active low / pull-up)
173 * - 15: BattChrgr_INT_N
175 pinctrl-0 = <&gpioext1_pins>;
176 pinctrl-names = "default";
178 #gpio-cells = <2>;
179 #interrupt-cells = <2>;
182 interrupt-parent = <&msmgpio>;
185 semtech,probe-reset;
187 gpio-controller;
188 interrupt-controller;
193 #address-cells = <1>;
194 #size-cells = <0>;
199 * - 0: USB_HUB_INTn
200 * - 1: HUB_CONNECT
201 * - 2: GPIO_IOT2_RESET (out active low / pull-up)
202 * - 3: GPIO_IOT1_RESET (out active low / pull-up)
203 * - 4: GPIO_IOT0_RESET (out active low / pull-up)
204 * - 5: TP901
205 * - 6: TP902
206 * - 7: TP903
207 * - 8: UART_EXP2_ENn (out active low / pull-down)
208 * - 9: PCM_EXP1_ENn (out active low)
209 * - 10: PCM_EXP1_SEL (out)
210 * - 11: ARD_FTDI
211 * - 12: TP904
212 * - 13: TP905
213 * - 14: TP906
214 * - 15: RS232_Enable (out active high / pull-up)
216 #gpio-cells = <2>;
217 #interrupt-cells = <2>;
220 interrupt-parent = <&gpioext1>;
223 semtech,probe-reset;
225 gpio-controller;
226 interrupt-controller;
231 #address-cells = <1>;
232 #size-cells = <0>;
239 pinctrl-0 = <&sdc_cd_pins>;
240 pinctrl-names = "default";
241 disable-wp;
242 cd-gpios = <&msmgpio 42 GPIO_ACTIVE_LOW>; /* Active low CD */