summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorVikas Manocha <vikas.manocha@st.com>2016-02-11 15:47:19 -0800
committerTom Rini <trini@konsulko.com>2016-02-24 18:43:54 -0500
commit6a12cebd90a752b0214a65b152703ca63a941478 (patch)
tree2ea29850ad03b15d7f0908294941ad57951ff844 /include/dm
parent09959ba3c5f0f56bed4b3ab008f9e159e1b28cd9 (diff)
downloadu-boot-imx-6a12cebd90a752b0214a65b152703ca63a941478.zip
u-boot-imx-6a12cebd90a752b0214a65b152703ca63a941478.tar.gz
u-boot-imx-6a12cebd90a752b0214a65b152703ca63a941478.tar.bz2
stm32x7: add support for stm32x7 serial driver
This patch adds support for stm32f7 family usart peripheral. Signed-off-by: Vikas Manocha <vikas.manocha@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/platform_data/serial_stm32x7.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/dm/platform_data/serial_stm32x7.h b/include/dm/platform_data/serial_stm32x7.h
new file mode 100644
index 0000000..328a8a3
--- /dev/null
+++ b/include/dm/platform_data/serial_stm32x7.h
@@ -0,0 +1,17 @@
+/*
+ * (C) Copyright 2016
+ * Vikas Manocha, <vikas.manocha@st.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __SERIAL_STM32x7_H
+#define __SERIAL_STM32x7_H
+
+/* Information about a serial port */
+struct stm32x7_serial_platdata {
+ struct stm32_usart *base; /* address of registers in physical memory */
+ unsigned int clock;
+};
+
+#endif /* __SERIAL_STM32x7_H */