Lines Matching +full:trigger +full:- +full:external
1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
12 #include "hikey960-pinctrl.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/usb/pd.h>
20 compatible = "hisilicon,hi3660-hikey960", "hisilicon,hi3660";
35 stdout-path = "serial6:115200n8";
44 reserved-memory {
45 #address-cells = <2>;
46 #size-cells = <2>;
52 record-size = <0x00020000>;
53 console-size = <0x00020000>;
54 ftrace-size = <0x00020000>;
58 reboot-mode-syscon@32100000 {
59 compatible = "syscon", "simple-mfd";
62 reboot-mode {
63 compatible = "syscon-reboot-mode";
66 mode-normal = <0x77665501>;
67 mode-bootloader = <0x77665500>;
68 mode-recovery = <0x77665502>;
73 compatible = "gpio-keys";
74 pinctrl-names = "default";
75 pinctrl-0 = <&pwr_key_pmx_func &pwr_key_cfg_func>;
77 key-power {
78 wakeup-source;
86 compatible = "gpio-leds";
88 led-user-1 {
92 linux,default-trigger = "heartbeat";
95 led-user-2 {
99 linux,default-trigger = "none";
102 led-user-3 {
106 linux,default-trigger = "mmc0";
109 led-user-4 {
113 panic-indicator;
114 linux,default-trigger = "none";
117 led-wlan {
121 linux,default-trigger = "phy0tx";
122 default-state = "off";
125 led-bt {
129 linux,default-trigger = "hci0-power";
130 default-state = "off";
135 compatible = "hisilicon,hi6421v530-pmic";
137 interrupt-controller;
138 #interrupt-cells = <2>;
142 regulator-name = "VOUT3_1V85";
143 regulator-min-microvolt = <1800000>;
144 regulator-max-microvolt = <2200000>;
145 regulator-enable-ramp-delay = <120>;
149 regulator-name = "VOUT9_1V8_2V95";
150 regulator-min-microvolt = <1750000>;
151 regulator-max-microvolt = <3300000>;
152 regulator-enable-ramp-delay = <240>;
156 regulator-name = "VOUT11_1V8_2V95";
157 regulator-min-microvolt = <1750000>;
158 regulator-max-microvolt = <3300000>;
159 regulator-enable-ramp-delay = <240>;
163 regulator-name = "VOUT15_3V0";
164 regulator-min-microvolt = <1750000>;
165 regulator-max-microvolt = <3000000>;
166 regulator-boot-on;
167 regulator-always-on;
168 regulator-enable-ramp-delay = <120>;
172 regulator-name = "VOUT16_2V95";
173 regulator-min-microvolt = <1750000>;
174 regulator-max-microvolt = <3000000>;
175 regulator-enable-ramp-delay = <360>;
180 wlan_en: wlan-en-1-8v {
181 compatible = "regulator-fixed";
182 regulator-name = "wlan-en-regulator";
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <1800000>;
190 startup-delay-us = <70000>;
191 enable-active-high;
196 compatible = "linaro,optee-tz";
208 * unrouted (not connected to any external pin)
209 * LSEC = Low Speed External Connector
210 * HSEC = High Speed External Connector
214 * J2002 63453-140LF.
216 * For the lines routed to the external connectors the
222 * takes precedence, which means that the external UART on the
225 * the GPIO named lines "GPIO-A" thru "GPIO-L" are the only
229 /* GPIO_000-GPIO_007 */
230 gpio-line-names =
242 /* GPIO_008-GPIO_015 */
243 gpio-line-names =
254 /* GPIO_016-GPIO_023 */
255 gpio-line-names =
257 "GPIO-J", /* LSEC pin 32: GPIO_019 */
259 "GPIO-L", /* LSEC pin 34: GPIO_021 */
261 "GPIO-G"; /* LSEC pin 29: LCD_TE0 */
265 /* GPIO_024-GPIO_031 */
266 /* The rail from pin BK36 is named LCD_TE0, we assume to be muxed as GPIO for GPIO-G */
267 gpio-line-names =
279 /* GPIO_032-GPIO_039 */
280 gpio-line-names =
289 /* GPIO_040-GPIO_047 */
290 gpio-line-names =
291 "GPIO-H", /* LSEC pin 30: GPIO_040_LCD_RST_N */
301 /* GPIO_048-GPIO_055 */
302 gpio-line-names =
305 "GPIO-I", /* LSEC pin 31: GPIO_052_CAM0_RST_N */
317 /* GPIO_056-GPIO_063 */
318 gpio-line-names =
330 /* GPIO_064-GPIO_071 */
331 gpio-line-names =
342 /* GPIO_072-GPIO_079 */
343 gpio-line-names =
345 "GPIO-K", /* LSEC pin 33: GPIO_075_CAM1_RST_N */
350 /* GPIO_080-GPIO_087 */
351 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
355 /* GPIO_088-GPIO_095 */
356 gpio-line-names =
363 /* GPIO_096-GPIO_103 */
364 gpio-line-names = "NC", "NC", "NC", "", "", "", "", "NC";
368 /* GPIO_104-GPIO_111 */
369 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
373 /* GPIO_112-GPIO_119 */
374 gpio-line-names = "NC", "NC", "NC", "NC", "NC", "NC", "NC", "NC";
378 /* GPIO_120-GPIO_127 */
379 gpio-line-names =
386 /* GPIO_128-GPIO_135 */
387 gpio-line-names = "", "", "", "", "", "", "", "";
391 /* GPIO_136-GPIO_143 */
392 gpio-line-names = "", "", "", "", "", "", "", "";
396 /* GPIO_144-GPIO_151 */
397 gpio-line-names =
409 /* GPIO_152-GPIO_159 */
410 gpio-line-names = "NC", "NC", "NC", "NC", "", "", "", "";
414 /* GPIO_160-GPIO_167 */
415 gpio-line-names =
426 /* GPIO_168-GPIO_175 */
427 gpio-line-names =
438 /* GPIO_176-GPIO_183 */
439 gpio-line-names =
446 "GPIO-F", /* LSEC pin 28: LCD_BL_PWM */
451 /* GPIO_184-GPIO_191 */
452 gpio-line-names =
464 /* GPIO_192-GPIO_199 */
465 gpio-line-names =
477 /* GPIO_200-GPIO_207 */
478 gpio-line-names =
490 /* GPIO_208-GPIO_215 */
491 gpio-line-names =
492 "GPIO-A", /* LSEC pin 23: GPIO_208 */
493 "GPIO-B", /* LSEC pin 24: GPIO_209 */
494 "GPIO-C", /* LSEC pin 25: GPIO_210 */
495 "GPIO-D", /* LSEC pin 26: GPIO_211 */
496 "GPIO-E", /* LSEC pin 27: GPIO_212 */
503 /* GPIO_216-GPIO_223 */
504 gpio-line-names =
516 /* GPIO_224-GPIO_231 */
517 gpio-line-names =
523 label = "LS-I2C0";
534 interrupt-parent = <&gpio27>;
536 pinctrl-names = "default";
537 pinctrl-0 = <&usb_cfg_func>;
540 compatible = "usb-c-connector";
541 label = "USB-C";
542 data-role = "dual";
543 power-role = "dual";
544 try-power-role = "sink";
545 source-pdos = <PDO_FIXED(5000, 500, PDO_FIXED_USB_COMM)>;
546 sink-pdos = <PDO_FIXED(5000, 500, PDO_FIXED_USB_COMM)
548 op-sink-microwatt = <10000000>;
551 #address-cells = <1>;
552 #size-cells = <0>;
556 remote-endpoint = <&dwc3_ss>;
562 #address-cells = <1>;
563 #size-cells = <0>;
567 remote-endpoint = <&dwc3_role_switch>;
576 adi,dsi-lanes = <4>;
578 #address-cells = <1>;
579 #size-cells = <0>;
592 label = "LS-I2C1";
598 label = "LS-UART0";
606 compatible = "ti,wl1837-st";
607 enable-gpios = <&gpio15 6 GPIO_ACTIVE_HIGH>;
608 max-speed = <3000000>;
614 label = "LS-UART1";
620 label = "LS-SPI0";
626 label = "HS-SPI1";
631 bus-width = <0x4>;
632 cap-sd-highspeed;
633 sd-uhs-sdr12;
634 sd-uhs-sdr25;
635 sd-uhs-sdr50;
636 sd-uhs-sdr104;
637 disable-wp;
638 cd-gpios = <&gpio25 3 GPIO_ACTIVE_LOW>;
639 pinctrl-names = "default";
640 pinctrl-0 = <&sd_pmx_func
643 vmmc-supply = <&ldo16>;
644 vqmmc-supply = <&ldo9>;
649 bus-width = <0x4>;
650 non-removable;
651 broken-cd;
652 cap-power-off-card;
653 pinctrl-names = "default";
654 pinctrl-0 = <&sdio_pmx_func
658 vmmc-supply = <&wlan_en>;
665 interrupt-parent = <&gpio22>;
672 maximum-speed = "super-speed";
674 snps,dis-del-phy-power-chg-quirk;
681 snps,gctl-reset-quirk;
682 usb-role-switch;
683 role-switch-default-mode = "host";
685 #address-cells = <1>;
686 #size-cells = <0>;
689 remote-endpoint = <&rt1711h_ep>;
694 remote-endpoint = <&usb_con_ss>;