atmel-flexcom.h revision 295011
1295011Sandrew/* 2295011Sandrew * This header provides macros for Atmel Flexcom DT bindings. 3295011Sandrew * 4295011Sandrew * Copyright (C) 2015 Cyrille Pitchen <cyrille.pitchen@atmel.com> 5295011Sandrew * 6295011Sandrew * This program is free software; you can redistribute it and/or modify 7295011Sandrew * it under the terms of the GNU General Public License version 2 as 8295011Sandrew * published by the Free Software Foundation. 9295011Sandrew * 10295011Sandrew * This program is distributed in the hope that it will be useful, but 11295011Sandrew * WITHOUT ANY WARRANTY; without even the implied warranty of 12295011Sandrew * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13295011Sandrew * General Public License for more details. 14295011Sandrew * 15295011Sandrew * You should have received a copy of the GNU General Public License along with 16295011Sandrew * this program. If not, see <http://www.gnu.org/licenses/>. 17295011Sandrew */ 18295011Sandrew 19295011Sandrew#ifndef __DT_BINDINGS_ATMEL_FLEXCOM_H__ 20295011Sandrew#define __DT_BINDINGS_ATMEL_FLEXCOM_H__ 21295011Sandrew 22295011Sandrew#define ATMEL_FLEXCOM_MODE_USART 1 23295011Sandrew#define ATMEL_FLEXCOM_MODE_SPI 2 24295011Sandrew#define ATMEL_FLEXCOM_MODE_TWI 3 25295011Sandrew 26295011Sandrew#endif /* __DT_BINDINGS_ATMEL_FLEXCOM_H__ */ 27