From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aswath Govindraju Date: Fri, 20 Nov 2020 21:18:55 +0530 Subject: [PATCH 3/3] dts: am654-base-board-uboot: Add aliases for USB subsystems In-Reply-To: <20201120154855.9065-1-a-govindraju@ti.com> References: <20201120154855.9065-1-a-govindraju@ti.com> Message-ID: <20201120154855.9065-4-a-govindraju@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 2 ++ 1 file changed, 2 insertions(+) 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; }; }; -- 2.17.1