Lines Matching +full:imx21 +full:- +full:uart
1 // SPDX-License-Identifier: GPL-2.0+
17 #define IMX21_UTS 0xb4 /* UART Test Register on all other i.mx*/
21 while (readl_relaxed(port->membase + IMX21_UTS) & UTS_TXFULL) in imx_uart_console_early_putchar()
24 writel_relaxed(ch, port->membase + URTX0); in imx_uart_console_early_putchar()
30 struct earlycon_device *dev = con->data; in imx_uart_console_early_write()
32 uart_console_write(&dev->port, s, count, imx_uart_console_early_putchar); in imx_uart_console_early_write()
38 if (!dev->port.membase) in imx_console_early_setup()
39 return -ENODEV; in imx_console_early_setup()
41 dev->con->write = imx_uart_console_early_write; in imx_console_early_setup()
45 OF_EARLYCON_DECLARE(ec_imx6q, "fsl,imx6q-uart", imx_console_early_setup);
46 OF_EARLYCON_DECLARE(ec_imx21, "fsl,imx21-uart", imx_console_early_setup);