18343284dSCyrille Pitchen /* 28343284dSCyrille Pitchen * This header provides macros for Atmel Flexcom DT bindings. 38343284dSCyrille Pitchen * 48343284dSCyrille Pitchen * Copyright (C) 2015 Cyrille Pitchen <cyrille.pitchen@atmel.com> 58343284dSCyrille Pitchen * 68343284dSCyrille Pitchen * This program is free software; you can redistribute it and/or modify 78343284dSCyrille Pitchen * it under the terms of the GNU General Public License version 2 as 88343284dSCyrille Pitchen * published by the Free Software Foundation. 98343284dSCyrille Pitchen * 108343284dSCyrille Pitchen * This program is distributed in the hope that it will be useful, but 118343284dSCyrille Pitchen * WITHOUT ANY WARRANTY; without even the implied warranty of 128343284dSCyrille Pitchen * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 138343284dSCyrille Pitchen * General Public License for more details. 148343284dSCyrille Pitchen * 158343284dSCyrille Pitchen * You should have received a copy of the GNU General Public License along with 168343284dSCyrille Pitchen * this program. If not, see <http://www.gnu.org/licenses/>. 178343284dSCyrille Pitchen */ 188343284dSCyrille Pitchen 198343284dSCyrille Pitchen #ifndef __DT_BINDINGS_ATMEL_FLEXCOM_H__ 208343284dSCyrille Pitchen #define __DT_BINDINGS_ATMEL_FLEXCOM_H__ 218343284dSCyrille Pitchen 228343284dSCyrille Pitchen #define ATMEL_FLEXCOM_MODE_USART 1 238343284dSCyrille Pitchen #define ATMEL_FLEXCOM_MODE_SPI 2 248343284dSCyrille Pitchen #define ATMEL_FLEXCOM_MODE_TWI 3 258343284dSCyrille Pitchen 268343284dSCyrille Pitchen #endif /* __DT_BINDINGS_ATMEL_FLEXCOM_H__ */ 27