aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>2021-09-20 15:37:25 +0200
committerRamon Fried <rfried.dev@gmail.com>2021-09-28 18:50:55 +0300
commite2a41bf63836e9336b4b301d26719445efb828c7 (patch)
treef0ac7d940af4d6fdbc83d7eafabe5d0cc65510b6 /include
parent656bc27d502ca1f63846f6b8719e921621058594 (diff)
downloadu-boot-e2a41bf63836e9336b4b301d26719445efb828c7.zip
u-boot-e2a41bf63836e9336b4b301d26719445efb828c7.tar.gz
u-boot-e2a41bf63836e9336b4b301d26719445efb828c7.tar.bz2
usb: ehci-mx6: use phy_type from device tree
Allow using different PHY interfaces for multiple USB controllers. When no value is set in DT, we fall back to CONFIG_MXC_USB_PORTSC for now to stay compatible with current board configurations. This also adds support for the HSIC mode of the i.MX7. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com> Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Diffstat (limited to 'include')
-rw-r--r--include/usb/ehci-ci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h
index bf5d26f..2cdb314 100644
--- a/include/usb/ehci-ci.h
+++ b/include/usb/ehci-ci.h
@@ -23,6 +23,7 @@
#define PORT_PTS_ULPI (2 << 30)
#define PORT_PTS_SERIAL (3 << 30)
#define PORT_PTS_PTW (1 << 28)
+#define PORT_PTS_HSIC (1 << 25)
#define PORT_PFSC (1 << 24) /* Defined on Page 39-44 of the mpc5151 ERM */
#define PORT_PTS_PHCD (1 << 23)
#define PORT_PP (1 << 12)