Michal Simek | 5da048a | 2007-03-27 00:32:16 +0200 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2007 Michal Simek |
| 3 | * |
| 4 | * Michal SIMEK <monstr@monstr.eu> |
| 5 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ |
Michal Simek | 5da048a | 2007-03-27 00:32:16 +0200 | [diff] [blame] | 7 | * |
Stephan Linz | 2063788 | 2012-02-25 00:48:33 +0000 | [diff] [blame] | 8 | * CAUTION: This file is a faked configuration !!! |
| 9 | * There is no real target for the microblaze-generic |
| 10 | * configuration. You have to replace this file with |
| 11 | * the generated file from your Xilinx design flow. |
Michal Simek | 5da048a | 2007-03-27 00:32:16 +0200 | [diff] [blame] | 12 | */ |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 13 | |
Michal Simek | 330e554 | 2008-12-19 13:25:55 +0100 | [diff] [blame] | 14 | #define XILINX_BOARD_NAME microblaze-generic |
| 15 | |
Michal Simek | 1798049 | 2007-03-26 01:39:07 +0200 | [diff] [blame] | 16 | /* System Clock Frequency */ |
Michal Simek | 9d1d6a3 | 2007-04-21 20:53:31 +0200 | [diff] [blame] | 17 | #define XILINX_CLOCK_FREQ 100000000 |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 18 | |
Michal Simek | ffc50f9 | 2007-05-05 18:54:42 +0200 | [diff] [blame] | 19 | /* Microblaze is microblaze_0 */ |
Michal Simek | fb05f6d | 2007-05-07 23:58:31 +0200 | [diff] [blame] | 20 | #define XILINX_USE_MSR_INSTR 1 |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 21 | #define XILINX_FSL_NUMBER 3 |
Michal Simek | ffc50f9 | 2007-05-05 18:54:42 +0200 | [diff] [blame] | 22 | |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 23 | /* Interrupt controller is opb_intc_0 */ |
Michal Simek | 9d1d6a3 | 2007-04-21 20:53:31 +0200 | [diff] [blame] | 24 | #define XILINX_INTC_BASEADDR 0x41200000 |
Michal Simek | fb05f6d | 2007-05-07 23:58:31 +0200 | [diff] [blame] | 25 | #define XILINX_INTC_NUM_INTR_INPUTS 6 |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 26 | |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 27 | /* Timer pheriphery is opb_timer_1 */ |
Michal Simek | 9d1d6a3 | 2007-04-21 20:53:31 +0200 | [diff] [blame] | 28 | #define XILINX_TIMER_BASEADDR 0x41c00000 |
Michal Simek | 1798049 | 2007-03-26 01:39:07 +0200 | [diff] [blame] | 29 | #define XILINX_TIMER_IRQ 0 |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 30 | |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 31 | /* Uart pheriphery is RS232_Uart */ |
Michal Simek | af7ae1a | 2008-03-28 12:13:03 +0100 | [diff] [blame] | 32 | #define XILINX_UARTLITE_BASEADDR 0x40600000 |
| 33 | #define XILINX_UARTLITE_BAUDRATE 115200 |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 34 | |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 35 | /* IIC pheriphery is IIC_EEPROM */ |
| 36 | #define XILINX_IIC_0_BASEADDR 0x40800000 |
| 37 | #define XILINX_IIC_0_FREQ 100000 |
| 38 | #define XILINX_IIC_0_BIT 0 |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 39 | |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 40 | /* GPIO is LEDs_4Bit*/ |
| 41 | #define XILINX_GPIO_BASEADDR 0x40000000 |
| 42 | |
| 43 | /* Flash Memory is FLASH_2Mx32 */ |
Michal Simek | 9d1d6a3 | 2007-04-21 20:53:31 +0200 | [diff] [blame] | 44 | #define XILINX_FLASH_START 0x2c000000 |
Michal Simek | 1798049 | 2007-03-26 01:39:07 +0200 | [diff] [blame] | 45 | #define XILINX_FLASH_SIZE 0x00800000 |
Michal Simek | 76316a3 | 2007-03-11 13:42:58 +0100 | [diff] [blame] | 46 | |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 47 | /* Main Memory is DDR_SDRAM_64Mx32 */ |
Michal Simek | 9d1d6a3 | 2007-04-21 20:53:31 +0200 | [diff] [blame] | 48 | #define XILINX_RAM_START 0x28000000 |
| 49 | #define XILINX_RAM_SIZE 0x04000000 |
Michal Simek | 1798049 | 2007-03-26 01:39:07 +0200 | [diff] [blame] | 50 | |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 51 | /* Sysace Controller is SysACE_CompactFlash */ |
Michal Simek | 9d1d6a3 | 2007-04-21 20:53:31 +0200 | [diff] [blame] | 52 | #define XILINX_SYSACE_BASEADDR 0x41800000 |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 53 | #define XILINX_SYSACE_HIGHADDR 0x4180ffff |
Michal Simek | 1798049 | 2007-03-26 01:39:07 +0200 | [diff] [blame] | 54 | #define XILINX_SYSACE_MEM_WIDTH 16 |
| 55 | |
Michal Simek | 48fbd3a | 2007-05-07 17:11:09 +0200 | [diff] [blame] | 56 | /* Ethernet controller is Ethernet_MAC */ |
Michal Simek | 6bf3e98 | 2008-03-28 10:59:32 +0100 | [diff] [blame] | 57 | #define XILINX_EMACLITE_BASEADDR 0x40C00000 |
Stephan Linz | 2063788 | 2012-02-25 00:48:33 +0000 | [diff] [blame] | 58 | |
Michal Simek | 0f21f98 | 2013-04-22 11:23:16 +0200 | [diff] [blame] | 59 | /* Watchdog IP is wxi_timebase_wdt_0 */ |
| 60 | #define XILINX_WATCHDOG_BASEADDR 0x50000000 |
| 61 | #define XILINX_WATCHDOG_IRQ 1 |