Lines Matching +full:gpio +full:- +full:line +full:- +full:names
1 // SPDX-License-Identifier: GPL-2.0
10 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
14 #include "hikey970-pinctrl.dtsi"
18 compatible = "hisilicon,hi3670-hikey970", "hisilicon,hi3670";
33 stdout-path = "serial6:115200n8";
42 sd_1v8: regulator-1v8 {
43 compatible = "regulator-fixed";
44 regulator-name = "fixed-1.8V";
45 regulator-min-microvolt = <1800000>;
46 regulator-max-microvolt = <1800000>;
47 regulator-always-on;
50 sd_3v3: regulator-3v3 {
51 compatible = "regulator-fixed";
52 regulator-name = "fixed-3.3V";
53 regulator-min-microvolt = <3300000>;
54 regulator-max-microvolt = <3300000>;
55 regulator-boot-on;
56 regulator-always-on;
59 wlan_en: wlan-en-1-8v {
60 compatible = "regulator-fixed";
61 regulator-name = "wlan-en-regulator";
62 regulator-min-microvolt = <1800000>;
63 regulator-max-microvolt = <1800000>;
66 gpio = <&gpio6 3 0>;
69 startup-delay-us = <70000>;
70 enable-active-high;
75 * Legend: proper name = the GPIO line is used as GPIO
78 * "[PER]" = pin is muxed for [peripheral] (not GPIO)
84 * Line names are taken from "hikey970-schematics.pdf" from HiSilicon.
90 * When the 96Board naming of a line and the schematic name of
91 * the same line are in conflict, the 96Board specification
93 * LSEC is named UART0 while the schematic and SoC names this
95 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
96 * ones actually used for GPIO.
99 /* GPIO_000-GPIO_007 */
100 gpio-line-names =
112 /* GPIO_008-GPIO_015 */
113 gpio-line-names =
119 "GPIO-I", /* LSEC pin 31: GPIO_013_CAM0_RST_N */
125 /* GPIO_016-GPIO_023 */
126 gpio-line-names =
127 "GPIO-G", /* LSEC pin 29: GPIO_016_LCD_TE0 */
138 /* GPIO_024-GPIO_031 */
139 gpio-line-names =
145 "GPIO-H", /* LSEC pin 30: GPIO_029_LCD_RST_N */
147 "GPIO-L"; /* LSEC pin 34: GPIO_031 */
151 /* GPIO_032-GPIO_039 */
152 gpio-line-names =
153 "GPIO-K", /* LSEC pin 33: GPIO_032_CAM1_RST_N */
169 /* GPIO_040-GPIO_047 */
170 gpio-line-names =
182 /* GPIO_048-GPIO_055 */
183 gpio-line-names =
188 "GPIO-D", /* LSEC pin 26 */
189 "GPIO-J", /* LSEC pin 32 */
195 /* GPIO_056-GPIO_063 */
196 gpio-line-names =
201 /* GPIO_064-GPIO_071 */
202 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
206 /* GPIO_072-GPIO_079 */
207 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
211 /* GPIO_080-GPIO_087 */
212 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
216 /* GPIO_088-GPIO_095 */
217 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
221 /* GPIO_096-GPIO_103 */
222 gpio-line-names = "NC", "", "", "", "", "", "", "";
226 /* GPIO_104-GPIO_111 */
227 gpio-line-names = "", "", "", "", "", "", "", "";
231 /* GPIO_112-GPIO_119 */
232 gpio-line-names = "", "", "", "", "", "", "", "";
236 /* GPIO_120-GPIO_127 */
237 gpio-line-names = "", "", "", "", "", "", "", "";
241 /* GPIO_128-GPIO_135 */
242 gpio-line-names =
254 /* GPIO_136-GPIO_143 */
255 gpio-line-names =
260 /* GPIO_144-GPIO_151 */
261 gpio-line-names =
273 /* GPIO_152-GPIO_159 */
274 gpio-line-names = "", "", "", "", "", "", "", "";
278 /* GPIO_160-GPIO_167 */
279 gpio-line-names =
291 /* GPIO_168-GPIO_175 */
292 gpio-line-names =
294 "GPIO-C", /* LSEC pin 25: GPIO_169_USIM1_CLK */
295 "GPIO-E", /* LSEC pin 27: GPIO_170_USIM1_RST */
296 "GPIO-B", /* LSEC pin 24: GPIO_171_USIM1_DATA */
301 /* GPIO_176-GPIO_183 */
302 gpio-line-names =
314 /* GPIO_184-GPIO_191 */
315 gpio-line-names =
317 "GPIO-F", /* LSEC pin 28: GPIO_185_LCD_BL_PWM */
327 /* GPIO_192-GPIO_199 */
328 gpio-line-names =
340 /* GPIO_200-GPIO_207 */
341 gpio-line-names =
353 /* GPIO_208-GPIO_215 */
354 gpio-line-names =
355 "GPIO-A", /* LSEC pin 23: GPIO_208_WAKEUP_SOC */
366 /* GPIO_216-GPIO_223 */
367 gpio-line-names =
379 /* GPIO_224-GPIO_231 */
380 gpio-line-names =
392 bus-width = <0x4>;
393 sd-uhs-sdr12;
394 sd-uhs-sdr25;
395 sd-uhs-sdr50;
396 sd-uhs-sdr104;
397 cap-sd-highspeed;
398 disable-wp;
399 cd-inverted;
400 cd-gpios = <&gpio25 5 GPIO_ACTIVE_HIGH>;
401 pinctrl-names = "default";
402 pinctrl-0 = <&sd_pmx_func
405 vmmc-supply = <&sd_3v3>;
406 vqmmc-supply = <&sd_1v8>;
411 bus-width = <0x4>;
412 non-removable;
413 broken-cd;
414 cap-power-off-card;
415 pinctrl-names = "default";
416 pinctrl-0 = <&sdio_pmx_func
420 vmmc-supply = <&wlan_en>;
427 interrupt-parent = <&gpio22>;
434 label = "HS-UART0";
440 label = "LS-UART0";
446 label = "LS-UART1";