Haavard Skinnemoen | 8dda4e6 | 2007-10-29 13:23:33 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2007 Atmel Corporation |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Haavard Skinnemoen | 8dda4e6 | 2007-10-29 13:23:33 +0100 | [diff] [blame] | 5 | */ |
| 6 | #ifndef __ASM_AVR32_ARCH_CHIP_FEATURES_H__ |
| 7 | #define __ASM_AVR32_ARCH_CHIP_FEATURES_H__ |
| 8 | |
| 9 | /* Currently, all the AP700x chips have these */ |
| 10 | #define AT32AP700x_CHIP_HAS_USART |
| 11 | #define AT32AP700x_CHIP_HAS_MMCI |
Hans-Christian Egtvedt | 9b4381b | 2008-05-16 11:10:32 +0200 | [diff] [blame] | 12 | #define AT32AP700x_CHIP_HAS_SPI |
Haavard Skinnemoen | 8dda4e6 | 2007-10-29 13:23:33 +0100 | [diff] [blame] | 13 | |
| 14 | /* Only AP7000 has ethernet interface */ |
| 15 | #ifdef CONFIG_AT32AP7000 |
| 16 | #define AT32AP700x_CHIP_HAS_MACB |
| 17 | #endif |
| 18 | |
Mark Jackson | c563e48 | 2009-07-21 11:11:37 +0100 | [diff] [blame] | 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 |
| 22 | #endif |
| 23 | |
Haavard Skinnemoen | 8dda4e6 | 2007-10-29 13:23:33 +0100 | [diff] [blame] | 24 | #endif /* __ASM_AVR32_ARCH_CHIP_FEATURES_H__ */ |