summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBryan Wu <cooloney@kernel.org>2008-05-31 15:17:25 +0800
committerBryan Wu <cooloney@kernel.org>2008-05-31 15:17:25 +0800
commit2eb74ae20e65e71c2d5bf7b8ad7d0ac5d5acf55f (patch)
treec3a3d94a2f21078f6c0b06655b5b1cd3b92c7ed0 /arch/blackfin
parentca56d9aaf2a135e0eb528df427f7dda15d077b11 (diff)
downloadop-kernel-dev-2eb74ae20e65e71c2d5bf7b8ad7d0ac5d5acf55f.zip
op-kernel-dev-2eb74ae20e65e71c2d5bf7b8ad7d0ac5d5acf55f.tar.gz
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')
-rw-r--r--arch/blackfin/mach-bf527/boards/ezkit.c4
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 bb6d58c..fa4f4e8 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 = {
{
.modalias = "ad7877",
.platform_data = &bfin_ad7877_ts_info,
- .irq = IRQ_PF6,
+ .irq = IRQ_PF8,
.max_speed_hz = 12500000, /* max spi clock (SCK) speed in HZ */
.bus_num = 0,
- .chip_select = 1,
+ .chip_select = 2,
.controller_data = &spi_ad7877_chip_info,
},
#endif
OpenPOWER on IntegriCloud