xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/mfd/at91-usart.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * This header provides macros for AT91 USART DT bindings.
4*c66ec88fSEmmanuel Vadot  *
5*c66ec88fSEmmanuel Vadot  * Copyright (C) 2018 Microchip Technology
6*c66ec88fSEmmanuel Vadot  *
7*c66ec88fSEmmanuel Vadot  * Author: Radu Pirea <radu.pirea@microchip.com>
8*c66ec88fSEmmanuel Vadot  *
9*c66ec88fSEmmanuel Vadot  */
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_AT91_USART_H__
12*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_AT91_USART_H__
13*c66ec88fSEmmanuel Vadot 
14*c66ec88fSEmmanuel Vadot #define AT91_USART_MODE_SERIAL	0
15*c66ec88fSEmmanuel Vadot #define AT91_USART_MODE_SPI	1
16*c66ec88fSEmmanuel Vadot 
17*c66ec88fSEmmanuel Vadot #endif /* __DT_BINDINGS_AT91_USART_H__ */
18