Go to the documentation of this file.
4 #ifndef __ASM_ARCH_BOARD_H
5 #define __ASM_ARCH_BOARD_H
7 #include <linux/types.h>
8 #include <linux/serial.h>
12 #define GPIO_PIN_NONE (-1)
24 static inline void __deprecated at32_add_system_devices(
void)
29 #define ATMEL_MAX_UART 4
33 #define ATMEL_USART_RTS 0x01
34 #define ATMEL_USART_CTS 0x02
35 #define ATMEL_USART_CLK 0x04
76 #define ATMEL_SSC_TK 0x01
77 #define ATMEL_SSC_TF 0x02
78 #define ATMEL_SSC_TD 0x04
79 #define ATMEL_SSC_TX (ATMEL_SSC_TK | ATMEL_SSC_TF | ATMEL_SSC_TD)
81 #define ATMEL_SSC_RK 0x10
82 #define ATMEL_SSC_RF 0x20
83 #define ATMEL_SSC_RD 0x40
84 #define ATMEL_SSC_RX (ATMEL_SSC_RK | ATMEL_SSC_RF | ATMEL_SSC_RD)