diff options
author | Bryan Wu <cooloney@kernel.org> | 2008-05-31 03:17:25 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-05-31 03:17:25 -0400 |
commit | 2eb74ae20e65e71c2d5bf7b8ad7d0ac5d5acf55f (patch) | |
tree | c3a3d94a2f21078f6c0b06655b5b1cd3b92c7ed0 /arch/blackfin/mach-bf527/boards/ezkit.c | |
parent | ca56d9aaf2a135e0eb528df427f7dda15d077b11 (diff) |
Blackfin arch: Fix bug - set corret SSEL and IRQ to enable AD7877 on BF527
AD7877 use SSEL_2 (P9.9) and IRQ_PF8 (P9.14) on BF527
- populating JP3 to enable STAMP
- disable SW11.2 to disconnect SSEL_2/PF12 from Rotary NAND
- disable SW18.1 to disconnect SSEL_2 from MAX1233 touchscreen chip
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf527/boards/ezkit.c')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index bb6d58c931de..fa4f4e833e84 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -647,10 +647,10 @@ static struct spi_board_info bfin_spi_board_info[] __initdata = { | |||
647 | { | 647 | { |
648 | .modalias = "ad7877", | 648 | .modalias = "ad7877", |
649 | .platform_data = &bfin_ad7877_ts_info, | 649 | .platform_data = &bfin_ad7877_ts_info, |
650 | .irq = IRQ_PF6, | 650 | .irq = IRQ_PF8, |
651 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ | 651 | .max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */ |
652 | .bus_num = 0, | 652 | .bus_num = 0, |
653 | .chip_select = 1, | 653 | .chip_select = 2, |
654 | .controller_data = &spi_ad7877_chip_info, | 654 | .controller_data = &spi_ad7877_chip_info, |
655 | }, | 655 | }, |
656 | #endif | 656 | #endif |