serial: stm32x7: migrate serial struct to driver
[oweals/u-boot.git] / drivers / serial / serial_stm32x7.h
index facfdbabe89000808e16a4ea1c170fd11374eed3..42b05f14b52a682163ad1c28a379adc787a40b4d 100644 (file)
@@ -22,6 +22,11 @@ struct stm32_usart {
        u32 tx_dr;
 };
 
+/* Information about a serial port */
+struct stm32x7_serial_platdata {
+       struct stm32_usart *base;  /* address of registers in physical memory */
+       unsigned int clock;
+};
 
 #define USART_CR1_OVER8                        (1 << 15)
 #define USART_CR1_TE                   (1 << 3)