From 6a12cebd90a752b0214a65b152703ca63a941478 Mon Sep 17 00:00:00 2001 From: Vikas Manocha Date: Thu, 11 Feb 2016 15:47:19 -0800 Subject: stm32x7: add support for stm32x7 serial driver This patch adds support for stm32f7 family usart peripheral. Signed-off-by: Vikas Manocha Reviewed-by: Simon Glass --- include/dm/platform_data/serial_stm32x7.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/dm/platform_data/serial_stm32x7.h (limited to 'include/dm') diff --git a/include/dm/platform_data/serial_stm32x7.h b/include/dm/platform_data/serial_stm32x7.h new file mode 100644 index 0000000000..328a8a3ff2 --- /dev/null +++ b/include/dm/platform_data/serial_stm32x7.h @@ -0,0 +1,17 @@ +/* + * (C) Copyright 2016 + * Vikas Manocha, + * + * 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 */ -- cgit v1.2.1