summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts
diff options
context:
space:
mode:
authorAdrien Grassein <adrien.grassein@gmail.com>2021-05-11 21:35:59 +0200
committerShawn Guo <shawnguo@kernel.org>2021-06-12 16:17:02 +0800
commit4a085de205292c1007681e4e077279f77a5ce2ad (patch)
treefbe47b2e7d5a78b15a626efb1e0ebe4fe6815a8c /arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts
parent77a1aa039336312d622f66ef7ee18ea1f6bd59bc (diff)
arm64: dts: imx8mq-nitrogen: add USB HOST support
Add the description for the USB host port. This port is linked to a resettable USB HUB so handle this reset signal with a GPIO hog. Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts b/arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts
index b46f45a82be1..5553f3c84dbc 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts
@@ -102,6 +102,15 @@
};
};
+/* Release reset of the USB Host HUB */
+&gpio1 {
+ usb-host-reset-hog {
+ gpio-hog;
+ gpios = <14 GPIO_ACTIVE_HIGH>;
+ output-high;
+ };
+};
+
&i2c1 {
clock-frequency = <400000>;
pinctrl-names = "default";
@@ -213,6 +222,17 @@
status = "okay";
};
+&usb_dwc3_1 {
+ dr_mode = "host";
+ status = "okay";
+};
+
+&usb3_phy1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usb3_1>;
+ status = "okay";
+};
+
&usdhc1 {
assigned-clocks = <&clk IMX8MQ_CLK_USDHC1>;
assigned-clock-rates = <400000000>;
@@ -388,6 +408,12 @@
>;
};
+ pinctrl_usb3_1: usb3-1grp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_GPIO1_IO14_GPIO1_IO14 0x16
+ >;
+ };
+
pinctrl_usdhc1: usdhc1grp {
fsl,pins = <
MX8MQ_IOMUXC_SD1_CLK_USDHC1_CLK 0x83