Lines Matching +full:soc +full:- +full:gpio12

1 // SPDX-License-Identifier: GPL-2.0
10 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
14 #include "hikey970-pinctrl.dtsi"
15 #include "hikey970-pmic.dtsi"
19 compatible = "hisilicon,hi3670-hikey970", "hisilicon,hi3670";
34 stdout-path = "serial6:115200n8";
43 wlan_en: wlan-en-1-8v {
44 compatible = "regulator-fixed";
45 regulator-name = "wlan-en-regulator";
46 regulator-min-microvolt = <1800000>;
47 regulator-max-microvolt = <1800000>;
53 startup-delay-us = <70000>;
54 enable-active-high;
68 * Line names are taken from "hikey970-schematics.pdf" from HiSilicon.
77 * LSEC is named UART0 while the schematic and SoC names this
79 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
83 /* GPIO_000-GPIO_007 */
84 gpio-line-names =
96 /* GPIO_008-GPIO_015 */
97 gpio-line-names =
103 "GPIO-I", /* LSEC pin 31: GPIO_013_CAM0_RST_N */
109 /* GPIO_016-GPIO_023 */
110 gpio-line-names =
111 "GPIO-G", /* LSEC pin 29: GPIO_016_LCD_TE0 */
122 /* GPIO_024-GPIO_031 */
123 gpio-line-names =
129 "GPIO-H", /* LSEC pin 30: GPIO_029_LCD_RST_N */
131 "GPIO-L"; /* LSEC pin 34: GPIO_031 */
135 /* GPIO_032-GPIO_039 */
136 gpio-line-names =
137 "GPIO-K", /* LSEC pin 33: GPIO_032_CAM1_RST_N */
153 /* GPIO_040-GPIO_047 */
154 gpio-line-names =
166 /* GPIO_048-GPIO_055 */
167 gpio-line-names =
172 "GPIO-D", /* LSEC pin 26 */
173 "GPIO-J", /* LSEC pin 32 */
179 /* GPIO_056-GPIO_063 */
180 gpio-line-names =
185 /* GPIO_064-GPIO_071 */
186 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
190 /* GPIO_072-GPIO_079 */
191 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
195 /* GPIO_080-GPIO_087 */
196 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
200 /* GPIO_088-GPIO_095 */
201 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
204 &gpio12 {
205 /* GPIO_096-GPIO_103 */
206 gpio-line-names = "NC", "", "", "", "", "", "", "";
210 /* GPIO_104-GPIO_111 */
211 gpio-line-names = "", "", "", "", "", "", "", "";
215 /* GPIO_112-GPIO_119 */
216 gpio-line-names = "", "", "", "", "", "", "", "";
220 /* GPIO_120-GPIO_127 */
221 gpio-line-names = "", "", "", "", "", "", "", "";
225 /* GPIO_128-GPIO_135 */
226 gpio-line-names =
238 /* GPIO_136-GPIO_143 */
239 gpio-line-names =
244 /* GPIO_144-GPIO_151 */
245 gpio-line-names =
257 /* GPIO_152-GPIO_159 */
258 gpio-line-names = "", "", "", "", "", "", "", "";
262 /* GPIO_160-GPIO_167 */
263 gpio-line-names =
275 /* GPIO_168-GPIO_175 */
276 gpio-line-names =
278 "GPIO-C", /* LSEC pin 25: GPIO_169_USIM1_CLK */
279 "GPIO-E", /* LSEC pin 27: GPIO_170_USIM1_RST */
280 "GPIO-B", /* LSEC pin 24: GPIO_171_USIM1_DATA */
285 /* GPIO_176-GPIO_183 */
286 gpio-line-names =
298 /* GPIO_184-GPIO_191 */
299 gpio-line-names =
301 "GPIO-F", /* LSEC pin 28: GPIO_185_LCD_BL_PWM */
304 "[GPIO_188_I2C1_SCL]", /* Actual SoC I2C1_SCL */
305 "[GPIO_189_I2C1_SDA]", /* Actual SoC I2C1_SDA */
311 /* GPIO_192-GPIO_199 */
312 gpio-line-names =
324 /* GPIO_200-GPIO_207 */
325 gpio-line-names =
337 /* GPIO_208-GPIO_215 */
338 gpio-line-names =
339 "GPIO-A", /* LSEC pin 23: GPIO_208_WAKEUP_SOC */
350 /* GPIO_216-GPIO_223 */
351 gpio-line-names =
363 /* GPIO_224-GPIO_231 */
364 gpio-line-names =
376 bus-width = <0x4>;
377 sd-uhs-sdr12;
378 sd-uhs-sdr25;
379 sd-uhs-sdr50;
380 sd-uhs-sdr104;
381 cap-sd-highspeed;
382 disable-wp;
383 cd-inverted;
384 cd-gpios = <&gpio25 5 GPIO_ACTIVE_HIGH>;
385 pinctrl-names = "default";
386 pinctrl-0 = <&sd_pmx_func
389 vmmc-supply = <&ldo16>;
390 vqmmc-supply = <&ldo9>;
395 bus-width = <0x4>;
396 non-removable;
397 broken-cd;
398 cap-power-off-card;
399 pinctrl-names = "default";
400 pinctrl-0 = <&sdio_pmx_func
404 vmmc-supply = <&wlan_en>;
411 interrupt-parent = <&gpio22>;
418 label = "HS-UART0";
424 label = "LS-UART0";
430 label = "LS-UART1";