diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2016-02-09 16:42:32 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2016-02-09 16:42:32 +0000 |
commit | 2668945977725526727c9f3f708dc4d887e0e7a9 (patch) | |
tree | 3b67a8f5c0379867e6c1b993042b521e034c4474 /sys/gnu/dts/include/dt-bindings/mfd/atmel-flexcom.h | |
parent | db57c70a5ba095725106b724f727ce74eef7e681 (diff) | |
parent | 235ad806ee815395bce54dc1b0ce1c06cd29b44a (diff) | |
download | src-test2-2668945977725526727c9f3f708dc4d887e0e7a9.tar.gz src-test2-2668945977725526727c9f3f708dc4d887e0e7a9.zip |
Notes
Diffstat (limited to 'sys/gnu/dts/include/dt-bindings/mfd/atmel-flexcom.h')
-rw-r--r-- | sys/gnu/dts/include/dt-bindings/mfd/atmel-flexcom.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sys/gnu/dts/include/dt-bindings/mfd/atmel-flexcom.h b/sys/gnu/dts/include/dt-bindings/mfd/atmel-flexcom.h new file mode 100644 index 000000000000..a266fe4ee945 --- /dev/null +++ b/sys/gnu/dts/include/dt-bindings/mfd/atmel-flexcom.h @@ -0,0 +1,26 @@ +/* + * This header provides macros for Atmel Flexcom DT bindings. + * + * Copyright (C) 2015 Cyrille Pitchen <cyrille.pitchen@atmel.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with + * this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __DT_BINDINGS_ATMEL_FLEXCOM_H__ +#define __DT_BINDINGS_ATMEL_FLEXCOM_H__ + +#define ATMEL_FLEXCOM_MODE_USART 1 +#define ATMEL_FLEXCOM_MODE_SPI 2 +#define ATMEL_FLEXCOM_MODE_TWI 3 + +#endif /* __DT_BINDINGS_ATMEL_FLEXCOM_H__ */ |