tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard
authorSimon Glass <sjg@chromium.org>
Mon, 27 Feb 2012 10:52:46 +0000 (10:52 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:12:48 +0000 (08:12 +0200)
We set up two USB ports, one of which can be host or device.
For some reason the kernel version does enable both ports.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/dts/tegra2-seaboard.dts

index 452679f5594126885837a773d9f1e232b806595c..ad8169afd4e004e4fb92355b333f8e6999d05629 100644 (file)
                bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk1p3 rw rootwait";
        };
 
+       aliases {
+               /* This defines the order of our USB ports */
+               usb0 = "/usb@c5008000";
+               usb1 = "/usb@c5000000";
+       };
+
        memory {
                device_type = "memory";
                reg = < 0x00000000 0x40000000 >;
 
        usb@c5000000 {
                nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */
+               dr_mode = "otg";
+       };
+
+       usb@c5004000 {
+               status = "disabled";
        };
 };