2 * Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology
3 * Author: Wu Zhangjin <wuzj@lemote.com>
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
11 #ifndef __ASM_MACH_LOONGSON_MEM_H
12 #define __ASM_MACH_LOONGSON_MEM_H
15 * On Lemote Loongson 2e
17 * the high memory space starts from 512M.
18 * the peripheral registers reside between 0x1000:0000 and 0x2000:0000.
21 #ifdef CONFIG_LEMOTE_FULOONG2E
23 #define LOONGSON_HIGHMEM_START 0x20000000
25 #define LOONGSON_MMIO_MEM_START 0x10000000
26 #define LOONGSON_MMIO_MEM_END 0x20000000
30 #endif /* __ASM_MACH_LOONGSON_MEM_H */