summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-epxa10db/excalibur.h
blob: 5c91dd6d7822de723fa0545ca85e814cf208b706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/* megafunction wizard: %ARM-Based Excalibur%
   GENERATION: STANDARD
   VERSION: WM1.0
   MODULE: ARM-Based Excalibur
   PROJECT: excalibur
   ============================================================
   File Name: v:\embedded\linux\bootldr\excalibur.h
   Megafunction Name(s): ARM-Based Excalibur
   ============================================================

   ************************************************************
   THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
   ************************************************************/

#ifndef	EXCALIBUR_H_INCLUDED
#define	EXCALIBUR_H_INCLUDED

#define EXC_DEFINE_PROCESSOR_LITTLE_ENDIAN
#define EXC_DEFINE_BOOT_FROM_FLASH

#define	EXC_INPUT_CLK_FREQUENCY (50000000)
#define	EXC_AHB1_CLK_FREQUENCY (150000000)
#define	EXC_AHB2_CLK_FREQUENCY (75000000)
#define	EXC_SDRAM_CLK_FREQUENCY (75000000)

/* Registers Block */
#define	EXC_REGISTERS_BASE (0x7fffc000)
#define	EXC_MODE_CTRL00_BASE (EXC_REGISTERS_BASE + 0x000)
#define	EXC_IO_CTRL00_BASE (EXC_REGISTERS_BASE + 0x040)
#define	EXC_MMAP00_BASE (EXC_REGISTERS_BASE + 0x080)
#define	EXC_PLD_CONFIG00_BASE (EXC_REGISTERS_BASE + 0x140)
#define	EXC_TIMER00_BASE (EXC_REGISTERS_BASE + 0x200)
#define	EXC_INT_CTRL00_BASE (EXC_REGISTERS_BASE + 0xc00)
#define	EXC_CLOCK_CTRL00_BASE (EXC_REGISTERS_BASE + 0x300)
#define	EXC_WATCHDOG00_BASE (EXC_REGISTERS_BASE + 0xa00)
#define	EXC_UART00_BASE (EXC_REGISTERS_BASE + 0x280)
#define	EXC_EBI00_BASE (EXC_REGISTERS_BASE + 0x380)
#define	EXC_SDRAM00_BASE (EXC_REGISTERS_BASE + 0x400)
#define	EXC_AHB12_BRIDGE_CTRL00_BASE (EXC_REGISTERS_BASE + 0x800)
#define	EXC_PLD_STRIPE_BRIDGE_CTRL00_BASE (EXC_REGISTERS_BASE + 0x100)
#define	EXC_STRIPE_PLD_BRIDGE_CTRL00_BASE (EXC_REGISTERS_BASE + 0x100)

#define	EXC_REGISTERS_SIZE (0x00004000)

/* EBI Block(s) */
#define	EXC_EBI_BLOCK0_BASE (0x40000000)
#define	EXC_EBI_BLOCK0_SIZE (0x00400000)
#define	EXC_EBI_BLOCK0_WIDTH (8)
#define	EXC_EBI_BLOCK0_NON_CACHEABLE
#define	EXC_EBI_BLOCK1_BASE (0x40400000)
#define	EXC_EBI_BLOCK1_SIZE (0x00400000)
#define	EXC_EBI_BLOCK1_WIDTH (16)
#define	EXC_EBI_BLOCK1_NON_CACHEABLE
#define	EXC_EBI_BLOCK2_BASE (0x40800000)
#define	EXC_EBI_BLOCK2_SIZE (0x00400000)
#define	EXC_EBI_BLOCK2_WIDTH (16)
#define	EXC_EBI_BLOCK2_NON_CACHEABLE
#define	EXC_EBI_BLOCK3_BASE (0x40c00000)
#define	EXC_EBI_BLOCK3_SIZE (0x00400000)
#define	EXC_EBI_BLOCK3_WIDTH (16)
#define	EXC_EBI_BLOCK3_NON_CACHEABLE

/* SDRAM Block(s) */
#define	EXC_SDRAM_BLOCK0_BASE (0x00000000)
#define	EXC_SDRAM_BLOCK0_SIZE (0x04000000)
#define	EXC_SDRAM_BLOCK0_WIDTH (32)
#define	EXC_SDRAM_BLOCK1_BASE (0x04000000)
#define	EXC_SDRAM_BLOCK1_SIZE (0x04000000)
#define	EXC_SDRAM_BLOCK1_WIDTH (32)

/* Single Port SRAM Block(s) */
#define	EXC_SPSRAM_BLOCK0_BASE (0x08000000)
#define	EXC_SPSRAM_BLOCK0_SIZE (0x00020000)
#define	EXC_SPSRAM_BLOCK1_BASE (0x08020000)
#define	EXC_SPSRAM_BLOCK1_SIZE (0x00020000)

/* PLD Block(s) */
#define	EXC_PLD_BLOCK0_BASE (0x80000000)
#define	EXC_PLD_BLOCK0_SIZE (0x00004000)
#define	EXC_PLD_BLOCK0_NON_CACHEABLE
#define	EXC_PLD_BLOCK1_BASE (0xf000000)
#define	EXC_PLD_BLOCK1_SIZE (0x00004000)
#define	EXC_PLD_BLOCK1_NON_CACHEABLE
#define	EXC_PLD_BLOCK2_BASE (0x80008000)
#define	EXC_PLD_BLOCK2_SIZE (0x00004000)
#define	EXC_PLD_BLOCK2_NON_CACHEABLE
#define	EXC_PLD_BLOCK3_BASE (0x8000c000)
#define	EXC_PLD_BLOCK3_SIZE (0x00004000)
#define	EXC_PLD_BLOCK3_NON_CACHEABLE

#endif