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:
17
include/dm/platform_data/serial_stm32x7.h
Normal file
17
include/dm/platform_data/serial_stm32x7.h
Normal 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 */
|
||||
Reference in New Issue
Block a user