75343c6340b174035f0f6c8d9e8684fa1a854042
[openwrt/svn-archive/archive.git] / target / linux / mcs814x / files-3.3 / arch / arm / mach-mcs814x / include / mach / hardware.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_HARDWARE_H
11 #define __ASM_ARCH_HARDWARE_H
12
13 #define MCS814X_IO_BASE 0xF0000000
14 #define MCS814X_IO_START 0x40000000
15 #define MCS814X_IO_SIZE 0x00100000
16
17 #define _PHYS_CONFADDR 0x40000000
18 #define _VIRT_CONFADDR MCS814X_IO_BASE
19
20 #define _CONFOFFSET_UART 0x000DC000
21 #define _CONFOFFSET_DBGLED 0x000EC000
22 #define _CONFOFFSET_SYSDBG 0x000F8000
23
24 #define _CONFADDR_DBGLED (_VIRT_CONFADDR + _CONFOFFSET_DBGLED)
25 #define _CONFADDR_SYSDBG (_VIRT_CONFADDR + _CONFOFFSET_SYSDBG)
26
27 #endif
28