summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-07 18:48:33 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-12 00:21:28 +0900
commit048899ba8c54bc3e094185d69d6a62d7e7f9cf30 (patch)
treea28bf7a0be3c31389d722f5bccaac6643c89d677 /arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c
parent113ef59e45b35f95b3b6b914bae671d61721e9ca (diff)
downloadtalos-obmc-uboot-048899ba8c54bc3e094185d69d6a62d7e7f9cf30.tar.gz
talos-obmc-uboot-048899ba8c54bc3e094185d69d6a62d7e7f9cf30.zip
usb: UniPhier: add UniPhier on-chip EHCI host driver support
Support EHCI host driver used on Panasonic UniPhier platform. Since Device Tree is not supported on UniPhier yet, the base address of USB cores are passed from board files (platdevice.c). TODO for me: Move the base address to device trees. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c')
-rw-r--r--arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c b/arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c
index 0047223181..62f5b0148d 100644
--- a/arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c
+++ b/arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c
@@ -13,3 +13,16 @@ SERIAL_DEVICE(0, 0x54006800, UART_MASTER_CLK)
SERIAL_DEVICE(1, 0x54006900, UART_MASTER_CLK)
SERIAL_DEVICE(2, 0x54006a00, UART_MASTER_CLK)
SERIAL_DEVICE(3, 0x54006b00, UART_MASTER_CLK)
+
+/* USB : TODO for Masahiro Yamada: move base address to Device Tree */
+struct uniphier_ehci_platform_data uniphier_ehci_platdata[] = {
+ {
+ .base = 0x5a800100,
+ },
+ {
+ .base = 0x5a810100,
+ },
+ {
+ .base = 0x5a820100,
+ },
+};
OpenPOWER on IntegriCloud