MIPS: ath25: add UART support

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: Linux MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/8242/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Sergey Ryazanov
2014-10-29 03:18:43 +04:00
committed by Ralf Baechle
父節點 8aaa7278c0
當前提交 1ac91b1f68
共有 6 個文件被更改,包括 53 次插入0 次删除

查看文件

@@ -265,3 +265,11 @@ void __init ar5312_plat_mem_setup(void)
_machine_restart = ar5312_restart;
}
void __init ar5312_arch_init(void)
{
unsigned irq = irq_create_mapping(ar5312_misc_irq_domain,
AR5312_MISC_IRQ_UART0);
ath25_serial_setup(AR5312_UART0_BASE, irq, ar5312_sys_frequency());
}