27 #define WISHBONE_FREQ 62500000
35 #define SUART1_BASE (0x00020000UL)
36 #define TDC_BASE (0x00020100UL)
37 #define ACOU_BASE (0x00020200UL)
38 #define GPIO_BASE (0x00020300UL)
39 #define SPI_BASE (0x00020400UL)
40 #define I2C_BASE (0x00020500UL)
52 #define I2C1_BASE (0x00020500UL)
53 #define I2C2_BASE (0x00020510UL)
54 #define I2C3_BASE (0x00020520UL)
56 #define NANOB_BASE (0x00020600UL)
58 #define TIMER_BASE (0x00020700UL)
60 #define DATEREV_BASE (0x00020800UL)
62 #define XADC_BASE (0x00020900UL)
64 #define IPMCTRL_BASE (0x00020A00UL)
65 #define STMACH_BASE (0x00020B00UL)
66 #define MBOOT_BASE (0x00020C00UL)
68 #define SUART2_BASE (0x00020D00UL)
69 #define SUART3_BASE (0x00020E00UL)
70 #define SUART4_BASE (0x00020F00UL)
72 #define WATCHDOG_BASE (0x00021000UL)
73 #define IPMFIFO_BASE (0x00028000UL)
76 #define SDB_BASE (0x00040000UL)
79 #define PTP_OFFSET (0x00100000UL)
80 #define PTP_PPS_GEN (0x00020300UL | PTP_OFFSET)
81 #define PTP_VUART (0x00020500UL | PTP_OFFSET)
85 #define PTP_ROM_SIZE 69064
87 #define PTP_ROM_SIZE 67968
94 #define WRX_BASE (0x000001FF80)
98 #define IRQ_OVERFLOW 2
107 #define SYS_CRASH_COUNT 10
108 #define SYS_RECONFIGURE_COUNT 2
117 UART_CFG( UART_ID1, SUART1, IRQ_SUART1 ) \
118 UART_CFG( UART_ID2, SUART2, IRQ_SUART2 ) \
119 UART_CFG( UART_ID3, SUART3, IRQ_SUART3 ) \
120 UART_CFG( UART_ID4, SUART4, IRQ_SUART4 )
123 UART_CFG( UART_ID1, SUART1, IRQ_SUART1 )
126 #define SPI_SPEED ( WISHBONE_FREQ / 2)
127 #define I2C_SPEED 90000
129 #define NET_RX_BUFFER 1514
146 #define PAGE_SIZE 512
147 #define BLOCK_SIZE 512
148 #define BLOCK_BYTES ( PAGE_SIZE * BLOCK_SIZE )
152 #define FLASH_SPACING 0x01000000
154 #define FLASH_SPACING 0x00800000
156 #define FLASH_MAX_IMAGES 4
159 #define FLASH_SPACING 0x00C00000
160 #define FLASH_MAX_IMAGES 1
164 #define BLOCKS_OFFSET ( FLASH_SPACING * FLASH_MAX_IMAGES )
165 #define BLOCKS_SIZE ( 0x800000 )
166 #define BLOCKS_SPACING BLOCK_BYTES
168 #define BLS_RUNTIME 0
169 #define BLS_SFPINFO 1
173 #define LOGGING_OFFSET ( BLOCKS_OFFSET + BLOCKS_SIZE )
174 #define LOGGING_SIZE ( 0x800000 )
176 #define CRASH_OFFSET ( LOGGING_OFFSET + LOGGING_SIZE )
177 #define CRASH_IMG_SIZE ( 128 * 1024 )
178 #define CRASH_SIZE ( 0x800000 )