diff options
Diffstat (limited to 'arch/arm/mach-omap1')
-rw-r--r-- | arch/arm/mach-omap1/board-fsample.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-h2.c | 13 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-h3.c | 13 | ||||
-rw-r--r-- | arch/arm/mach-omap1/board-perseus2.c | 12 |
4 files changed, 50 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/board-fsample.c b/arch/arm/mach-omap1/board-fsample.c index 096f2ed102cb..405ff7a3b82d 100644 --- a/arch/arm/mach-omap1/board-fsample.c +++ b/arch/arm/mach-omap1/board-fsample.c | |||
@@ -292,6 +292,18 @@ static void __init omap_fsample_init(void) | |||
292 | omap_cfg_reg(L3_1610_FLASH_CS2B_OE); | 292 | omap_cfg_reg(L3_1610_FLASH_CS2B_OE); |
293 | omap_cfg_reg(M8_1610_FLASH_CS2B_WE); | 293 | omap_cfg_reg(M8_1610_FLASH_CS2B_WE); |
294 | 294 | ||
295 | /* Mux pins for keypad */ | ||
296 | omap_cfg_reg(E2_7XX_KBR0); | ||
297 | omap_cfg_reg(J7_7XX_KBR1); | ||
298 | omap_cfg_reg(E1_7XX_KBR2); | ||
299 | omap_cfg_reg(F3_7XX_KBR3); | ||
300 | omap_cfg_reg(D2_7XX_KBR4); | ||
301 | omap_cfg_reg(C2_7XX_KBC0); | ||
302 | omap_cfg_reg(D3_7XX_KBC1); | ||
303 | omap_cfg_reg(E4_7XX_KBC2); | ||
304 | omap_cfg_reg(F4_7XX_KBC3); | ||
305 | omap_cfg_reg(E3_7XX_KBC4); | ||
306 | |||
295 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 307 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
296 | 308 | ||
297 | omap_board_config = fsample_config; | 309 | omap_board_config = fsample_config; |
diff --git a/arch/arm/mach-omap1/board-h2.c b/arch/arm/mach-omap1/board-h2.c index 5f30188ade99..ee469744466b 100644 --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c | |||
@@ -437,6 +437,19 @@ static void __init h2_init(void) | |||
437 | /* omap_cfg_reg(U19_ARMIO1); */ /* CD */ | 437 | /* omap_cfg_reg(U19_ARMIO1); */ /* CD */ |
438 | omap_cfg_reg(BALLOUT_V8_ARMIO3); /* WP */ | 438 | omap_cfg_reg(BALLOUT_V8_ARMIO3); /* WP */ |
439 | 439 | ||
440 | /* Mux pins for keypad */ | ||
441 | omap_cfg_reg(F18_1610_KBC0); | ||
442 | omap_cfg_reg(D20_1610_KBC1); | ||
443 | omap_cfg_reg(D19_1610_KBC2); | ||
444 | omap_cfg_reg(E18_1610_KBC3); | ||
445 | omap_cfg_reg(C21_1610_KBC4); | ||
446 | omap_cfg_reg(G18_1610_KBR0); | ||
447 | omap_cfg_reg(F19_1610_KBR1); | ||
448 | omap_cfg_reg(H14_1610_KBR2); | ||
449 | omap_cfg_reg(E20_1610_KBR3); | ||
450 | omap_cfg_reg(E19_1610_KBR4); | ||
451 | omap_cfg_reg(N19_1610_KBR5); | ||
452 | |||
440 | /* Irda */ | 453 | /* Irda */ |
441 | #if defined(CONFIG_OMAP_IR) || defined(CONFIG_OMAP_IR_MODULE) | 454 | #if defined(CONFIG_OMAP_IR) || defined(CONFIG_OMAP_IR_MODULE) |
442 | omap_writel(omap_readl(FUNC_MUX_CTRL_A) | 7, FUNC_MUX_CTRL_A); | 455 | omap_writel(omap_readl(FUNC_MUX_CTRL_A) | 7, FUNC_MUX_CTRL_A); |
diff --git a/arch/arm/mach-omap1/board-h3.c b/arch/arm/mach-omap1/board-h3.c index 0be1d3b8181d..a228e9d6eb7b 100644 --- a/arch/arm/mach-omap1/board-h3.c +++ b/arch/arm/mach-omap1/board-h3.c | |||
@@ -397,6 +397,19 @@ static void __init h3_init(void) | |||
397 | /* GPIO10 pullup/down register, Enable pullup on GPIO10 */ | 397 | /* GPIO10 pullup/down register, Enable pullup on GPIO10 */ |
398 | omap_cfg_reg(V2_1710_GPIO10); | 398 | omap_cfg_reg(V2_1710_GPIO10); |
399 | 399 | ||
400 | /* Mux pins for keypad */ | ||
401 | omap_cfg_reg(F18_1610_KBC0); | ||
402 | omap_cfg_reg(D20_1610_KBC1); | ||
403 | omap_cfg_reg(D19_1610_KBC2); | ||
404 | omap_cfg_reg(E18_1610_KBC3); | ||
405 | omap_cfg_reg(C21_1610_KBC4); | ||
406 | omap_cfg_reg(G18_1610_KBR0); | ||
407 | omap_cfg_reg(F19_1610_KBR1); | ||
408 | omap_cfg_reg(H14_1610_KBR2); | ||
409 | omap_cfg_reg(E20_1610_KBR3); | ||
410 | omap_cfg_reg(E19_1610_KBR4); | ||
411 | omap_cfg_reg(N19_1610_KBR5); | ||
412 | |||
400 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 413 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
401 | spi_register_board_info(h3_spi_board_info, | 414 | spi_register_board_info(h3_spi_board_info, |
402 | ARRAY_SIZE(h3_spi_board_info)); | 415 | ARRAY_SIZE(h3_spi_board_info)); |
diff --git a/arch/arm/mach-omap1/board-perseus2.c b/arch/arm/mach-omap1/board-perseus2.c index e854d5741c88..50690347c7b4 100644 --- a/arch/arm/mach-omap1/board-perseus2.c +++ b/arch/arm/mach-omap1/board-perseus2.c | |||
@@ -260,6 +260,18 @@ static void __init omap_perseus2_init(void) | |||
260 | omap_cfg_reg(L3_1610_FLASH_CS2B_OE); | 260 | omap_cfg_reg(L3_1610_FLASH_CS2B_OE); |
261 | omap_cfg_reg(M8_1610_FLASH_CS2B_WE); | 261 | omap_cfg_reg(M8_1610_FLASH_CS2B_WE); |
262 | 262 | ||
263 | /* Mux pins for keypad */ | ||
264 | omap_cfg_reg(E2_7XX_KBR0); | ||
265 | omap_cfg_reg(J7_7XX_KBR1); | ||
266 | omap_cfg_reg(E1_7XX_KBR2); | ||
267 | omap_cfg_reg(F3_7XX_KBR3); | ||
268 | omap_cfg_reg(D2_7XX_KBR4); | ||
269 | omap_cfg_reg(C2_7XX_KBC0); | ||
270 | omap_cfg_reg(D3_7XX_KBC1); | ||
271 | omap_cfg_reg(E4_7XX_KBC2); | ||
272 | omap_cfg_reg(F4_7XX_KBC3); | ||
273 | omap_cfg_reg(E3_7XX_KBC4); | ||
274 | |||
263 | platform_add_devices(devices, ARRAY_SIZE(devices)); | 275 | platform_add_devices(devices, ARRAY_SIZE(devices)); |
264 | 276 | ||
265 | omap_board_config = perseus2_config; | 277 | omap_board_config = perseus2_config; |