aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 8a138f0f0302..283cc66f0220 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -663,6 +663,18 @@ static struct bfin5xx_spi_chip ad2s90_spi_chip_info = {
663}; 663};
664#endif 664#endif
665 665
666#if defined(CONFIG_AD2S120X) || defined(CONFIG_AD2S120X_MODULE)
667unsigned short ad2s120x_platform_data[] = {
668 /* used as SAMPLE and RDVEL */
669 GPIO_PF5, GPIO_PF6, 0
670};
671
672static struct bfin5xx_spi_chip ad2s120x_spi_chip_info = {
673 .enable_dma = 0,
674 .bits_per_word = 16,
675};
676#endif
677
666#if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) 678#if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE)
667#define MMC_SPI_CARD_DETECT_INT IRQ_PF5 679#define MMC_SPI_CARD_DETECT_INT IRQ_PF5
668 680
@@ -987,6 +999,16 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = {
987 }, 999 },
988#endif 1000#endif
989 1001
1002#if defined(CONFIG_AD2S120X) || defined(CONFIG_AD2S120X_MODULE)
1003 {
1004 .modalias = "ad2s120x",
1005 .bus_num = 0,
1006 .chip_select = 4, /* CS, change it for your board */
1007 .platform_data = ad2s120x_platform_data,
1008 .controller_data = &ad2s120x_spi_chip_info,
1009 },
1010#endif
1011
990#if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) 1012#if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE)
991 { 1013 {
992 .modalias = "mmc_spi", 1014 .modalias = "mmc_spi",