From eb67197a462ca42e7e9cc513bd9d6aa73d309486 Mon Sep 17 00:00:00 2001 From: Andrew Dennison Date: Thu, 14 Oct 2021 08:52:04 +1100 Subject: [PATCH] tools/linux: fix dts warning: missing #address-cells --- litex/tools/litex_json2dts_linux.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/tools/litex_json2dts_linux.py b/litex/tools/litex_json2dts_linux.py index c94c8d8ee..7d0f1ccc7 100755 --- a/litex/tools/litex_json2dts_linux.py +++ b/litex/tools/litex_json2dts_linux.py @@ -175,6 +175,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic {cache_desc} {tlb_desc} L{irq}: interrupt-controller {{ + #address-cells = <0>; #interrupt-cells = <0x00000001>; interrupt-controller; compatible = "riscv,cpu-intc";