Hi,

On 04/24/2017 11:20 PM, Alexey Ignatov wrote:
> Aliases must be present for USB gadget with DM_USB. Without this,
> usb_setup_ehci_gadget() fails because it can't find required devices
> in UCLASS_USB.
> 
> Signed-off-by: Alexey Ignatov <lexsz...@gmail.com>
> ---
>  arch/arm/dts/imx6qdl.dtsi | 1 +
>  arch/arm/dts/imx6sll.dtsi | 2 ++
>  arch/arm/dts/imx6sx.dtsi  | 2 ++
>  arch/arm/dts/imx6ul.dtsi  | 2 ++

...

>  
>       cpus {
> diff --git a/arch/arm/dts/imx6ul.dtsi b/arch/arm/dts/imx6ul.dtsi
> index c5c05fdccc..0b27ba85a0 100644
> --- a/arch/arm/dts/imx6ul.dtsi
> +++ b/arch/arm/dts/imx6ul.dtsi
> @@ -45,6 +45,8 @@
>               spi3 = &ecspi4;
>               usbphy0 = &usbphy1;
>               usbphy1 = &usbphy2;
> +             usb0 = &usbotg1;
> +             usb1 = &usbotg2;
>       };
>  
>       cpus {

The imx6ul.dtsi file already has usbotg{0,1} aliases.

http://git.denx.de/?p=u-boot.git;a=commit;h=b3cab814232d3b5e165c09ffad4af5b71bde15f3

Regards,


-- 
Sébastien Szymanski
Software Engineer, Armadeus Systems
sebastien.szyman...@armadeus.com
Tel: +33 (0)9 72 29 41 44
Fax: +33 (0)9 72 28 79 26
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to