summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorangelo@sysam.it <angelo@sysam.it>2016-04-27 21:51:13 +0200
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commite27802af54c2ff2d4d58e4bc217644b75c04ac4c (patch)
tree42423d259b2a2a2cec6ea2be57dde397174ddf25 /include/dm
parent5044c9cc6c4dffb2959769a785663f46cb418461 (diff)
m68k: add DM model serial driver
Boards can now use DM serial driver, or still legacy mcf uart driver version. Signed-off-by: Angelo Dureghello <angelo@sysam.it> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/platform_data/serial_coldfire.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/dm/platform_data/serial_coldfire.h b/include/dm/platform_data/serial_coldfire.h
new file mode 100644
index 0000000000..5d86456f1e
--- /dev/null
+++ b/include/dm/platform_data/serial_coldfire.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (c) 2015 Angelo Dureghello <angelo@sysam.it>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __serial_coldfire_h
+#define __serial_coldfire_h
+
+/*
+ * struct coldfire_serial_platdata - information about a coldfire port
+ *
+ * @base: Uart port base register address
+ * @port: Uart port index, for cpu with pinmux for uart / gpio
+ * baudrtatre: Uart port baudrate
+ */
+struct coldfire_serial_platdata {
+ unsigned long base;
+ int port;
+ int baudrate;
+};
+
+#endif /* __serial_coldfire_h */