chip-features.h 645 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (C) 2007 Atmel Corporation
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. #ifndef __ASM_AVR32_ARCH_CHIP_FEATURES_H__
  7. #define __ASM_AVR32_ARCH_CHIP_FEATURES_H__
  8. /* Currently, all the AP700x chips have these */
  9. #define AT32AP700x_CHIP_HAS_USART
  10. #define AT32AP700x_CHIP_HAS_MMCI
  11. #define AT32AP700x_CHIP_HAS_SPI
  12. /* Only AP7000 has ethernet interface */
  13. #ifdef CONFIG_AT32AP7000
  14. #define AT32AP700x_CHIP_HAS_MACB
  15. #endif
  16. /* AP7000 and AP7002 have LCD controller, but AP7001 does not */
  17. #if defined(CONFIG_AT32AP7000) || defined(CONFIG_AT32AP7002)
  18. #define AT32AP700x_CHIP_HAS_LCDC
  19. #endif
  20. #endif /* __ASM_AVR32_ARCH_CHIP_FEATURES_H__ */