summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-07-24 14:52:07 +0900
committerTom Rini <trini@ti.com>2014-08-09 11:17:01 -0400
commited7ce836cd7631fcb2e30fde4adc53b024f11f46 (patch)
treed8b0e081bb307e9ecc71d35b5c4df7bbf06f96ed /drivers
parent67ab0a5e9f295662e6c1363a6cb71d4dd9d51524 (diff)
downloadblackbird-obmc-uboot-ed7ce836cd7631fcb2e30fde4adc53b024f11f46.tar.gz
blackbird-obmc-uboot-ed7ce836cd7631fcb2e30fde4adc53b024f11f46.zip
usb: ehci: rmobile: Add support R8A7794
R8A7794 has same IP of USB controller as R8A7790 and R8A7791. This addes support for R8A7794. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/ehci-rmobile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-rmobile.c b/drivers/usb/host/ehci-rmobile.c
index 049e4c4e6b..29b4a93b55 100644
--- a/drivers/usb/host/ehci-rmobile.c
+++ b/drivers/usb/host/ehci-rmobile.c
@@ -29,6 +29,12 @@ static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
0xEE0C0000, /* USB1 */
0xEE000000 /* USB3 (USB3.0 Host)*/
};
+#elif defined(CONFIG_R8A7794)
+static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
+ 0xEE080000, /* USB0 (EHCI) */
+ 0xEE0C0000, /* USB1 */
+ /* R8A7794 does not have USB 3.0. */
+};
#else
#error rmobile EHCI USB driver not supported on this platform
#endif
OpenPOWER on IntegriCloud