xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/mfd/atmel-flexcom.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * This header provides macros for Atmel Flexcom DT bindings.
4*c66ec88fSEmmanuel Vadot  *
5*c66ec88fSEmmanuel Vadot  * Copyright (C) 2015 Cyrille Pitchen <cyrille.pitchen@atmel.com>
6*c66ec88fSEmmanuel Vadot  */
7*c66ec88fSEmmanuel Vadot 
8*c66ec88fSEmmanuel Vadot #ifndef __DT_BINDINGS_ATMEL_FLEXCOM_H__
9*c66ec88fSEmmanuel Vadot #define __DT_BINDINGS_ATMEL_FLEXCOM_H__
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot #define ATMEL_FLEXCOM_MODE_USART	1
12*c66ec88fSEmmanuel Vadot #define ATMEL_FLEXCOM_MODE_SPI		2
13*c66ec88fSEmmanuel Vadot #define ATMEL_FLEXCOM_MODE_TWI		3
14*c66ec88fSEmmanuel Vadot 
15*c66ec88fSEmmanuel Vadot #endif /* __DT_BINDINGS_ATMEL_FLEXCOM_H__ */
16