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:
parent
e740818093
commit
6fd168e9a1
49 changed files with 94 additions and 505 deletions
|
@ -4,14 +4,6 @@
|
|||
|
||||
#define DT_CPU_CLOCK_FREQUENCY DT_CADENCE_TENSILICA_XTENSA_LX6_0_CLOCK_FREQUENCY
|
||||
|
||||
#define DT_UART_NS16550_PORT_0_BASE_ADDR DT_NS16550_80800_BASE_ADDRESS
|
||||
#define DT_UART_NS16550_PORT_0_BAUD_RATE DT_NS16550_80800_CURRENT_SPEED
|
||||
#define DT_UART_NS16550_PORT_0_NAME DT_NS16550_80800_LABEL
|
||||
#define DT_UART_NS16550_PORT_0_IRQ DT_NS16550_80800_IRQ_0
|
||||
#define DT_UART_NS16550_PORT_0_IRQ_PRI DT_NS16550_80800_IRQ_0_PRIORITY
|
||||
#define DT_UART_NS16550_PORT_0_IRQ_FLAGS DT_NS16550_80800_IRQ_0_SENSE
|
||||
#define DT_UART_NS16550_PORT_0_CLK_FREQ DT_NS16550_80800_CLOCK_FREQUENCY
|
||||
|
||||
#define DT_L2_SRAM_BASE CONFIG_SRAM_BASE_ADDRESS
|
||||
#define DT_L2_SRAM_SIZE CONFIG_SRAM_SIZE * 1024
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue