sead3-addr.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 2015 Imagination Technologies, Inc.
  7. * written by Ralf Baechle <ralf@linux-mips.org>
  8. */
  9. #ifndef __ASM_MIPS_BOARDS_SEAD3_ADDR_H
  10. #define __ASM_MIPS_BOARDS_SEAD3_ADDR_H
  11. /*
  12. * Target #0 Register Decode
  13. */
  14. #define SEAD3_SD_SPDCNF 0xbb000040
  15. #define SEAD3_SD_SPADDR 0xbb000048
  16. #define SEAD3_SD_DATA 0xbb000050
  17. /*
  18. * Target #1 Register Decode
  19. */
  20. #define SEAD3_CFG 0xbb100110
  21. #define SEAD3_GIC_BASE_ADDRESS 0xbb1c0000
  22. #define SEAD3_SHARED_SECTION 0xbb1c0000
  23. #define SEAD3_VPE_LOCAL_SECTION 0xbb1c8000
  24. #define SEAD3_VPE_OTHER_SECTION 0xbb1cc000
  25. #define SEAD3_USER_MODE_VISIBLE_SECTION 0xbb1d0000
  26. /*
  27. * Target #3 Register Decode
  28. */
  29. #define SEAD3_USB_HS_BASE 0xbb200000
  30. #define SEAD3_USB_HS_IDENTIFICATION_REGS 0xbb200000
  31. #define SEAD3_USB_HS_CAPABILITY_REGS 0xbb200100
  32. #define SEAD3_USB_HS_OPERATIONAL_REGS 0xbb200140
  33. #define SEAD3_RESERVED 0xbe800000
  34. /*
  35. * Target #3 Register Decode
  36. */
  37. #define SEAD3_SRAM 0xbe000000
  38. #define SEAD3_OPTIONAL_SRAM 0xbe400000
  39. #define SEAD3_FPGA 0xbf000000
  40. #define SEAD3_PI_PIC32_USB_STATUS 0xbf000060
  41. #define SEAD3_PI_PIC32_USB_STATUS_IO_RDY (1 << 0)
  42. #define SEAD3_PI_PIC32_USB_STATUS_SPL_INT (1 << 1)
  43. #define SEAD3_PI_PIC32_USB_STATUS_GPIOA_INT (1 << 2)
  44. #define SEAD3_PI_PIC32_USB_STATUS_GPIOB_INT (1 << 3)
  45. #define SEAD3_PI_SOFT_ENDIAN 0xbf000070
  46. #define SEAD3_CPLD_P_SWITCH 0xbf000200
  47. #define SEAD3_CPLD_F_SWITCH 0xbf000208
  48. #define SEAD3_CPLD_P_LED 0xbf000210
  49. #define SEAD3_CPLD_F_LED 0xbf000218
  50. #define SEAD3_NEWSC_LIVE 0xbf000220
  51. #define SEAD3_NEWSC_REG 0xbf000228
  52. #define SEAD3_NEWSC_CTRL 0xbf000230
  53. #define SEAD3_LCD_CONTROL 0xbf000400
  54. #define SEAD3_LCD_DATA 0xbf000408
  55. #define SEAD3_CPLD_LCD_STATUS 0xbf000410
  56. #define SEAD3_CPLD_LCD_DATA 0xbf000418
  57. #define SEAD3_CPLD_PI_DEVRST 0xbf000480
  58. #define SEAD3_CPLD_PI_DEVRST_IC32_RST (1 << 0)
  59. #define SEAD3_RESERVED_0 0xbf000500
  60. #define SEAD3_PIC32_REGISTERS 0xbf000600
  61. #define SEAD3_RESERVED_1 0xbf000700
  62. #define SEAD3_UART_CH_0 0xbf000800
  63. #define SEAD3_UART_CH_1 0xbf000900
  64. #define SEAD3_RESERVED_2 0xbf000a00
  65. #define SEAD3_ETHERNET 0xbf010000
  66. #define SEAD3_RESERVED_3 0xbf020000
  67. #define SEAD3_USER_EXPANSION 0xbf400000
  68. #define SEAD3_RESERVED_4 0xbf800000
  69. #define SEAD3_BOOT_FLASH_EXTENSION 0xbfa00000
  70. #define SEAD3_BOOT_FLASH 0xbfc00000
  71. #define SEAD3_REVISION_REGISTER 0xbfc00010
  72. #endif /* __ASM_MIPS_BOARDS_SEAD3_ADDR_H */