mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
arm64: dts: verdin-imx8mp: add gpio usb-b connector
Add GPIO USB-B connector (gpio-usb-b-connector) functionality using Verdin USB_1_ID. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
683c84a63d
commit
d54977acb2
|
|
@ -814,18 +814,26 @@ &usb3_0 {
|
|||
pinctrl-0 = <&pinctrl_usb_1_oc_n>;
|
||||
};
|
||||
|
||||
&usb3_phy0 {
|
||||
vbus-supply = <®_usb1_vbus>;
|
||||
};
|
||||
|
||||
&usb_dwc3_0 {
|
||||
/* dual role only, not full featured OTG */
|
||||
adp-disable;
|
||||
dr_mode = "otg";
|
||||
hnp-disable;
|
||||
maximum-speed = "high-speed";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb_1_id>;
|
||||
role-switch-default-mode = "peripheral";
|
||||
srp-disable;
|
||||
usb-role-switch;
|
||||
|
||||
connector {
|
||||
compatible = "gpio-usb-b-connector", "usb-b-connector";
|
||||
id-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
|
||||
label = "Type-C";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_usb_1_id>;
|
||||
self-powered;
|
||||
type = "micro";
|
||||
vbus-supply = <®_usb1_vbus>;
|
||||
};
|
||||
};
|
||||
|
||||
/* Verdin USB_2 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user