]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/avr32/include/asm/arch-at32ap700x/chip-features.h
karo: fdt: fix panel-dpi support
[karo-tx-uboot.git] / arch / avr32 / include / asm / arch-at32ap700x / chip-features.h
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
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
13
14 /* Only AP7000 has ethernet interface */
15 #ifdef CONFIG_AT32AP7000
16 #define AT32AP700x_CHIP_HAS_MACB
17 #endif
18
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
24 #endif /* __ASM_AVR32_ARCH_CHIP_FEATURES_H__ */