]> git.lizzy.rs Git - plan9front.git/blob - sys/src/9/cycv/io.h
add cycv ethernet driver
[plan9front.git] / sys / src / 9 / cycv / io.h
1 #define UART_BASE 0xFFC02000
2 #define MPCORE_BASE 0xFFFEC000
3 #define L2_BASE 0xFFFEF000
4 #define CLOCKMGR_BASE 0xFFD04000
5 #define EMAC1_BASE 0xFF702000
6 #define RESETMGR_BASE 0xFFD05000
7 #define SYSMGR_BASE 0xFFD08000
8 #define OCRAM 0xFFFF0000
9
10 /*RESETMGR*/
11 #define PERMODRST (0x14/4)
12 /*SYSMGR*/
13 #define FPGA_MODULE (0x28/4)
14
15 #define HPS_CLK 25
16
17 #define TIMERIRQ 29
18 #define UART0IRQ 194
19 #define EMAC1IRQ 152
20
21 #define LEVEL 0
22 #define EDGE 1
23