summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorLi Jun <jun.li@nxp.com>2020-12-29 19:37:46 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-04 16:38:08 +0100
commit43da4f92a611d0cccbe577384d1de9d7a70fd5b9 (patch)
tree0973e18f7875e084e0a7162eec81856fa2721a45 /arch/arm64
parentfb8587a2c16577d430423df2ddb2f374bb12317f (diff)
downloadlinux-43da4f92a611d0cccbe577384d1de9d7a70fd5b9.tar.gz
linux-43da4f92a611d0cccbe577384d1de9d7a70fd5b9.tar.bz2
linux-43da4f92a611d0cccbe577384d1de9d7a70fd5b9.zip
arm64: dts: imx8mp-evk: enable usb1 as host mode
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>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mp-evk.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
index b10dce8767a4..7db4273cc88b 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts
@@ -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>;
@@ -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