driver: uart: ns16550: convert to DT_INST_*

Change to code to use the automatically generated DT_INST_*
defines and remove the now unneeded configs and fixups.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
This commit is contained in:
Timo Teräs 2020-03-09 16:37:20 +02:00 committed by Andrew Boie
commit 6fd168e9a1
49 changed files with 94 additions and 505 deletions

View file

@ -10,7 +10,7 @@
/* Super-primitive 8250/16550 serial output-only driver, 115200 8n1 */
#define PORT ((io_port_t)DT_UART_NS16550_PORT_0_BASE_ADDR)
#define PORT ((io_port_t)DT_INST_0_NS16550_BASE_ADDRESS)
#define REG_IER 0x01 /* Interrupt enable reg. */
#define REG_LCR 0x03 /* Line control reg. */