davinci: dm365 evm cpld support: leds, card detect, other setup
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sun, 21 Jun 2009 21:50:12 +0000 (14:50 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 26 Aug 2009 07:56:59 +0000 (10:56 +0300)
commitff255c6caa389c90c68f5421f60ebfc40b68ea1b
tree9ef641a7b606219099ad5aa53e80ad162da1d193
parent37b798da5df377521a8cd32a82467aa2d431f33e
davinci: dm365 evm cpld support: leds, card detect, other setup

Add basic support for the CPLD on the DM365 EVM board:

 - Read SW5 to set up NAND and keypad vs (someday) OneNAND
 - Export MMC/SD card detect and writeprotect signals
 - LED support (same layout as on DM355 EVM)
 - Static config for video input:
     * external HD imager precludes MMC1, Ethernet, audio
     * else either tvp5146 (SD/default) or tvp7002 (HD)

The video input could actually be switched around dynamically;
change that if/when that's needed (and after those other video
inputs have driver support).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-dm365-evm.c