]> git.baikalelectronics.ru Git - uboot.git/commitdiff
dt-bindings: mfd: add at91-usart.h from Linux
authorEugen Hristev <eugen.hristev@microchip.com>
Fri, 25 Nov 2022 07:54:51 +0000 (09:54 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 20 Dec 2022 09:59:07 +0000 (11:59 +0200)
Copy include file dt-bindings/mfd/at91-usart.h from Linux

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
include/dt-bindings/mfd/at91-usart.h [new file with mode: 0644]

diff --git a/include/dt-bindings/mfd/at91-usart.h b/include/dt-bindings/mfd/at91-usart.h
new file mode 100644 (file)
index 0000000..2de5bc3
--- /dev/null
@@ -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__ */