[U-Boot] [PATCH v1 1/3] ARM: DTS: am43xx: Add aliases for the USB ports

Jean-Jacques Hiblot jjhiblot at ti.com
Thu Jan 24 14:42:51 UTC 2019


Although not required, it doesn't hurt to explicitly map the USB ports to
a USB controller. Without this, the port number will be derived from the
binding order of the peripheral devices.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
---

 arch/arm/dts/am4372-u-boot.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/am4372-u-boot.dtsi b/arch/arm/dts/am4372-u-boot.dtsi
index 99922ca030..0e6d41f54b 100644
--- a/arch/arm/dts/am4372-u-boot.dtsi
+++ b/arch/arm/dts/am4372-u-boot.dtsi
@@ -3,6 +3,13 @@
  * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
  */
 
+/{
+	aliases {
+		usb0 = &usb1;
+		usb1 = &usb2;
+	};
+};
+
 &am43xx_control_usb2phy1 {
 	compatible = "ti,control-phy-usb2-am437", "syscon";
 };
-- 
2.17.1



More information about the U-Boot mailing list