From e190290ba40fc5340cefd04dd6abf5def15065b9 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Fri, 28 Oct 2005 12:21:06 +0200 Subject: Fix external IRQ configuration on Yellowstone & Yosemite The multiplexed signals Ext IRQ0...3 have to be configured as IRQ, because they default to GPIOx (440EP/GR). Patch by Stefan Roese, 28 Oct 2005 --- board/amcc/yellowstone/yellowstone.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'board/amcc/yellowstone') diff --git a/board/amcc/yellowstone/yellowstone.c b/board/amcc/yellowstone/yellowstone.c index 4c0ae21..c2b7cf1 100644 --- a/board/amcc/yellowstone/yellowstone.c +++ b/board/amcc/yellowstone/yellowstone.c @@ -95,6 +95,11 @@ int board_early_init_f(void) out32(GPIO1_OSRL, in32(GPIO1_OSRL) | 0x00080000); out32(GPIO1_ISR2L, in32(GPIO1_ISR2L) | 0x00010000); + /* external interrupts IRQ0...3 */ + out32(GPIO1_TCR, in32(GPIO1_TCR) & ~0x0f000000); + out32(GPIO1_TSRL, in32(GPIO1_TSRL) & ~0x00005500); + out32(GPIO1_ISR1L, in32(GPIO1_ISR1L) | 0x00005500); + #if 0 /* test-only */ /*setup USB 2.0 */ out32(GPIO1_TCR, in32(GPIO1_TCR) | 0xc0000000); -- cgit v1.1