make hardware.h a forward inclusion of mcs814x.h
[openwrt/openwrt.git] / target / linux / mcs814x / files-3.3 / arch / arm / mach-mcs814x / include / mach / mcs814x.h
1 /*
2 * Copyright (C) 2003 Artec Design Ltd.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 */
9
10 #ifndef __ASM_ARCH_MCS814X_H
11 #define __ASM_ARCH_MCS814X_H
12
13 #define MCS814X_IO_BASE 0xF0000000
14 #define MCS814X_IO_START 0x40000000
15 #define MCS814X_IO_SIZE 0x00100000
16
17 /* IRQ controller register offset */
18 #define MCS814X_IRQ_ICR 0x00
19 #define MCS814X_IRQ_ISR 0x04
20 #define MCS814X_IRQ_MASK 0x20
21 #define MCS814X_IRQ_STS0 0x40
22
23 #define _PHYS_CONFADDR 0x40000000
24 #define _VIRT_CONFADDR MCS814X_IO_BASE
25
26 #define _CONFOFFSET_UART 0x000DC000
27 #define _CONFOFFSET_DBGLED 0x000EC000
28 #define _CONFOFFSET_SYSDBG 0x000F8000
29
30 #define _CONFADDR_DBGLED (_VIRT_CONFADDR + _CONFOFFSET_DBGLED)
31 #define _CONFADDR_SYSDBG (_VIRT_CONFADDR + _CONFOFFSET_SYSDBG)
32
33 #endif /* __ASM_ARCH_MCS814X_H */
34