1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 3 #ifndef AMLOGIC_UART_H 4 #define AMLOGIC_UART_H 5 6 #include <types_ext.h> 7 #include <drivers/serial.h> 8 9 struct amlogic_uart_data { 10 struct io_pa_va base; 11 struct serial_chip chip; 12 }; 13 14 void amlogic_uart_init(struct amlogic_uart_data *pd, paddr_t base); 15 16 #endif /* AMLOGIC_UART_H */ 17