summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/devices-db5500.h
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian-yousaf.kaukab@linaro.org>2011-01-21 18:24:19 +0100
committerLinus Walleij <linus.walleij@linaro.org>2011-03-14 14:05:12 +0100
commit741caea4e518f5374cc9ff7cfaabc0e591416420 (patch)
treea741ff013b24e550c829c15cd7a4a9d499209711 /arch/arm/mach-ux500/devices-db5500.h
parent6f3f3c3f0b5c7b84a99f0aa99658d6c6cee8e700 (diff)
downloadblackbird-op-linux-741caea4e518f5374cc9ff7cfaabc0e591416420.tar.gz
blackbird-op-linux-741caea4e518f5374cc9ff7cfaabc0e591416420.zip
mach-ux500: add MUSB to db5500 devices
- DMA tx and rx maps for usb channels are set to be configured at runtime - MUSB is enabled with soc specific base address, irq and dma configurations Signed-off-by: Mian Yousaf Kaukab <mian-yousaf.kaukab@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/devices-db5500.h')
-rw-r--r--arch/arm/mach-ux500/devices-db5500.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/devices-db5500.h b/arch/arm/mach-ux500/devices-db5500.h
index c8d7901c1f2d..481ae5c51206 100644
--- a/arch/arm/mach-ux500/devices-db5500.h
+++ b/arch/arm/mach-ux500/devices-db5500.h
@@ -34,6 +34,9 @@
#define db5500_add_rtc() \
dbx500_add_rtc(U5500_RTC_BASE, IRQ_DB5500_RTC);
+#define db5500_add_usb(rx_cfg, tx_cfg) \
+ ux500_add_usb(U5500_USBOTG_BASE, IRQ_DB5500_USBOTG, rx_cfg, tx_cfg)
+
#define db5500_add_sdi0(pdata) \
dbx500_add_sdi("sdi0", U5500_SDI0_BASE, IRQ_DB5500_SDMMC0, pdata)
#define db5500_add_sdi1(pdata) \
OpenPOWER on IntegriCloud