diff options
Diffstat (limited to 'arch/arm/mach-sa1100/assabet.c')
-rw-r--r-- | arch/arm/mach-sa1100/assabet.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/arch/arm/mach-sa1100/assabet.c b/arch/arm/mach-sa1100/assabet.c index d22c5b7ff74b..30723da9712a 100644 --- a/arch/arm/mach-sa1100/assabet.c +++ b/arch/arm/mach-sa1100/assabet.c @@ -536,6 +536,7 @@ static const struct gpio_keys_platform_data assabet_keys_pdata = { static struct gpiod_lookup_table assabet_uart1_gpio_table = { .dev_id = "sa11x0-uart.1", .table = { + GPIO_LOOKUP("assabet", 12, "xcvr-enable", GPIO_ACTIVE_HIGH), GPIO_LOOKUP("assabet", 16, "dtr", GPIO_ACTIVE_LOW), GPIO_LOOKUP("assabet", 17, "rts", GPIO_ACTIVE_LOW), GPIO_LOOKUP("assabet", 25, "dcd", GPIO_ACTIVE_LOW), @@ -711,20 +712,6 @@ fixup_assabet(struct tag *tags, char **cmdline) } -static void assabet_uart_pm(struct uart_port *port, u_int state, u_int oldstate) -{ - if (port->mapbase == _Ser1UTCR0) { - if (state) - ASSABET_BCR_clear(ASSABET_BCR_RS232EN); - else - ASSABET_BCR_set(ASSABET_BCR_RS232EN); - } -} - -static const struct sa1100_port_fns assabet_port_fns __initconst = { - .pm = assabet_uart_pm, -}; - static struct map_desc assabet_io_desc[] __initdata = { { /* Board Control Register */ .virtual = ASSABET_BCR_BASE, @@ -756,9 +743,6 @@ static void __init assabet_map_io(void) MSC_RdAcc(2) | MSC_WrAcc(2) | MSC_Rec(0) ); - if (!machine_has_neponset()) - sa1100_register_uart_fns(&assabet_port_fns); - /* * When Neponset is attached, the first UART should be * UART3. That's what Angel is doing and many documents |