mirror of https://github.com/hak5/openwrt-owl.git
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> SVN-Revision: 44676owl
parent
72822d0192
commit
2a390925df
|
@ -205,6 +205,11 @@
|
||||||
lantiq,portmask = <0x3>;
|
lantiq,portmask = <0x3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ifxhcd@E106000 {
|
||||||
|
status = "okay";
|
||||||
|
gpios = <&gpio 33 0>;
|
||||||
|
};
|
||||||
|
|
||||||
pci@E105400 {
|
pci@E105400 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
|
|
|
@ -129,6 +129,11 @@
|
||||||
gpios = <&gpio 33 0>;
|
gpios = <&gpio 33 0>;
|
||||||
lantiq,portmask = <0x3>;
|
lantiq,portmask = <0x3>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ifxhcd@E106000 {
|
||||||
|
status = "okay";
|
||||||
|
gpios = <&gpio 33 0>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gphy-xrx200 {
|
gphy-xrx200 {
|
||||||
|
|
|
@ -138,13 +138,21 @@
|
||||||
|
|
||||||
ifxhcd@E101000 {
|
ifxhcd@E101000 {
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
compatible = "lantiq,ifxhcd-xrx200";
|
compatible = "lantiq,ifxhcd-xrx200", "lantiq,ifxhcd-xrx200-dwc2";
|
||||||
reg = <0xE101000 0x1000
|
reg = <0xE101000 0x1000
|
||||||
0xE120000 0x3f000>;
|
0xE120000 0x3f000>;
|
||||||
interrupt-parent = <&icu0>;
|
interrupt-parent = <&icu0>;
|
||||||
interrupts = <62 91>;
|
interrupts = <62 91>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ifxhcd@E106000 {
|
||||||
|
status = "disabled";
|
||||||
|
compatible = "lantiq,ifxhcd-xrx200-dwc2";
|
||||||
|
reg = <0xE106000 0x1000>;
|
||||||
|
interrupt-parent = <&icu0>;
|
||||||
|
interrupts = <91>;
|
||||||
|
};
|
||||||
|
|
||||||
mei@E116000 {
|
mei@E116000 {
|
||||||
compatible = "lantiq,mei-xrx200";
|
compatible = "lantiq,mei-xrx200";
|
||||||
interrupt-parent = <&icu0>;
|
interrupt-parent = <&icu0>;
|
||||||
|
|
Loading…
Reference in New Issue