]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: DTS: am43xx: Add aliases for the USB ports
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Thu, 24 Jan 2019 14:42:51 +0000 (15:42 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 1 Feb 2019 14:14:21 +0000 (09:14 -0500)
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@ti.com>
arch/arm/dts/am4372-u-boot.dtsi

index 99922ca0307b27c37d9e75997ab9d6e677e566ee..0e6d41f54b7b974354b4b8ea91acff1705d74cb8 100644 (file)
@@ -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";
 };