]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm: mvebu: Enable USB EHCI support on Armada XP
authorStefan Roese <sr@denx.de>
Wed, 22 Jul 2015 16:26:13 +0000 (18:26 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:24:13 +0000 (10:24 +0200)
commit6a623cae1314d4315a6ed63b555cf62b6330adac
tree2a3b15e27f89073344366db1e39c6cb78ddf0825
parent50536c266e8710694d43c359937ab7bd46805b33
arm: mvebu: Enable USB EHCI support on Armada XP

This patch enables the USB EHCI support for the Marvell Armada XP (AXP)
SoCs. In compatism to the Armada 38x (A38x), the AXP needs to configure
the USB PLL and the USB PHY's specifically in U-Boot. The A38x has done
this already in the bin_hdr (SPL U-Boot). Without this, accessing the
controller registers in U-Boot or Linux will hang the CPU.

Additionally, the AXP uses a different USB EHCI base address. This
patch also takes care of this by runtime SoC detection in the Marvell
EHCI driver.

Signed-off-by: Stefan Roese <sr@denx.de>
Signed-off-by: Anton Schubert <anton.schubert@gmx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Luka Perkov <luka.perkov@sartura.hr>
arch/arm/mach-mvebu/cpu.c
arch/arm/mach-mvebu/include/mach/soc.h
drivers/usb/host/ehci-marvell.c