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>
This commit is contained in:
Vikas Manocha
2016-02-11 15:47:19 -08:00
committed by Tom Rini
parent 09959ba3c5
commit 6a12cebd90
4 changed files with 138 additions and 0 deletions

View File

@@ -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 */