aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomislav Požega <pozega.tomislav@gmail.com>2019-09-03 17:04:17 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-09-11 09:47:49 +0200
commit5b98061bb1ac7e3affadda7b55c6f4ed4eb8268e (patch)
treed287b2d537a9a5531a185c1007389ae5a71e1cd2
parent1d51160f856c2bc14a657a4de76a515339435f9c (diff)
downloadupstream-5b98061bb1ac7e3affadda7b55c6f4ed4eb8268e.tar.gz
upstream-5b98061bb1ac7e3affadda7b55c6f4ed4eb8268e.tar.bz2
upstream-5b98061bb1ac7e3affadda7b55c6f4ed4eb8268e.zip
ar71xx: use platform code for qca955x usb0 init
Switch from ci_usb_setup to generic platform initialization of usb0 port. Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
-rw-r--r--target/linux/ar71xx/patches-4.14/951-qca955x-usb0-platform.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ar71xx/patches-4.14/951-qca955x-usb0-platform.patch b/target/linux/ar71xx/patches-4.14/951-qca955x-usb0-platform.patch
new file mode 100644
index 0000000000..0325f80921
--- /dev/null
+++ b/target/linux/ar71xx/patches-4.14/951-qca955x-usb0-platform.patch
@@ -0,0 +1,14 @@
+--- a/arch/mips/ath79/dev-usb.c
++++ b/arch/mips/ath79/dev-usb.c
+@@ -317,7 +317,10 @@ static void __init qca955x_usb_setup(voi
+ {
+ ath79_ehci_pdata_v2.reset_notifier = qca955x_usb_reset_notifier;
+
+- ar9xxx_ci_usb_setup(0, ATH79_IP3_IRQ(0));
++ ath79_usb_register("ehci-platform", 0,
++ QCA955X_EHCI0_BASE, QCA955X_EHCI_SIZE,
++ ATH79_IP3_IRQ(0),
++ &ath79_ehci_pdata_v2, sizeof(ath79_ehci_pdata_v2));
+
+ ath79_usb_register("ehci-platform", 1,
+ QCA955X_EHCI1_BASE, QCA955X_EHCI_SIZE,