2 * This file contains the hardware definitions of the Freescale STMP3XXX
4 * Copyright (C) 2005 Sigmatel Inc
6 * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
7 * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
11 * The code contained herein is licensed under the GNU General Public
12 * License. You may obtain a copy of the GNU General Public License
13 * Version 2 or later at the following locations:
15 * http://www.opensource.org/licenses/gpl-license.html
16 * http://www.gnu.org/copyleft/gpl.html
18 #ifndef __ASM_ARCH_HARDWARE_H
19 #define __ASM_ARCH_HARDWARE_H
22 * Where in virtual memory the IO devices (timers, system controllers
25 #define IO_BASE 0xF0000000 /* VA of IO */
26 #define IO_SIZE 0x00100000 /* How much? */
27 #define IO_START 0x80000000 /* PA of IO */
29 /* macro to get at IO space when running virtually */
30 #define IO_ADDRESS(x) (((x) & 0x000fffff) | IO_BASE)