dts: bindings: litex: rename uart compatible

Zero got removed from the litex
uart compatible, as it now supports
multiple instances.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
Fin Maaß 2024-08-01 10:14:09 +02:00 committed by Anas Nashif
commit 7869e05649
4 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
config UART_LITEX config UART_LITEX
bool "LiteX serial driver" bool "LiteX serial driver"
default y default y
depends on DT_HAS_LITEX_UART0_ENABLED depends on DT_HAS_LITEX_UART_ENABLED
select SERIAL_HAS_DRIVER select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT select SERIAL_SUPPORT_INTERRUPT
help help

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#define DT_DRV_COMPAT litex_uart0 #define DT_DRV_COMPAT litex_uart
#include <zephyr/kernel.h> #include <zephyr/kernel.h>
#include <zephyr/arch/cpu.h> #include <zephyr/arch/cpu.h>

View file

@ -3,7 +3,7 @@
description: LiteX UART description: LiteX UART
compatible: "litex,uart0" compatible: "litex,uart"
include: uart-controller.yaml include: uart-controller.yaml

View file

@ -53,7 +53,7 @@
riscv,max-priority = <7>; riscv,max-priority = <7>;
}; };
uart0: serial@e0001800 { uart0: serial@e0001800 {
compatible = "litex,uart0"; compatible = "litex,uart";
interrupt-parent = <&intc0>; interrupt-parent = <&intc0>;
interrupts = <2 10>; interrupts = <2 10>;
reg = <0xe0001800 0x4 reg = <0xe0001800 0x4