blob: 822286df5f25a269a7ada277d6e0fc22c0e10a2f [file] [log] [blame]
Haavard Skinnemoen8dda4e62007-10-29 13:23:33 +01001/*
2 * Copyright (C) 2007 Atmel Corporation
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Haavard Skinnemoen8dda4e62007-10-29 13:23:33 +01005 */
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 Egtvedt9b4381b2008-05-16 11:10:32 +020012#define AT32AP700x_CHIP_HAS_SPI
Haavard Skinnemoen8dda4e62007-10-29 13:23:33 +010013
14/* Only AP7000 has ethernet interface */
15#ifdef CONFIG_AT32AP7000
16#define AT32AP700x_CHIP_HAS_MACB
17#endif
18
Mark Jacksonc563e482009-07-21 11:11:37 +010019/* 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 Skinnemoen8dda4e62007-10-29 13:23:33 +010024#endif /* __ASM_AVR32_ARCH_CHIP_FEATURES_H__ */