diff options
Diffstat (limited to 'arch/mips/ath79')
-rw-r--r-- | arch/mips/ath79/dev-usb.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/mips/ath79/dev-usb.c b/arch/mips/ath79/dev-usb.c index 02124d02cf6e..8227265bcc2d 100644 --- a/arch/mips/ath79/dev-usb.c +++ b/arch/mips/ath79/dev-usb.c | |||
@@ -208,6 +208,19 @@ static void __init ar934x_usb_setup(void) | |||
208 | &ath79_ehci_pdata_v2, sizeof(ath79_ehci_pdata_v2)); | 208 | &ath79_ehci_pdata_v2, sizeof(ath79_ehci_pdata_v2)); |
209 | } | 209 | } |
210 | 210 | ||
211 | static void __init qca955x_usb_setup(void) | ||
212 | { | ||
213 | ath79_usb_register("ehci-platform", 0, | ||
214 | QCA955X_EHCI0_BASE, QCA955X_EHCI_SIZE, | ||
215 | ATH79_IP3_IRQ(0), | ||
216 | &ath79_ehci_pdata_v2, sizeof(ath79_ehci_pdata_v2)); | ||
217 | |||
218 | ath79_usb_register("ehci-platform", 1, | ||
219 | QCA955X_EHCI1_BASE, QCA955X_EHCI_SIZE, | ||
220 | ATH79_IP3_IRQ(1), | ||
221 | &ath79_ehci_pdata_v2, sizeof(ath79_ehci_pdata_v2)); | ||
222 | } | ||
223 | |||
211 | void __init ath79_register_usb(void) | 224 | void __init ath79_register_usb(void) |
212 | { | 225 | { |
213 | if (soc_is_ar71xx()) | 226 | if (soc_is_ar71xx()) |
@@ -222,6 +235,8 @@ void __init ath79_register_usb(void) | |||
222 | ar933x_usb_setup(); | 235 | ar933x_usb_setup(); |
223 | else if (soc_is_ar934x()) | 236 | else if (soc_is_ar934x()) |
224 | ar934x_usb_setup(); | 237 | ar934x_usb_setup(); |
238 | else if (soc_is_qca955x()) | ||
239 | qca955x_usb_setup(); | ||
225 | else | 240 | else |
226 | BUG(); | 241 | BUG(); |
227 | } | 242 | } |