aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-04 14:21:11 +0000
committerJohn Crispin <john@openwrt.org>2016-01-04 14:21:11 +0000
commit9b675a2a33f5c6b9c03b96a88005b1589cf88338 (patch)
treeccd3fa0d705ad110307fd7da445b4d70e5053c47
parente17c1e45adccd16928aec1ff0fca41032688a4f9 (diff)
downloadupstream-9b675a2a33f5c6b9c03b96a88005b1589cf88338.tar.gz
upstream-9b675a2a33f5c6b9c03b96a88005b1589cf88338.tar.bz2
upstream-9b675a2a33f5c6b9c03b96a88005b1589cf88338.zip
ralink: fix USB compatible strings
switch to the upstream compatible strings for ehci and ohci support. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48113
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi4
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi4
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi4
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi4
-rw-r--r--target/linux/ramips/dts/rt3883.dtsi4
-rw-r--r--target/linux/ramips/dts/rt5350.dtsi4
-rw-r--r--target/linux/ramips/patches-4.3/0030-USB-add-OHCI-EHCI-OF-binding.patch33
7 files changed, 12 insertions, 45 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index 978b88aeea..5ee47e1e6a 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -462,7 +462,7 @@
};
ehci@101c0000 {
- compatible = "ralink,rt3xxx-ehci";
+ compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
interrupt-parent = <&intc>;
@@ -475,7 +475,7 @@
};
ohci@101c1000 {
- compatible = "ralink,rt3xxx-ohci";
+ compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
interrupt-parent = <&intc>;
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index 09d40196ce..f64b68930e 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -298,7 +298,7 @@
};
ehci@101c0000 {
- compatible = "ralink,rt3xxx-ehci";
+ compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
interrupt-parent = <&intc>;
@@ -311,7 +311,7 @@
};
ohci@101c1000 {
- compatible = "ralink,rt3xxx-ohci";
+ compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
phys = <&usbphy 1>;
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index 0d5b234249..95d192be1b 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -362,7 +362,7 @@
};
ehci@101c0000 {
- compatible = "ralink,rt3xxx-ehci";
+ compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
phys = <&usbphy 1>;
@@ -373,7 +373,7 @@
};
ohci@101c1000 {
- compatible = "ralink,rt3xxx-ohci";
+ compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
phys = <&usbphy 1>;
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index daf24d334c..f19bd24d20 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -270,7 +270,7 @@
};
ehci@101c0000 {
- compatible = "ralink,rt3xxx-ehci", "ehci-platform";
+ compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
interrupt-parent = <&intc>;
@@ -280,7 +280,7 @@
};
ohci@101c1000 {
- compatible = "ralink,rt3xxx-ohci", "ohci-platform";
+ compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
interrupt-parent = <&intc>;
diff --git a/target/linux/ramips/dts/rt3883.dtsi b/target/linux/ramips/dts/rt3883.dtsi
index 84336df993..30d47fa994 100644
--- a/target/linux/ramips/dts/rt3883.dtsi
+++ b/target/linux/ramips/dts/rt3883.dtsi
@@ -376,7 +376,7 @@
};
ehci@101c0000 {
- compatible = "ralink,rt3xxx-ehci", "ehci-platform";
+ compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
phys = <&usbphy 1>;
@@ -389,7 +389,7 @@
};
ohci@101c1000 {
- compatible = "ralink,rt3xxx-ohci", "ohci-platform";
+ compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
phys = <&usbphy 1>;
diff --git a/target/linux/ramips/dts/rt5350.dtsi b/target/linux/ramips/dts/rt5350.dtsi
index 3367b14d0a..c6ff3d6c9d 100644
--- a/target/linux/ramips/dts/rt5350.dtsi
+++ b/target/linux/ramips/dts/rt5350.dtsi
@@ -312,7 +312,7 @@
};
ehci@101c0000 {
- compatible = "ralink,rt3xxx-ehci", "ehci-platform";
+ compatible = "generic-ehci";
reg = <0x101c0000 0x1000>;
phys = <&usbphy 1>;
@@ -323,7 +323,7 @@
};
ohci@101c1000 {
- compatible = "ralink,rt3xxx-ohci", "ohci-platform";
+ compatible = "generic-ohci";
reg = <0x101c1000 0x1000>;
phys = <&usbphy 1>;
diff --git a/target/linux/ramips/patches-4.3/0030-USB-add-OHCI-EHCI-OF-binding.patch b/target/linux/ramips/patches-4.3/0030-USB-add-OHCI-EHCI-OF-binding.patch
deleted file mode 100644
index 5e07d12ba0..0000000000
--- a/target/linux/ramips/patches-4.3/0030-USB-add-OHCI-EHCI-OF-binding.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From ef42c519247f677229bcbd1ab622222b165242af Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Sun, 27 Jul 2014 09:49:07 +0100
-Subject: [PATCH 30/53] USB: add OHCI/EHCI OF binding
-
-based on f3bc64d6d1f21c1b92d75f233a37b75d77af6963
-
-Signed-off-by: John Crispin <blogic@openwrt.org>
----
- drivers/usb/host/ehci-platform.c | 1 +
- drivers/usb/host/ohci-platform.c | 1 +
- 2 files changed, 2 insertions(+)
-
---- a/drivers/usb/host/ehci-platform.c
-+++ b/drivers/usb/host/ehci-platform.c
-@@ -381,6 +381,7 @@ static int ehci_platform_resume(struct d
- static const struct of_device_id vt8500_ehci_ids[] = {
- { .compatible = "via,vt8500-ehci", },
- { .compatible = "wm,prizm-ehci", },
-+ { .compatible = "ralink,rt3xxx-ehci", },
- { .compatible = "generic-ehci", },
- { .compatible = "cavium,octeon-6335-ehci", },
- {}
---- a/drivers/usb/host/ohci-platform.c
-+++ b/drivers/usb/host/ohci-platform.c
-@@ -344,6 +344,7 @@ static int ohci_platform_resume(struct d
- #endif /* CONFIG_PM_SLEEP */
-
- static const struct of_device_id ohci_platform_ids[] = {
-+ { .compatible = "ralink,rt3xxx-ohci", },
- { .compatible = "generic-ohci", },
- { .compatible = "cavium,octeon-6335-ohci", },
- { }