[U-Boot] [PATCH 08/14] tegra: usb: Add USB definitions for Tegra2 Seaboard

Simon Glass sjg at chromium.org
Thu Nov 24 04:54:50 CET 2011


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

Signed-off-by: Simon Glass <sjg at 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 at 0xc5008000";
+                usb1 = "/usb at 0xc5000000";
+        };
+
 	memory {
 		device_type = "memory";
 		reg = < 0x00000000 0x40000000 >;
@@ -29,4 +35,19 @@
 	sdhci at c8000600 {
 		support-8bit;
 	};
+
+	usb at 0xc5000000 {
+		status = "ok";
+		support-host-mode;
+	};
+
+	usbphy: usbphy at 0 {
+		compatible = "smsc,usb3315";
+		status = "ok";
+	};
+
+	usb at 0xc5008000 {
+		status = "ok";
+		utmi = <&usbphy>;
+	};
 };
-- 
1.7.3.1



More information about the U-Boot mailing list