]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - arch/arm/mach-ks8695/include/mach/hardware.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / mach-ks8695 / include / mach / hardware.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * arch/arm/mach-ks8695/include/mach/hardware.h
4 *
5 * Copyright (C) 2006 Ben Dooks <ben@simtec.co.uk>
6 * Copyright (C) 2006 Simtec Electronics
7 *
8 * KS8695 - Memory Map definitions
9 */
10
11 #ifndef __ASM_ARCH_HARDWARE_H
12 #define __ASM_ARCH_HARDWARE_H
13
14 #include <linux/sizes.h>
15
16 /*
17 * Clocks are derived from MCLK, which is 25MHz
18 */
19 #define KS8695_CLOCK_RATE 25000000
20
21 /*
22 * Physical RAM address.
23 */
24 #define KS8695_SDRAM_PA 0x00000000
25
26
27 /*
28 * We map an entire MiB with the System Configuration Registers in even
29 * though only 64KiB is needed. This makes it easier for use with the
30 * head debug code as the initial MMU setup only deals in L1 sections.
31 */
32 #define KS8695_IO_PA 0x03F00000
33 #define KS8695_IO_VA IOMEM(0xF0000000)
34 #define KS8695_IO_SIZE SZ_1M
35
36 #define KS8695_PCIMEM_PA 0x60000000
37 #define KS8695_PCIMEM_SIZE SZ_512M
38
39 #define KS8695_PCIIO_PA 0x80000000
40 #define KS8695_PCIIO_SIZE SZ_64K
41
42 #endif