summaryrefslogtreecommitdiff
path: root/core/include/drivers/amlogic_uart.h
blob: 97b55f226b0cda0de36fde5b19474b166d81fb3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: BSD-2-Clause */

#ifndef AMLOGIC_UART_H
#define AMLOGIC_UART_H

#include <types_ext.h>
#include <drivers/serial.h>

struct amlogic_uart_data {
	struct io_pa_va base;
	struct serial_chip chip;
};

void amlogic_uart_init(struct amlogic_uart_data *pd, paddr_t base);

#endif /* AMLOGIC_UART_H */