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