aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-11 17:08:32 +0000
committerJohn Crispin <blogic@openwrt.org>2015-03-11 17:08:32 +0000
commit2b0eb2e042e82ac75e2613b948fed3906625c36e (patch)
treedb61430964c3fa9e8ff23aef8ac38e78b65f65f4 /target/linux/lantiq
parenta968dcbf6d472923463daee689e61867f32b1c5b (diff)
downloadupstream-2b0eb2e042e82ac75e2613b948fed3906625c36e.tar.gz
upstream-2b0eb2e042e82ac75e2613b948fed3906625c36e.tar.bz2
upstream-2b0eb2e042e82ac75e2613b948fed3906625c36e.zip
lantiq: Convert Zyxel P-2812HNU-FX and TP-Link TD-W8970 to support dwc2
Here the device tree entry for ifxhcd is listed as compatible with one supported in dwc2 (after patching the dwc driver appropriately). A second entry is added to support the second core of the hcd. This entry is listed to be compatible with only dwc2. Done this way there should be backwards support for both hcd drivers (ltq-hcd and dwc2) Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44676 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq')
-rw-r--r--target/linux/lantiq/dts/P2812HNUFX.dtsi5
-rw-r--r--target/linux/lantiq/dts/TDW8970.dts5
-rw-r--r--target/linux/lantiq/dts/vr9.dtsi10
3 files changed, 19 insertions, 1 deletions
diff --git a/target/linux/lantiq/dts/P2812HNUFX.dtsi b/target/linux/lantiq/dts/P2812HNUFX.dtsi
index e571eb64f6..d93e862b3a 100644
--- a/target/linux/lantiq/dts/P2812HNUFX.dtsi
+++ b/target/linux/lantiq/dts/P2812HNUFX.dtsi
@@ -205,6 +205,11 @@
lantiq,portmask = <0x3>;
};
+ ifxhcd@E106000 {
+ status = "okay";
+ gpios = <&gpio 33 0>;
+ };
+
pci@E105400 {
status = "okay";
#address-cells = <3>;
diff --git a/target/linux/lantiq/dts/TDW8970.dts b/target/linux/lantiq/dts/TDW8970.dts
index 1b42d48daf..d8dcb5d836 100644
--- a/target/linux/lantiq/dts/TDW8970.dts
+++ b/target/linux/lantiq/dts/TDW8970.dts
@@ -129,6 +129,11 @@
gpios = <&gpio 33 0>;
lantiq,portmask = <0x3>;
};
+
+ ifxhcd@E106000 {
+ status = "okay";
+ gpios = <&gpio 33 0>;
+ };
};
gphy-xrx200 {
diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi
index 542020ae61..bdb12701eb 100644
--- a/target/linux/lantiq/dts/vr9.dtsi
+++ b/target/linux/lantiq/dts/vr9.dtsi
@@ -138,13 +138,21 @@
ifxhcd@E101000 {
status = "disabled";
- compatible = "lantiq,ifxhcd-xrx200";
+ compatible = "lantiq,ifxhcd-xrx200", "lantiq,ifxhcd-xrx200-dwc2";
reg = <0xE101000 0x1000
0xE120000 0x3f000>;
interrupt-parent = <&icu0>;
interrupts = <62 91>;
};
+ ifxhcd@E106000 {
+ status = "disabled";
+ compatible = "lantiq,ifxhcd-xrx200-dwc2";
+ reg = <0xE106000 0x1000>;
+ interrupt-parent = <&icu0>;
+ interrupts = <91>;
+ };
+
mei@E116000 {
compatible = "lantiq,mei-xrx200";
interrupt-parent = <&icu0>;