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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [frv/] [arch/] [current/] [include/] [fr500.h] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
//==========================================================================
2
//
3
//      fr500.h
4
//
5
//      HAL misc board support definitions for Fujitsu FR5xx chips
6
//
7
//==========================================================================
8
// ####ECOSGPLCOPYRIGHTBEGIN####                                            
9
// -------------------------------------------                              
10
// This file is part of eCos, the Embedded Configurable Operating System.   
11
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
12
//
13
// eCos is free software; you can redistribute it and/or modify it under    
14
// the terms of the GNU General Public License as published by the Free     
15
// Software Foundation; either version 2 or (at your option) any later      
16
// version.                                                                 
17
//
18
// eCos is distributed in the hope that it will be useful, but WITHOUT      
19
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or    
20
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License    
21
// for more details.                                                        
22
//
23
// You should have received a copy of the GNU General Public License        
24
// along with eCos; if not, write to the Free Software Foundation, Inc.,    
25
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.            
26
//
27
// As a special exception, if other files instantiate templates or use      
28
// macros or inline functions from this file, or you compile this file      
29
// and link it with other works to produce a work based on this file,       
30
// this file does not by itself cause the resulting work to be covered by   
31
// the GNU General Public License. However the source code for this file    
32
// must still be made available in accordance with section (3) of the GNU   
33
// General Public License v2.                                               
34
//
35
// This exception does not invalidate any other reasons why a work based    
36
// on this file might be covered by the GNU General Public License.         
37
// -------------------------------------------                              
38
// ####ECOSGPLCOPYRIGHTEND####                                              
39
//==========================================================================
40
//#####DESCRIPTIONBEGIN####
41
//
42
// Author(s):    gthomas
43
// Contributors: gthomas
44
// Date:         2001-09-07
45
// Purpose:      Platform register definitions
46
// Description:  
47
//
48
//####DESCRIPTIONEND####
49
//
50
//========================================================================*/
51
 
52
#ifndef __HAL_FR500_H__
53
#define __HAL_FR500_H__ 1
54
 
55
 
56
// SDRAM Controller
57
#define _FRV550_SDRAM_CTL  0xFEFF0200              // Control
58
#define _FRV550_SDRAM_AMC  0xFEFF0204              // Access mode control
59
#define _FRV550_SDRAM_MS   0xFEFF0208              // Mode select
60
#define _FRV550_SDRAM_CFG  0xFEFF020C              // Configuration
61
#define _FRV550_SDRAM_AN   0xFEFF0210              // Address number
62
#define _FRV550_SDRAM_STS  0xFEFF0214              // Status
63
#define _FRV550_SDRAM_RCN  0xFEFF0218              // Refresh control
64
#define _FRV550_SDRAM_ART  0xFEFF021C              // Auto-refresh timer
65
 
66
#define _FRV550_SDRAM_ARS0 0xFEFF0100              // Address #0
67
#define _FRV550_SDRAM_ARS1 0xFEFF0104              // Address #1
68
#define _FRV550_SDRAM_ARS2 0xFEFF0108              // Address #2
69
#define _FRV550_SDRAM_ARS3 0xFEFF010C              // Address #3
70
#define _FRV550_SDRAM_AMK0 0xFEFF0110              // Address mask #0
71
#define _FRV550_SDRAM_AMK1 0xFEFF0114              // Address mask #1
72
#define _FRV550_SDRAM_AMK2 0xFEFF0118              // Address mask #2
73
#define _FRV550_SDRAM_AMK3 0xFEFF011C              // Address mask #3
74
 
75
// Local bus control
76
#define _FRV550_LBUS_CP    0xFEFF1000              // Controller protect
77
#define _FRV550_LBUS_GCR   0xFEFF1010              // General configuration
78
#define _FRV550_LBUS_EST   0xFEFF1020              // Error status
79
#define _FRV550_LBUS_EAD   0xFEFF1028              // Error address
80
#define _FRV550_LBUS_MAICR 0xFEFF1030              // Master access interval control
81
#define _FRV550_LBUS_EMBR  0xFEFF1040              // External master base
82
#define _FRV550_LBUS_EMAM  0xFEFF1048              // External master address mask
83
#define _FRV550_LBUS_CR0   0xFEFF1100              // Configuration - space #0
84
#define _FRV550_LBUS_CR1   0xFEFF1108              // Configuration - space #1
85
#define _FRV550_LBUS_CR2   0xFEFF1110              // Configuration - space #2
86
#define _FRV550_LBUS_CR3   0xFEFF1118              // Configuration - space #3
87
#define _FRV550_LBUS_CR4   0xFEFF1120              // Configuration - space #4
88
#define _FRV550_LBUS_CR5   0xFEFF1128              // Configuration - space #5
89
#define _FRV550_LBUS_CR6   0xFEFF1130              // Configuration - space #6
90
#define _FRV550_LBUS_CR7   0xFEFF1138              // Configuration - space #7
91
#define _FRV550_LBUS_BR0   0xFEFF1C00              // Slave - base address #0
92
#define _FRV550_LBUS_BR1   0xFEFF1C08              // Slave - base address #1
93
#define _FRV550_LBUS_BR2   0xFEFF1C10              // Slave - base address #2
94
#define _FRV550_LBUS_BR3   0xFEFF1C18              // Slave - base address #3
95
#define _FRV550_LBUS_BR4   0xFEFF1C20              // Slave - base address #4
96
#define _FRV550_LBUS_BR5   0xFEFF1C28              // Slave - base address #5
97
#define _FRV550_LBUS_BR6   0xFEFF1C30              // Slave - base address #6
98
#define _FRV550_LBUS_BR7   0xFEFF1C38              // Slave - base address #7
99
#define _FRV550_LBUS_AM0   0xFEFF1D00              // Slave - address mask #0
100
#define _FRV550_LBUS_AM1   0xFEFF1D08              // Slave - address mask #1
101
#define _FRV550_LBUS_AM2   0xFEFF1D10              // Slave - address mask #2
102
#define _FRV550_LBUS_AM3   0xFEFF1D18              // Slave - address mask #3
103
#define _FRV550_LBUS_AM4   0xFEFF1D20              // Slave - address mask #4
104
#define _FRV550_LBUS_AM5   0xFEFF1D28              // Slave - address mask #5
105
#define _FRV550_LBUS_AM6   0xFEFF1D30              // Slave - address mask #6
106
#define _FRV550_LBUS_AM7   0xFEFF1D38              // Slave - address mask #7
107
 
108
// Reset register
109
#define _FRV550_HW_RESET 0xFEFFF500               // Hardware reset
110
 
111
// Some GPIO magic
112
#define _FRV550_GPIO_SIR 0xFEFFF410               // Special input signals
113
#define _FRV550_GPIO_SOR 0xFEFFF418               // Special output signals
114
 
115
#endif // __HAL_FR500_H__

powered by: WebSVN 2.1.0

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