xref: /rk3399_rockchip-uboot/include/smsc_lpc47m.h (revision a2927e09bccca5b665709d77fc54919292d4bcb7)
1*a2927e09SBin Meng /*
2*a2927e09SBin Meng  * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
3*a2927e09SBin Meng  *
4*a2927e09SBin Meng  * SPDX-License-Identifier:	GPL-2.0+
5*a2927e09SBin Meng  */
6*a2927e09SBin Meng 
7*a2927e09SBin Meng #ifndef _SMSC_LPC47M_H_
8*a2927e09SBin Meng #define _SMSC_LPC47M_H_
9*a2927e09SBin Meng 
10*a2927e09SBin Meng /**
11*a2927e09SBin Meng  * Configure the base I/O port of the specified serial device and enable the
12*a2927e09SBin Meng  * serial device.
13*a2927e09SBin Meng  *
14*a2927e09SBin Meng  * @dev: High 8 bits = Super I/O port, low 8 bits = logical device number.
15*a2927e09SBin Meng  * @iobase: Processor I/O port address to assign to this serial device.
16*a2927e09SBin Meng  */
17*a2927e09SBin Meng void lpc47m_enable_serial(u16 dev, u16 iobase);
18*a2927e09SBin Meng 
19*a2927e09SBin Meng #endif /* _SMSC_LPC47M_H_ */
20