blob: 5090338c0db2d927543096f5f5ad303e1f5e24d2 [file] [log] [blame]
Russell Kinga09e64f2008-08-05 16:14:15 +01001/*
2 * arch/arm/mach-ks8695/include/mach/hardware.h
3 *
4 * Copyright (C) 2006 Ben Dooks <ben@simtec.co.uk>
5 * Copyright (C) 2006 Simtec Electronics
6 *
7 * KS8695 - Memory Map definitions
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12*/
13
14#ifndef __ASM_ARCH_HARDWARE_H
15#define __ASM_ARCH_HARDWARE_H
16
17#include <asm/sizes.h>
18
19/*
Andrew Victor0a518102009-08-04 19:55:56 +010020 * Clocks are derived from MCLK, which is 25Mhz
21 */
22#define KS8695_CLOCK_RATE 25000000
23
24/*
Russell Kinga09e64f2008-08-05 16:14:15 +010025 * Physical RAM address.
26 */
27#define KS8695_SDRAM_PA 0x00000000
28
29
30/*
31 * We map an entire MiB with the System Configuration Registers in even
32 * though only 64KiB is needed. This makes it easier for use with the
33 * head debug code as the initial MMU setup only deals in L1 sections.
34 */
35#define KS8695_IO_PA 0x03F00000
Arnd Bergmannc72ecbe2012-09-14 20:20:02 +000036#define KS8695_IO_VA IOMEM(0xF0000000)
Russell Kinga09e64f2008-08-05 16:14:15 +010037#define KS8695_IO_SIZE SZ_1M
38
39#define KS8695_PCIMEM_PA 0x60000000
40#define KS8695_PCIMEM_SIZE SZ_512M
41
42#define KS8695_PCIIO_PA 0x80000000
43#define KS8695_PCIIO_SIZE SZ_64K
44
Russell Kinga09e64f2008-08-05 16:14:15 +010045#endif