From: Li Jun Date: Mon, 8 Jun 2020 02:51:30 +0000 (+0800) Subject: arm64: dts: imx8mp-evk: enable usb1 as host mode X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~366 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=f92a0884ede3ccc362df7b744951f1c19717ae88;p=linux.git arm64: dts: imx8mp-evk: enable usb1 as host mode Enable usb host port with type-A connector on imx8mp-evk board. Signed-off-by: Li Jun --- diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index e47fb5df44a8..21b0b3fc0cfb 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -586,6 +586,21 @@ status = "okay"; }; +&usb3_phy1 { + status = "okay"; +}; + +&usb3_1 { + status = "okay"; +}; + +&usb_dwc3_1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1_vbus>; + dr_mode = "host"; + status = "okay"; +}; + &usdhc2 { assigned-clocks = <&clk IMX8MP_CLK_USDHC2>; assigned-clock-rates = <400000000>; @@ -818,6 +833,12 @@ >; }; + pinctrl_usb1_vbus: usb1grp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO14__HSIOMIX_usb2_OTG_PWR 0x19 + >; + }; + pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190