* better
[mascara-docs.git] / i386 / linux-2.3.21 / arch / arm / mm / mm-tbox.c
blob2cc5cc9e140df3bcb2c896de89956f8e5ad8b2a8
1 /*
2 * arch/arm/mm/mm-tbox.c
3 * from arch/arm/mm/mm-ebsa110.c
5 * Extra MM routines for the Tbox architecture
7 * Copyright (C) 1998 Phil Blundell
8 * Copyright (C) 1998 Russell King
9 */
11 #include <linux/sched.h>
12 #include <linux/mm.h>
13 #include <linux/init.h>
15 #include <asm/io.h>
16 #include <asm/pgtable.h>
17 #include <asm/page.h>
18 #include <asm/proc/mm-init.h>
21 /* Logical Physical
22 * 0xffff1000 0x00100000 DMA registers
23 * 0xffff2000 0x00200000 MPEG
24 * 0xffff3000 0x00300000 FPGA1 local control
25 * 0xffff4000 0x00400000 External serial
26 * 0xffff5000 0x00500000 Internal serial
27 * 0xffff6000 0x00600000 Parallel
28 * 0xffff7000 0x00700000 Interrupt control
29 * 0xffff8000 0x00800000 Computer video
30 * 0xffff9000 0x00900000 Control register 0
31 * 0xffffs000 0x00a00000 Control register 1
32 * 0xffffb000 0x00b00000 Control register 2
33 * 0xffffc000 0x00c00000 FPGA2 local control
34 * 0xffffd000 0x00d00000 Interrupt reset
35 * 0xffffe000 0x00e00000 MPEG DMA throttle
38 #define MAPPING \
39 { 0xffff0000, 0x01000000, 0x00001000, DOMAIN_IO, 0, 1 }, \
40 { 0xffff1000, 0x00100000, 0x00001000, DOMAIN_IO, 0, 1 }, \
41 { 0xffff2000, 0x00200000, 0x00001000, DOMAIN_IO, 0, 1 }, \
42 { 0xffff3000, 0x00300000, 0x00001000, DOMAIN_IO, 0, 1 }, \
43 { 0xffff4000, 0x00400000, 0x00001000, DOMAIN_IO, 0, 1 }, \
44 { 0xfe000000, 0x00400000, 0x00001000, DOMAIN_IO, 0, 1 }, \
45 { 0xffff5000, 0x00500000, 0x00001000, DOMAIN_IO, 0, 1 }, \
46 { 0xffff6000, 0x00600000, 0x00001000, DOMAIN_IO, 0, 1 }, \
47 { 0xffff7000, 0x00700000, 0x00001000, DOMAIN_IO, 0, 1 }, \
48 { 0xffff8000, 0x00800000, 0x00001000, DOMAIN_IO, 0, 1 }, \
49 { 0xffff9000, 0x00900000, 0x00001000, DOMAIN_IO, 0, 1 }, \
50 { 0xffffa000, 0x00a00000, 0x00001000, DOMAIN_IO, 0, 1 }, \
51 { 0xffffb000, 0x00b00000, 0x00001000, DOMAIN_IO, 0, 1 }, \
52 { 0xffffc000, 0x00c00000, 0x00001000, DOMAIN_IO, 0, 1 }, \
53 { 0xffffd000, 0x00d00000, 0x00001000, DOMAIN_IO, 0, 1 }, \
54 { 0xffffe000, 0x00e00000, 0x00001000, DOMAIN_IO, 0, 1 }
56 #include "mm-armv.c"