[U-Boot] [PATCH] arm: dts: imx: add aliases for usbotg nodes
Sébastien Szymanski
sebastien.szymanski at armadeus.com
Thu Apr 27 07:53:34 UTC 2017
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 <lexszero at 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.szymanski at armadeus.com
Tel: +33 (0)9 72 29 41 44
Fax: +33 (0)9 72 28 79 26
More information about the U-Boot
mailing list