Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63ea336b authored by Manuel Lauss's avatar Manuel Lauss Committed by Ralf Baechle
Browse files

MIPS: Alchemy: UARTs are of type 16550A



UART autodetection breaks on the Au1300 but the IP blocks are identical,
at least according to the datasheets.  Help the 8250 driver by passing
on uart type information via platform data.

Signed-off-by: default avatarManuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent c55736af
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -26,7 +26,9 @@
		.irq		= _irq,				\
		.irq		= _irq,				\
		.regshift	= 2,				\
		.regshift	= 2,				\
		.iotype		= UPIO_AU,			\
		.iotype		= UPIO_AU,			\
		.flags		= UPF_SKIP_TEST | UPF_IOREMAP	\
		.flags		= UPF_SKIP_TEST | UPF_IOREMAP |	\
				  UPF_FIXED_TYPE,		\
		.type		= PORT_16550A,			\
	}
	}


static struct plat_serial8250_port au1x00_uart_data[] = {
static struct plat_serial8250_port au1x00_uart_data[] = {