aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/ath25/ar5312.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/ath25/ar5312.c')
-rw-r--r--arch/mips/ath25/ar5312.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/ath25/ar5312.c b/arch/mips/ath25/ar5312.c
index b99a02a9e20e..398d4fd4dd2d 100644
--- a/arch/mips/ath25/ar5312.c
+++ b/arch/mips/ath25/ar5312.c
@@ -265,3 +265,11 @@ void __init ar5312_plat_mem_setup(void)
265 265
266 _machine_restart = ar5312_restart; 266 _machine_restart = ar5312_restart;
267} 267}
268
269void __init ar5312_arch_init(void)
270{
271 unsigned irq = irq_create_mapping(ar5312_misc_irq_domain,
272 AR5312_MISC_IRQ_UART0);
273
274 ath25_serial_setup(AR5312_UART0_BASE, irq, ar5312_sys_frequency());
275}