--- zzzz-none-000/linux-4.1.38/drivers/tty/serial/amba-pl011.c 2017-01-18 18:48:06.000000000 +0000 +++ bcm63-7582-715/linux-4.1.38/drivers/tty/serial/amba-pl011.c 2020-11-25 10:06:48.000000000 +0000 @@ -1886,8 +1886,13 @@ quot -= 2; } /* Set baud rate */ +#if defined(CONFIG_BCM_KF_ARM_BCM963XX) && defined(CONFIG_BCM63138_SIM) + writew(0, port->membase + UART011_FBRD); + writew(1, port->membase + UART011_IBRD); +#else writew(quot & 0x3f, port->membase + UART011_FBRD); writew(quot >> 6, port->membase + UART011_IBRD); +#endif /* * ----------v----------v----------v----------v-----