i.MX51: add support for UART3
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5f97fbb3bc
commit
4f600789c5
|
@ -37,6 +37,11 @@ static inline struct device_d *imx51_add_uart1(void)
|
|||
return imx_add_uart((void *)MX51_UART2_BASE_ADDR, 1);
|
||||
}
|
||||
|
||||
static inline struct device_d *imx51_add_uart2(void)
|
||||
{
|
||||
return imx_add_uart((void *)MX51_UART3_BASE_ADDR, 2);
|
||||
}
|
||||
|
||||
static inline struct device_d *imx51_add_fec(struct fec_platform_data *pdata)
|
||||
{
|
||||
return imx_add_fec((void *)MX51_MXC_FEC_BASE_ADDR, pdata);
|
||||
|
|
Loading…
Reference in New Issue