arm64: dts: imx8mm-venice-gw7901: add support for USB hub subload
authorTim Harvey <tharvey@gateworks.com>
Tue, 27 Jul 2021 16:11:00 +0000 (09:11 -0700)
committerShawn Guo <shawnguo@kernel.org>
Sat, 14 Aug 2021 04:39:27 +0000 (12:39 +0800)
commit590dc51bcaf2cb8bb5a6f3c68269fd660e6fad84
treebc5682a589e0be742158d1bfad8ce04787db8d77
parentbd306fdb4e60bcb1d7ea5431a74092803d3784a6
arm64: dts: imx8mm-venice-gw7901: add support for USB hub subload

The USB hub has it's reset as GPIO4_IO17 but can be sub-loaded and
VBUS provided by a VBUS regulator with GPIO4_IO2 as the enable and
GPIO1_IO15 as the active-low over-current.

Enable pull-up for GPIO4_IO17 to keep hub out of reset and move VBUS
enable to GPIO4_IO2. Additionally enable pull-up on GPIO1_IO15 so that
if the hub is loaded it never over-currents.

This allows USB to work in both configurations without a device-tree
change.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts