|
@@ -5,6 +5,7 @@
|
|
|
#define __ASM_ARCH_BOARD_H
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
+#include <linux/serial.h>
|
|
|
|
|
|
#define GPIO_PIN_NONE (-1)
|
|
|
|
|
@@ -35,6 +36,7 @@ struct atmel_uart_data {
|
|
|
short use_dma_tx; /* use transmit DMA? */
|
|
|
short use_dma_rx; /* use receive DMA? */
|
|
|
void __iomem *regs; /* virtual base address, if any */
|
|
|
+ struct serial_rs485 rs485; /* rs485 settings */
|
|
|
};
|
|
|
void at32_map_usart(unsigned int hw_id, unsigned int line, int flags);
|
|
|
struct platform_device *at32_add_device_usart(unsigned int id);
|