summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mvebu/include/mach/soc.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2015-07-22 18:26:13 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2015-08-17 18:49:07 +0200
commitdee40d26d395e6f589d3c11af20c31a154d98d41 (patch)
tree55b32a67e331be3e3aae2a1b18fee7970650abc0 /arch/arm/mach-mvebu/include/mach/soc.h
parent2a0b7dc3b6ce4e4994ef71dcd6fbb31000c2ae47 (diff)
downloadblackbird-obmc-uboot-dee40d26d395e6f589d3c11af20c31a154d98d41.tar.gz
blackbird-obmc-uboot-dee40d26d395e6f589d3c11af20c31a154d98d41.zip
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>
Diffstat (limited to 'arch/arm/mach-mvebu/include/mach/soc.h')
-rw-r--r--arch/arm/mach-mvebu/include/mach/soc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h
index 6115d6e58d..a8a6b27d80 100644
--- a/arch/arm/mach-mvebu/include/mach/soc.h
+++ b/arch/arm/mach-mvebu/include/mach/soc.h
@@ -65,6 +65,7 @@
#define MVEBU_EGIGA2_BASE (MVEBU_REGISTER(0x30000))
#define MVEBU_EGIGA3_BASE (MVEBU_REGISTER(0x34000))
#define MVEBU_REG_PCIE_BASE (MVEBU_REGISTER(0x40000))
+#define MVEBU_AXP_USB_BASE (MVEBU_REGISTER(0x50000))
#define MVEBU_USB20_BASE (MVEBU_REGISTER(0x58000))
#define MVEBU_EGIGA0_BASE (MVEBU_REGISTER(0x70000))
#define MVEBU_EGIGA1_BASE (MVEBU_REGISTER(0x74000))
OpenPOWER on IntegriCloud