Skip to content

Commit

Permalink
arm64: dts: imx8mp-evk: enable usb1 as host mode
Browse files Browse the repository at this point in the history
Enable usb host port with type-A connector on imx8mp-evk board.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Li Jun <jun.li@nxp.com>
Link: https://lore.kernel.org/r/1609241866-9508-5-git-send-email-jun.li@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Li Jun authored and Greg Kroah-Hartman committed Jan 4, 2021
1 parent fb8587a commit 43da4f9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mp-evk.dts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,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>;
Expand Down Expand Up @@ -232,6 +247,12 @@
>;
};

pinctrl_usb1_vbus: usb1grp {
fsl,pins = <
MX8MP_IOMUXC_GPIO1_IO14__USB2_OTG_PWR 0x19
>;
};

pinctrl_usdhc2: usdhc2grp {
fsl,pins = <
MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190
Expand Down

0 comments on commit 43da4f9

Please sign in to comment.