diff mbox series

[3/3] dts: am654-base-board-uboot: Add aliases for USB subsystems

Message ID 20201120154855.9065-4-a-govindraju@ti.com
State New
Delegated to: Lokesh Vutla
Headers show
Series usb: am654: Add support for host mode to the USB port on overlay board | expand

Commit Message

Aswath Govindraju Nov. 20, 2020, 3:48 p.m. UTC
The sequence number assigned for USB subsystem in a uclass is dependent on
the order of occurrence in the device tree. If the dr_mode of USB3SS0
controller is varied then the sequence number of USB3SS1 controller also
changes. If aliases are added then sequence numbers are assigned using the
alias number. This makes the sequence number of USB3SS1 controller
independent of USB3SS0 controller's dr_mode.

Therefore, add aliases to fix the sequence number assigned to the USB

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
 arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series


diff --git a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
index bd2f334c2b50..727bc3e8a0e3 100644
--- a/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
+++ b/arch/arm/dts/k3-am654-base-board-u-boot.dtsi
@@ -14,6 +14,8 @@ 
 	aliases {
 		serial2 = &main_uart0;
 		ethernet0 = &cpsw_port1;
+		usb0 = &usb0;
+		usb1 = &usb1;