[LEDE-DEV] [PATCH 3/3] lantiq: add device tree binding for dwc2 on danube
Antti Seppälä
antti.seppala at iki.fi
Fri Oct 28 09:14:50 PDT 2016
On 28 October 2016 at 17:30, Ben Mulvihill <ben.mulvihill at gmail.com> wrote:
> Add device tree binding for dwc2 usb driver on lantiq danube
>
> Signed-off-by: Ben Mulvihill <ben.mulvihill at gmail.com>
> ---
> diff -uprN a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi
> --- a/target/linux/lantiq/dts/danube.dtsi 2016-10-27 19:56:07.090392399 +0200
> +++ b/target/linux/lantiq/dts/danube.dtsi 2016-10-27 20:47:34.387511522 +0200
> @@ -140,7 +140,7 @@
> };
>
> ifxhcd at E101000 {
> - compatible = "lantiq,ifxhcd-danube";
> + compatible = "lantiq,ifxhcd-danube", "lantiq,ifxhcd-danube-dwc2";
> reg = <0xE101000 0x1000
> 0xE120000 0x3f000>;
> interrupt-parent = <&icu0>;
>
>
Hi.
Have you tried if danube can simply be compatible with vanilla "snps,dwc2"?
The main reason we created our own definition for lantiq is that arx
and xrx have fifo sizes smaller than what the dwc2 autodetection
mechanism expects.
I remember finding some references in ifxhcd code which would suggest
that danube had bigger fifo and thus would maybe work without any
special treatment.
Br,
--
Antti
More information about the Lede-dev
mailing list