1 /* $NetBSD: atmel-flexcom.h,v 1.1 2017/06/15 20:14:23 jmcneill Exp $ */ 2 3 /* 4 * This header provides macros for Atmel Flexcom DT bindings. 5 * 6 * Copyright (C) 2015 Cyrille Pitchen <cyrille.pitchen (at) atmel.com> 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License version 2 as 10 * published by the Free Software Foundation. 11 * 12 * This program is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License along with 18 * this program. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 21 #ifndef __DT_BINDINGS_ATMEL_FLEXCOM_H__ 22 #define __DT_BINDINGS_ATMEL_FLEXCOM_H__ 23 24 #define ATMEL_FLEXCOM_MODE_USART 1 25 #define ATMEL_FLEXCOM_MODE_SPI 2 26 #define ATMEL_FLEXCOM_MODE_TWI 3 27 28 #endif /* __DT_BINDINGS_ATMEL_FLEXCOM_H__ */ 29