This series brings in the kernel fdt file, adds USB definitions support to it, and provides a working USB driver for Tegra2 Seaboard.
(I have done this in one series since otherwise most of the fdt additions will just look like dead code.) The driver can operate with or without CONFIG_OF_CONTROL, depending on the board configuration. Some enhancements to fdtdec are required to make this easier, and these are included in the series also. Simon Glass (14): fdt: Tidy up a few fdtdec problems fdt: Add functions to access phandles, arrays and bools arm: fdt: Ensure that an embedded fdt is word-aligned arm: fdt: Add skeleton device tree file tegra: fdt: Add Tegra2x device tree file tegra: fdt: Add device tree file for Tegra2 Seaboard tegra: fdt: Add initial device tree definitions for USB ports tegra: usb: Add USB definitions for Tegra2 Seaboard tegra: usb: Add support for data alignment and txfifo threshold tegra: usb: Add support for USB peripheral tegra: usb: Add USB support to nvidia boards tegra: usb: Add common USB defines for tegra2 boards tegra: usb: Enable USB on Seaboard tegra: fdt: Enable FDT support for Seaboard README | 7 + arch/arm/cpu/armv7/tegra2/Makefile | 4 +- arch/arm/cpu/armv7/tegra2/config.mk | 2 + arch/arm/cpu/armv7/tegra2/usb.c | 494 +++++++++++++++++++++++++++++ arch/arm/cpu/armv7/u-boot.lds | 5 + arch/arm/dts/skeleton.dtsi | 13 + arch/arm/dts/tegra20.dtsi | 227 +++++++++++++ arch/arm/include/asm/arch-tegra2/tegra2.h | 2 + arch/arm/include/asm/arch-tegra2/usb.h | 255 +++++++++++++++ board/nvidia/common/board.c | 5 + board/nvidia/dts/tegra2-seaboard.dts | 53 +++ drivers/usb/host/Makefile | 1 + drivers/usb/host/ehci-hcd.c | 39 +++ drivers/usb/host/ehci-tegra.c | 63 ++++ drivers/usb/host/ehci.h | 6 +- dts/Makefile | 2 +- include/configs/seaboard.h | 23 ++ include/configs/tegra2-common.h | 14 + include/fdtdec.h | 49 +++- lib/fdtdec.c | 90 +++++- 20 files changed, 1344 insertions(+), 10 deletions(-) create mode 100644 arch/arm/cpu/armv7/tegra2/usb.c create mode 100644 arch/arm/dts/skeleton.dtsi create mode 100644 arch/arm/dts/tegra20.dtsi create mode 100644 arch/arm/include/asm/arch-tegra2/usb.h create mode 100644 board/nvidia/dts/tegra2-seaboard.dts create mode 100644 drivers/usb/host/ehci-tegra.c -- 1.7.3.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot