Lines Matching +full:otg +full:- +full:gpio
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
16 compatible = "gpio-usb-b-connector", "usb-b-connector";
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_usbcon1>;
20 label = "otg";
21 vbus-supply = <®_usb1_vbus>;
22 id-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
26 remote-endpoint = <&usb3_dwc>;
31 led-controller {
32 compatible = "gpio-leds";
33 pinctrl-names = "default";
34 pinctrl-0 = <&pinctrl_gpio_leds>;
36 led-0 {
40 default-state = "on";
41 linux,default-trigger = "heartbeat";
44 led-1 {
48 default-state = "off";
52 pcie0_refclk: clock-pcie0 {
53 compatible = "fixed-clock";
54 #clock-cells = <0>;
55 clock-frequency = <100000000>;
59 compatible = "pps-gpio";
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_pps>;
66 reg_usb1_vbus: regulator-usb1 {
67 compatible = "regulator-fixed";
68 pinctrl-names = "default";
69 pinctrl-0 = <&pinctrl_reg_usb1_en>;
70 regulator-name = "usb1_vbus";
71 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
72 enable-active-high;
73 regulator-min-microvolt = <5000000>;
74 regulator-max-microvolt = <5000000>;
77 reg_usb2_vbus: regulator-usb2 {
78 compatible = "regulator-fixed";
79 pinctrl-names = "default";
80 pinctrl-0 = <&pinctrl_reg_usb2_en>;
81 regulator-name = "usb2_vbus";
82 gpio = <&gpio4 12 GPIO_ACTIVE_HIGH>;
83 enable-active-high;
84 regulator-min-microvolt = <5000000>;
85 regulator-max-microvolt = <5000000>;
88 reg_usdhc2_vmmc: regulator-usdhc2-vmmc {
89 compatible = "regulator-fixed";
90 pinctrl-names = "default";
91 pinctrl-0 = <&pinctrl_usdhc2_vmmc>;
92 regulator-name = "VDD_3V3_SD";
93 enable-active-high;
94 gpio = <&gpio2 19 0>; /* SD2_RESET */
95 off-on-delay-us = <12000>;
96 regulator-max-microvolt = <3300000>;
97 regulator-min-microvolt = <3300000>;
98 startup-delay-us = <100>;
102 /* off-board header */
104 pinctrl-names = "default";
105 pinctrl-0 = <&pinctrl_spi2>;
106 cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>,
111 compatible = "atmel,attpm20p", "tcg,tpm_tis-spi";
113 spi-max-frequency = <36000000>;
118 gpio-line-names =
130 clock-frequency = <400000>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pinctrl_i2c2>;
138 pinctrl-names = "default";
139 pinctrl-0 = <&pinctrl_accel>;
140 st,drdy-int-pin = <1>;
141 interrupt-parent = <&gpio4>;
147 fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
148 fsl,clkreq-unsupported;
150 clock-names = "ref";
155 pinctrl-names = "default";
156 pinctrl-0 = <&pinctrl_pcie0>;
157 reset-gpio = <&gpio4 29 GPIO_ACTIVE_LOW>;
163 #address-cells = <3>;
164 #size-cells = <2>;
170 #address-cells = <3>;
171 #size-cells = <2>;
177 #address-cells = <3>;
178 #size-cells = <2>;
183 #address-cells = <3>;
184 #size-cells = <2>;
186 local-mac-address = [00 00 00 00 00 00];
195 pinctrl-names = "default";
196 pinctrl-0 = <&pinctrl_uart1>;
200 /* off-board header */
202 pinctrl-names = "default";
203 pinctrl-0 = <&pinctrl_uart3>;
209 pinctrl-names = "default";
210 pinctrl-0 = <&pinctrl_uart4>;
214 /* USB1 - OTG */
216 pinctrl-names = "default";
217 pinctrl-0 = <&pinctrl_usb1>;
218 fsl,over-current-active-low;
227 /* dual role is implemented but not a full featured OTG */
228 adp-disable;
229 hnp-disable;
230 srp-disable;
231 dr_mode = "otg";
232 usb-role-switch;
233 role-switch-default-mode = "peripheral";
238 remote-endpoint = <&usb_dr_connector>;
243 /* USB2 - USB3.0 Hub */
245 fsl,permanently-attached;
246 fsl,disable-port-power-control;
251 vbus-supply = <®_usb2_vbus>;
262 pinctrl-names = "default", "state_100mhz", "state_200mhz";
263 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
264 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
265 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
266 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
267 bus-width = <4>;
268 vmmc-supply = <®_usdhc2_vmmc>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&pinctrl_hog>;
391 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
403 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
415 pinctrl_usdhc2_vmmc: usdhc2-vmmc-grp {