mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-26 20:09:02 +09:00
![Sjoerd Simons](/assets/img/avatar_default.png)
All i.mx6 boards seems to have moved to DM_USB, however gadget support for mx6 is still pre-DM as CI_UDC isn't converted yet. To make this work the usb otg controller used for gadgets needs to be usb number 0. Add an alias for this directly in the main u-boot mx6qdl dtsi so it doesn't need to be done for each board separately. This fixes regressions wrt. usb gadget functionality in several boards that have gadget functions enabled in their config, but no usb0 alias in their device-tree. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
34 lines
372 B
Plaintext
34 lines
372 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
|
|
*/
|
|
|
|
/ {
|
|
aliases {
|
|
usb0 = &usbotg;
|
|
};
|
|
|
|
soc {
|
|
u-boot,dm-spl;
|
|
|
|
aips-bus@2000000 {
|
|
u-boot,dm-spl;
|
|
spba-bus@2000000 {
|
|
u-boot,dm-spl;
|
|
};
|
|
};
|
|
|
|
aips-bus@2100000 {
|
|
u-boot,dm-spl;
|
|
};
|
|
};
|
|
};
|
|
|
|
&gpio1 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
&iomuxc {
|
|
u-boot,dm-spl;
|
|
};
|