aboutsummaryrefslogtreecommitdiff
path: root/include/dt-bindings/mfd/at91-usart.h
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2019-01-11 05:27:30 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2019-01-11 05:27:30 +0000
commita31d1ff13cd8d70944a6446c0e2478d7f25b53e7 (patch)
tree95e0f475d5a1ebb20845d0809fdc2d15875b2ea9 /include/dt-bindings/mfd/at91-usart.h
parent0bf7de3125ed8dcfbeaa112994b25101fa9b96c6 (diff)
downloadsrc-456d0ab2554e80db1a30f2a3a2ce4c3a6329dcf9.tar.gz
src-456d0ab2554e80db1a30f2a3a2ce4c3a6329dcf9.zip
Import DTS files from Linux 4.20vendor/device-tree/4.20
Diffstat (limited to 'include/dt-bindings/mfd/at91-usart.h')
-rw-r--r--include/dt-bindings/mfd/at91-usart.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/at91-usart.h b/include/dt-bindings/mfd/at91-usart.h
new file mode 100644
index 000000000000..2de5bc312e1e
--- /dev/null
+++ b/include/dt-bindings/mfd/at91-usart.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * This header provides macros for AT91 USART DT bindings.
+ *
+ * Copyright (C) 2018 Microchip Technology
+ *
+ * Author: Radu Pirea <radu.pirea@microchip.com>
+ *
+ */
+
+#ifndef __DT_BINDINGS_AT91_USART_H__
+#define __DT_BINDINGS_AT91_USART_H__
+
+#define AT91_USART_MODE_SERIAL 0
+#define AT91_USART_MODE_SPI 1
+
+#endif /* __DT_BINDINGS_AT91_USART_H__ */