Ian Lartey | d24d96e | 2010-10-14 12:07:33 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved. |
| 3 | */ |
| 4 | |
| 5 | /* |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
| 11 | #ifndef __ASM_ARCH_MXC_BOARD_MX31ADS_H__ |
| 12 | #define __ASM_ARCH_MXC_BOARD_MX31ADS_H__ |
| 13 | |
| 14 | #include <mach/hardware.h> |
| 15 | |
| 16 | /* |
| 17 | * These symbols are used by drivers/net/cs89x0.c. |
| 18 | * This is ugly as hell, but we have to provide them until |
| 19 | * someone fixed the driver. |
| 20 | */ |
| 21 | |
| 22 | /* Base address of PBC controller */ |
| 23 | #define PBC_BASE_ADDRESS MX31_CS4_BASE_ADDR_VIRT |
| 24 | /* Offsets for the PBC Controller register */ |
| 25 | |
| 26 | /* Ethernet Controller IO base address */ |
| 27 | #define PBC_CS8900A_IOBASE 0x020000 |
| 28 | |
| 29 | #define MXC_EXP_IO_BASE (MXC_BOARD_IRQ_START) |
| 30 | |
| 31 | #define EXPIO_INT_ENET_INT (MXC_EXP_IO_BASE + 8) |
| 32 | |
| 33 | #endif /* __ASM_ARCH_MXC_BOARD_MX31ADS_H__ */ |