We set up two USB ports, one of which can be host or device.

Signed-off-by: Simon Glass <s...@chromium.org>
---
 board/nvidia/dts/tegra2-seaboard.dts |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/board/nvidia/dts/tegra2-seaboard.dts 
b/board/nvidia/dts/tegra2-seaboard.dts
index 7d0869a..395d3fa 100644
--- a/board/nvidia/dts/tegra2-seaboard.dts
+++ b/board/nvidia/dts/tegra2-seaboard.dts
@@ -11,6 +11,12 @@
                bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 
root=/dev/mmcblk1p3 rw rootwait";
        };
 
+        aliases {
+               /* This defines the order of our USB ports */
+                usb0 = "/usb@0xc5008000";
+                usb1 = "/usb@0xc5000000";
+        };
+
        memory {
                device_type = "memory";
                reg = < 0x00000000 0x40000000 >;
@@ -29,4 +35,19 @@
        sdhci@c8000600 {
                support-8bit;
        };
+
+       usb@0xc5000000 {
+               status = "ok";
+               support-host-mode;
+       };
+
+       usbphy: usbphy@0 {
+               compatible = "smsc,usb3315";
+               status = "ok";
+       };
+
+       usb@0xc5008000 {
+               status = "ok";
+               utmi = <&usbphy>;
+       };
 };
-- 
1.7.3.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to