Skip to content

Commit

Permalink
dts: bindings: litex: rename uart compatible
Browse files Browse the repository at this point in the history
Zero got removed from the litex
uart compatible, as it now supports
multiple instances.

Signed-off-by: Fin Maaß <[email protected]>
  • Loading branch information
maass-hamburg authored and nashif committed Aug 2, 2024
1 parent 9b6d783 commit 7869e05
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion drivers/serial/Kconfig.litex
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
config UART_LITEX
bool "LiteX serial driver"
default y
depends on DT_HAS_LITEX_UART0_ENABLED
depends on DT_HAS_LITEX_UART_ENABLED
select SERIAL_HAS_DRIVER
select SERIAL_SUPPORT_INTERRUPT
help
Expand Down
2 changes: 1 addition & 1 deletion drivers/serial/uart_litex.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

#define DT_DRV_COMPAT litex_uart0
#define DT_DRV_COMPAT litex_uart

#include <zephyr/kernel.h>
#include <zephyr/arch/cpu.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

description: LiteX UART

compatible: "litex,uart0"
compatible: "litex,uart"

include: uart-controller.yaml

Expand Down
2 changes: 1 addition & 1 deletion dts/riscv/riscv32-litex-vexriscv.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
riscv,max-priority = <7>;
};
uart0: serial@e0001800 {
compatible = "litex,uart0";
compatible = "litex,uart";
interrupt-parent = <&intc0>;
interrupts = <2 10>;
reg = <0xe0001800 0x4
Expand Down

0 comments on commit 7869e05

Please sign in to comment.