]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: am654-base-board-uboot: Add aliases for USB subsystems
authorAswath Govindraju <a-govindraju@ti.com>
Fri, 20 Nov 2020 15:48:55 +0000 (21:18 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 12 Jan 2021 04:51:40 +0000 (10:21 +0530)
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
subsystems.

Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
arch/arm/dts/k3-am654-base-board-u-boot.dtsi

index bd2f334c2b504615b57c8aa67a0408bcd4a6fd67..727bc3e8a0e34d334a7efa7478078adbad26d0a8 100644 (file)
@@ -14,6 +14,8 @@
        aliases {
                serial2 = &main_uart0;
                ethernet0 = &cpsw_port1;
+               usb0 = &usb0;
+               usb1 = &usb1;
        };
 };