2
0
forked from Ivasoft/openwrt

lantiq: update USB controller initialization

This adds USB initialization fixes for Danube, Amazon SE and xrx300 and
should fix the clock on at least Danube which hopefully closes FS#351.

The xrx200 usb driver now uses more memory for the dwc2 fifos, this was
increased in the chip compared to ar9.

This is based in part on the vendor documentation and the vendor code
base as a reference.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens
2017-01-06 18:37:40 +01:00
parent 2dac67464d
commit f036956e1f
11 changed files with 394 additions and 95 deletions

View File

@@ -137,20 +137,22 @@
};
ifxhcd@E101000 {
compatible = "lantiq,ifxhcd-arx100", "lantiq,ifxhcd-arx100-dwc2";
compatible = "lantiq,arx100-usb", "lantiq,ifxhcd-arx100";
reg = <0xE101000 0x1000
0xE120000 0x3f000>;
interrupt-parent = <&icu0>;
interrupts = <62 91>;
dr_mode = "host";
status = "disabled";
};
ifxhcd@E106000 {
compatible = "lantiq,ifxhcd-arx100-dwc2";
compatible = "lantiq,arx100-usb";
reg = <0xE106000 0x1000
0xE1E0000 0x3f000>;
interrupt-parent = <&icu0>;
interrupts = <91>;
dr_mode = "host";
status = "disabled";
};