OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [arch-a5k/] [hardware.h] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
/*
2
 * linux/include/asm-arm/arch-a5k/hardware.h
3
 *
4
 * Copyright (C) 1996 Russell King.
5
 *
6
 * This file contains the hardware definitions of the A5000 series machines.
7
 */
8
 
9
#ifndef __ASM_ARCH_HARDWARE_H
10
#define __ASM_ARCH_HARDWARE_H
11
 
12
/*
13
 * What hardware must be present
14
 */
15
#define HAS_IOC
16
#define HAS_MEMC
17
#define HAS_MEMC1A
18
#define HAS_VIDC
19
 
20
/*
21
 * Optional hardware
22
 */
23
#define HAS_EXPMASK
24
 
25
#define IO_START                0x03000000
26
#define IO_SIZE                 0x01000000
27
#define IO_BASE                 0x03000000
28
 
29
#define SCREEN_START            0x02000000      /* Screen */
30
#define SCREEN2_END             0x02078000
31
#define SCREEN2_BASE            0x02000000
32
#define SCREEN1_END             0x02000000
33
#define SCREEN1_BASE            0x01f88000
34
 
35
 
36
#ifndef __ASSEMBLER__
37
 
38
/*
39
 * for use with inb/outb
40
 */
41
#define IO_VIDC_BASE            0x80100000
42
#define IO_IOC_BASE             0x80080000
43
 
44
#define IO_EC_IOC4_BASE         0x8009c000
45
#define IO_EC_IOC_BASE          0x80090000
46
#define IO_EC_MEMC_BASE         0x80000000
47
 
48
/*
49
 * IO definitions
50
 */
51
#define EXPMASK_BASE            ((volatile unsigned char *)0x03360000)
52
#define IOEB_BASE               ((volatile unsigned char *)0x03350050)
53
#define PCIO_FLOPPYDMABASE      ((volatile unsigned char *)0x0302a000)
54
#define PCIO_BASE               0x03010000
55
 
56
/*
57
 * RAM definitions
58
 */
59
#define MAPTOPHYS(a)            (((unsigned long)a & 0x007fffff) + PAGE_OFFSET)
60
#define KERNTOPHYS(a)           ((((unsigned long)(&a)) & 0x007fffff) + PAGE_OFFSET)
61
#define GET_MEMORY_END(p)       (PAGE_OFFSET + (p->u1.s.page_size) * (p->u1.s.nr_pages))
62
#define PARAMS_BASE             (PAGE_OFFSET + 0x7c000)
63
#define KERNEL_BASE             (PAGE_OFFSET + 0x80000)
64
 
65
#else
66
 
67
#define IOEB_BASE               0x03350050
68
#define IOC_BASE                0x03200000
69
#define PCIO_FLOPPYDMABASE      0x0302a000
70
#define PCIO_BASE               0x03010000
71
 
72
#endif
73
#endif
74
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.