xparameters.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * (C) Copyright 2007 Michal Simek
  3. *
  4. * Michal SIMEK <monstr@monstr.eu>
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. *
  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.
  12. */
  13. #define XILINX_BOARD_NAME microblaze-generic
  14. /* System Clock Frequency */
  15. #define XILINX_CLOCK_FREQ 100000000
  16. /* Microblaze is microblaze_0 */
  17. #define XILINX_USE_MSR_INSTR 1
  18. #define XILINX_FSL_NUMBER 3
  19. /* Interrupt controller is opb_intc_0 */
  20. #define XILINX_INTC_BASEADDR 0x41200000
  21. #define XILINX_INTC_NUM_INTR_INPUTS 6
  22. /* Timer pheriphery is opb_timer_1 */
  23. #define XILINX_TIMER_BASEADDR 0x41c00000
  24. #define XILINX_TIMER_IRQ 0
  25. /* GPIO is LEDs_4Bit*/
  26. #define XILINX_GPIO_BASEADDR 0x40000000
  27. /* Flash Memory is FLASH_2Mx32 */
  28. #define XILINX_FLASH_START 0x2c000000
  29. #define XILINX_FLASH_SIZE 0x00800000
  30. /* Watchdog IP is wxi_timebase_wdt_0 */
  31. #define XILINX_WATCHDOG_BASEADDR 0x50000000
  32. #define XILINX_WATCHDOG_IRQ 1