diff options
Diffstat (limited to 'arch/blackfin/mach-bf537/boards/pnav10.c')
-rw-r--r-- | arch/blackfin/mach-bf537/boards/pnav10.c | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index 838240f151f5..10b35b838bac 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
@@ -92,6 +92,14 @@ static struct platform_device rtc_device = { | |||
92 | #endif | 92 | #endif |
93 | 93 | ||
94 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) | 94 | #if defined(CONFIG_SMC91X) || defined(CONFIG_SMC91X_MODULE) |
95 | #include <linux/smc91x.h> | ||
96 | |||
97 | static struct smc91x_platdata smc91x_info = { | ||
98 | .flags = SMC91X_USE_16BIT | SMC91X_NOWAIT, | ||
99 | .leda = RPC_LED_100_10, | ||
100 | .ledb = RPC_LED_TX_RX, | ||
101 | }; | ||
102 | |||
95 | static struct resource smc91x_resources[] = { | 103 | static struct resource smc91x_resources[] = { |
96 | { | 104 | { |
97 | .name = "smc91x-regs", | 105 | .name = "smc91x-regs", |
@@ -110,6 +118,9 @@ static struct platform_device smc91x_device = { | |||
110 | .id = 0, | 118 | .id = 0, |
111 | .num_resources = ARRAY_SIZE(smc91x_resources), | 119 | .num_resources = ARRAY_SIZE(smc91x_resources), |
112 | .resource = smc91x_resources, | 120 | .resource = smc91x_resources, |
121 | .dev = { | ||
122 | .platform_data = &smc91x_info, | ||
123 | }, | ||
113 | }; | 124 | }; |
114 | #endif | 125 | #endif |
115 | 126 | ||
@@ -282,13 +293,6 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | |||
282 | }; | 293 | }; |
283 | #endif | 294 | #endif |
284 | 295 | ||
285 | #if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE) | ||
286 | static struct bfin5xx_spi_chip ad9960_spi_chip_info = { | ||
287 | .enable_dma = 0, | ||
288 | .bits_per_word = 16, | ||
289 | }; | ||
290 | #endif | ||
291 | |||
292 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) | 296 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) |
293 | static struct bfin5xx_spi_chip mmc_spi_chip_info = { | 297 | static struct bfin5xx_spi_chip mmc_spi_chip_info = { |
294 | .enable_dma = 0, | 298 | .enable_dma = 0, |
@@ -348,22 +352,13 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
348 | #if defined(CONFIG_SND_BLACKFIN_AD1836) \ | 352 | #if defined(CONFIG_SND_BLACKFIN_AD1836) \ |
349 | || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) | 353 | || defined(CONFIG_SND_BLACKFIN_AD1836_MODULE) |
350 | { | 354 | { |
351 | .modalias = "ad1836-spi", | 355 | .modalias = "ad1836", |
352 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ | 356 | .max_speed_hz = 3125000, /* max spi clock (SCK) speed in HZ */ |
353 | .bus_num = 0, | 357 | .bus_num = 0, |
354 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, | 358 | .chip_select = CONFIG_SND_BLACKFIN_SPI_PFBIT, |
355 | .controller_data = &ad1836_spi_chip_info, | 359 | .controller_data = &ad1836_spi_chip_info, |
356 | }, | 360 | }, |
357 | #endif | 361 | #endif |
358 | #if defined(CONFIG_AD9960) || defined(CONFIG_AD9960_MODULE) | ||
359 | { | ||
360 | .modalias = "ad9960-spi", | ||
361 | .max_speed_hz = 10000000, /* max spi clock (SCK) speed in HZ */ | ||
362 | .bus_num = 0, | ||
363 | .chip_select = 1, | ||
364 | .controller_data = &ad9960_spi_chip_info, | ||
365 | }, | ||
366 | #endif | ||
367 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) | 362 | #if defined(CONFIG_MMC_SPI) || defined(CONFIG_MMC_SPI_MODULE) |
368 | { | 363 | { |
369 | .modalias = "mmc_spi", | 364 | .modalias = "mmc_spi", |