f26b17f06259c4dccc810cb89a5556e00f997bde
[openwrt/openwrt.git] / package / boot / uboot-oxnas / files / arch / arm / include / asm / arch-nas782x / hardware.h
1 #ifndef _NAS782X_HARDWARE_H
2 #define _NAS782X_HARDWARE_H
3
4 /* Core addresses */
5 #define USB_HOST_BASE 0x40200000
6 #define MACA_BASE 0x40400000
7 #define MACB_BASE 0x40800000
8 #define MAC_BASE MACA_BASE
9 #define STATIC_CS0_BASE 0x41000000
10 #define STATIC_CS1_BASE 0x41400000
11 #define STATIC_CONTROL_BASE 0x41C00000
12 #define SATA_DATA_BASE 0x42000000 /* non-functional, DMA just needs an address */
13 #define GPIO_1_BASE 0x44000000
14 #define GPIO_2_BASE 0x44100000
15 #define UART_1_BASE 0x44200000
16 #define UART_2_BASE 0x44300000
17 #define SYS_CONTROL_BASE 0x44e00000
18 #define SEC_CONTROL_BASE 0x44f00000
19 #define RPSA_BASE 0x44400000
20 #define RPSC_BASE 0x44500000
21 #define DDR_BASE 0x44700000
22
23 #define SATA_BASE 0x45900000
24 #define SATA_0_REGS_BASE 0x45900000
25 #define SATA_1_REGS_BASE 0x45910000
26 #define SATA_DMA_REGS_BASE 0x459a0000
27 #define SATA_SGDMA_REGS_BASE 0x459b0000
28 #define SATA_HOST_REGS_BASE 0x459e0000
29
30 #endif /* _NAS782X_HARDWARE_H */