From 991198ec2ee119c405a21376cb9a47088655edf6 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 27 Feb 2023 09:13:45 +0100 Subject: [PATCH] tools/litex_json2dts_linux: Only generate lintc0 for rocket for now. --- litex/tools/litex_json2dts_linux.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex/tools/litex_json2dts_linux.py b/litex/tools/litex_json2dts_linux.py index 628c24184..3d8fbe9cc 100755 --- a/litex/tools/litex_json2dts_linux.py +++ b/litex/tools/litex_json2dts_linux.py @@ -282,7 +282,8 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic # Interrupt Controller ------------------------------------------------------------------------- - if cpu_arch == "riscv": + if (cpu_arch == "riscv") and ("rocket" in cpu_name): + # FIXME : L4 definitiion? # CHECKME: interrupts-extended. dts += """ lintc0: clint@{clint_base:x} {{