summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2018-07-16 22:11:57 +0200
committerStefano Babic <sbabic@denx.de>2018-07-23 11:05:04 +0200
commit0d38a5fd44b773c718ee4e834d34cf8c7912e200 (patch)
treefebe80f867ed7055c0129a891071f81e2970b0c8 /include
parent7e1a0483c36a8a53c207123262a1d108588517ad (diff)
mx25: fix the offset between the USB ports' registers
The USBOH module on imx25 chips contains two USB controllers which are called USB OTG Controller and USB Host Controller. Each one has its EHCI root hub. The OTG Controller's EHCI registers start at offset 0, the Host Controller's registers start at offset 0x400. We set CONFIG_MXC_USB_PORT=0 to select the OTG Controller and 1 for the Host Controller. Therefore, IMX_USB_PORT_OFFSET must be 0x400. Using this setting, the Host Controller starts working on my imx25 board. Please note that the imx25 reference manual claims that the Host Controller's registers start at 0x200. This is not correct. The Linux Kernel uses the correct offset 0x400 in imx25.dtsi. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions