summaryrefslogtreecommitdiff
path: root/arch/arm/dts/tegra20-seaboard.dts
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-09-15 18:19:38 (GMT)
committerTom Warren <twarren@nvidia.com>2016-09-27 16:11:03 (GMT)
commit002ddbffb6e51ea3291d7bf22eca6f847b40fa90 (patch)
treed6d3d74b8c21e795285dbd32e56cbcc5898955f2 /arch/arm/dts/tegra20-seaboard.dts
parent2f6a7e8ce5df8b99d84bfd486c6f99d92322ce04 (diff)
downloadu-boot-002ddbffb6e51ea3291d7bf22eca6f847b40fa90.tar.xz
ARM: tegra: fix USB controller aliases
Some boards have a different set of USB controllers enabled in DT than the set referenced by /alias entries. This patch fixes that. For example, this avoids the following message while booting on Ventana, which is caused by the fact that the USB0 controller had no alias, and defaulted to wanting a sequence number of 0, which was later explicitly requested by the alias for USB controller 2. USB2: Device 'usb@c5008000': seq 0 is in use by 'usb@c5000000' This didn't affect USB operation in any way though. Related, there's no need for the USB controller aliases to have an order that's different from the HW order, so re-order any aliases to match the HW ordering. This has the benefit that since USB controller 0 is the only one that supports device-mode in HW, and U-Boot only supports enabling device move on controller 0, there's now good synergy in the ordering! For Tegra20, that's not relevant at present since USB device mode doesn't work correctly on that SoC, but it will save some head-scratching later. This patch doesn't fix the colibri_t20 board, even though it has the same issue, since Marcel already sent a patch for that. Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Tested-on: Harmony and Ventana
Diffstat (limited to 'arch/arm/dts/tegra20-seaboard.dts')
-rw-r--r--arch/arm/dts/tegra20-seaboard.dts5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/dts/tegra20-seaboard.dts b/arch/arm/dts/tegra20-seaboard.dts
index 1421051..77f5bb5 100644
--- a/arch/arm/dts/tegra20-seaboard.dts
+++ b/arch/arm/dts/tegra20-seaboard.dts
@@ -9,8 +9,9 @@
aliases {
/* This defines the order of our ports */
- usb0 = "/usb@c5008000";
- usb1 = "/usb@c5000000";
+ usb0 = "/usb@c5000000";
+ usb1 = "/usb@c5004000";
+ usb2 = "/usb@c5008000";
i2c0 = "/i2c@7000d000";
i2c1 = "/i2c@7000c000";
i2c2 = "/i2c@7000c400";