Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spec-sw
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
fmc-projects
spec
spec-sw
Commits
351c74c2
There was an error fetching the commit references. Please try again later.
Commit
351c74c2
authored
12 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
kernel/wr_nic/nic-hardware.h: memory map, again
parent
2fa2d8b4
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kernel/wr_nic/nic-hardware.h
+34
-24
34 additions, 24 deletions
kernel/wr_nic/nic-hardware.h
with
34 additions
and
24 deletions
kernel/wr_nic/nic-hardware.h
+
34
−
24
View file @
351c74c2
...
...
@@ -24,42 +24,52 @@
//#define WRN_IRQ_RTUT (WRN_IRQ_BASE + )
/*
* spec-wr-nic memory map
* spec-wr-nic memory map
(from SDB dump):
*
* 0x00000 - 0x1ffff: RT Subsystem (ram etc)
* 0x20000 - 0x200ff: Mini-NIC
* 0x20100 - 0x201ff: Endpoint (not used here)
* 0x20200 - 0x202ff: RT Subsystem SoftPLL-adv
* 0x20300 - 0x203ff: pps generator
* 0x20400 - 0x204ff: syscon
* 0x20500 - 0x205ff: RT Subsystem UART
* 0x20600 - 0x206ff: RT Subsystem Onewire
* 0x20700 - 0x207ff: RT Subsystem Onewire
* 0x40000 - 0x5ffff: WR-NIC
* 0x60000 - 0x600ff: VIC core
* 0x61000 - 0x610ff: timestamping unit
* 0x62200 - 0x622ff: GPIO Port
* 0x62300 - 0x623ff: WR-DIO
* 00000651:e6a542c9 WB4-Crossbar-GSI
* 0000ce42:00000011 WR-CORE (bridge: 00000000)
* 00000651:e6a542c9 WB4-Crossbar-GSI
* 0000ce42:66cfeb52 WB4-BlockRAM (00000000-00015fff)
* 00000651:eef0b198 WB4-Bridge-GSI (bridge: 00020000)
* 00000651:e6a542c9 WB4-Crossbar-GSI
* 0000ce42:ab28633a WR-Mini-NIC (00020000-000200ff)
* 0000ce42:650c2d4f WR-Endpoint (00020100-000201ff)
* 0000ce42:65158dc0 WR-Soft-PLL (00020200-000202ff)
* 0000ce42:de0d8ced WR-PPS-Generator (00020300-000203ff)
* 0000ce42:ff07fc47 WR-Periph-Syscon (00020400-000204ff)
* 0000ce42:e2d13d04 WR-Periph-UART (00020500-000205ff)
* 0000ce42:779c5443 WR-Periph-1Wire (00020600-000206ff)
* 0000ce42:779c5443 WR-Periph-1Wire (00020700-000207ff)
* 0000ce42:00000012 WR-NIC (00040000-0005ffff)
* 0000ce42:00000013 WB-VIC-Int.Control (00060000-000600ff)
* 0000ce42:00000014 WR-TXTSU (00061000-000610ff)
* 000075cb:00000002 WR-DIO-Core (bridge: 00062000)
* 00000651:e6a542c9 WB4-Crossbar-GSI
* 0000ce42:779c5443 WR-1Wire-master (00062000-000620ff)
* 0000ce42:123c5443 WB-I2C-Master (00062100-000621ff)
* 0000ce42:441c5143 WB-GPIO-Port (00062200-000622ff)
* 000075cb:00000001 WR-DIO-Registers (00062300-000623ff)
*
*/
/* This is the base address of memory regions (gennum bridge, bar 0) */
#define FPGA_BASE_LM32 0x000
8
0000
#define FPGA_SIZE_LM32 0x0001
0
000
#define FPGA_BASE_LM32 0x000
0
0000
#define FPGA_SIZE_LM32 0x0001
6
000
#define FPGA_BASE_NIC 0x000
a
0000
#define FPGA_BASE_NIC 0x000
2
0000
#define FPGA_SIZE_NIC 0x00000100
#define FPGA_BASE_EP 0x000
a
0100
#define FPGA_BASE_EP 0x000
2
0100
#define FPGA_SIZE_EP 0x00000100
#define FPGA_SIZE_EACH_EP 0x100
/* There is one only */
#define FPGA_BASE_PPSG 0x000
a
0300
#define FPGA_BASE_PPSG 0x000
2
0300
#define FPGA_SIZE_PPSG 0x00000100
#define FPGA_BASE_VIC 0x000
a4
000
/* not used here */
#define FPGA_SIZE_VIC 0x0000
1
000
#define FPGA_BASE_TS 0x000
a8
000
#define FPGA_SIZE_TS 0x00001
0
00
#define FPGA_BASE_VIC 0x000
60
000
/* not used here */
#define FPGA_SIZE_VIC 0x00000
1
00
#define FPGA_BASE_TS 0x000
61
000
#define FPGA_SIZE_TS 0x0000
100
enum
fpga_blocks
{
WRN_FB_NIC
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment