blob: 32b069df6f02d6a8373183e70518d6976df25879 [file] [log] [blame]
Bin Meng09661302014-12-12 21:05:25 +08001/*
2 * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef _SMSC_LPC47M_H_
8#define _SMSC_LPC47M_H_
9
10/**
11 * Configure the base I/O port of the specified serial device and enable the
12 * serial device.
13 *
14 * @dev: High 8 bits = Super I/O port, low 8 bits = logical device number.
15 * @iobase: Processor I/O port address to assign to this serial device.
Bin Meng6e0150f2015-03-31 11:25:03 +080016 * @irq: Processor IRQ number to assign to this serial device.
Bin Meng09661302014-12-12 21:05:25 +080017 */
Bin Meng6e0150f2015-03-31 11:25:03 +080018void lpc47m_enable_serial(u16 dev, u16 iobase, u8 irq);
Bin Meng09661302014-12-12 21:05:25 +080019
20#endif /* _SMSC_LPC47M_H_ */