aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 8f929539b812..4aec6c06f0fe 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -1818,6 +1818,19 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = {
1818 }, 1818 },
1819#endif 1819#endif
1820 1820
1821#if defined(CONFIG_AD7416) || defined(CONFIG_AD7416_MODULE)
1822 {
1823 I2C_BOARD_INFO("ad7417", 0xb),
1824 .irq = IRQ_PG5,
1825 /*
1826 * platform_data pointer is borrwoed by the driver to
1827 * store custimer defined IRQ ALART level mode.
1828 * only IRQF_TRIGGER_HIGH and IRQF_TRIGGER_LOW are valid.
1829 */
1830 .platform_data = (void *)IRQF_TRIGGER_LOW,
1831 },
1832#endif
1833
1821#if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE) 1834#if defined(CONFIG_BFIN_TWI_LCD) || defined(CONFIG_BFIN_TWI_LCD_MODULE)
1822 { 1835 {
1823 I2C_BOARD_INFO("pcf8574_lcd", 0x22), 1836 I2C_BOARD_INFO("pcf8574_lcd", 0x22),