Secure96.h 866 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /** @file
  2. Copyright (c) 2018-2019, Linaro, Ltd. All rights reserved.<BR>
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. **/
  5. #include <Base.h>
  6. #ifndef _SECURE96_H_
  7. #define _SECURE96_H_
  8. #define ATSHA204A_SLAVE_ADDRESS 0x60
  9. #define ATSHA204A_DT_NODENAME atsha204a@60
  10. #define ATECC508A_SLAVE_ADDRESS 0x51
  11. #define ATECC508A_DT_NODENAME atecc508a@51
  12. #define INFINEON_SLB9670_DT_NODENAME __CONCATENATE(tpm@,SECURE96_SPI0_CS)
  13. #ifndef SECURE96_SPI0_CS
  14. #define SECURE96_SPI0_CS 0
  15. #endif
  16. #ifndef SECURE96_ACPI_GPIO
  17. #define SECURE96_ACPI_GPIO "\\_SB.GPIO"
  18. #endif
  19. #ifndef SECURE96_ACPI_I2C0
  20. #define SECURE96_ACPI_I2C0 "\\_SB.I2C0"
  21. #endif
  22. #ifndef SECURE96_ACPI_SPI0
  23. #define SECURE96_ACPI_SPI0 "\\_SB.SPI0"
  24. #endif
  25. #endif // _SECURE96_H_