CpldD06.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /** @file
  2. Copyright (c) 2018, Hisilicon Limited. All rights reserved.<BR>
  3. Copyright (c) 2018, Linaro Limited. All rights reserved.<BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef __CPLDD06_H__
  7. #define __CPLDD06_H__
  8. #define CPLD_BASE_ADDRESS 0x80000000
  9. #define CPLD_BIOSINDICATE_FLAG 0x09
  10. #define CPLD_I2C_SWITCH_FLAG 0x17
  11. #define CPU_GET_I2C_CONTROL BIT2
  12. #define BMC_I2C_STATUS BIT3
  13. #define CPLD_LOGIC_VERSION (0x4)
  14. #define CPLD_LOGIC_COMPILE_YEAR (0x1)
  15. #define CPLD_LOGIC_COMPILE_MONTH (0x2)
  16. #define CPLD_LOGIC_COMPILE_DAY (0x3)
  17. #define CPLD_RISER_PRSNT_FLAG 0x40
  18. #define CPU1_RISER_PRESENT BIT6
  19. #define CPU0_RISER_PRESENT BIT7
  20. #define CPLD_RISER2_BOARD_ID 0x44
  21. #define CPLD_X8_X8_X8_BOARD_ID 0x92
  22. #define CPLD_X16_X8_BOARD_ID 0x93
  23. #define CPLD_CLOCK_FLAG 0xFD
  24. #define CPLD_BOM_VER_FLAG 0x0B
  25. #define CPLD_BOARD_REVISION_4TH 0x4
  26. #endif /* __CPLDD06_H__ */