diff --git a/litex/tools/litex_json2dts.py b/litex/tools/litex_json2dts.py index 68f07d3a1..e9bb56c33 100755 --- a/litex/tools/litex_json2dts.py +++ b/litex/tools/litex_json2dts.py @@ -72,7 +72,7 @@ def generate_dts(d): compatible = "riscv"; riscv,isa = "rv32ima"; mmu-type = "riscv,sv32"; - reg = <0>; + reg = <{cpu}>; status = "okay"; L{irq}: interrupt-controller {{ #interrupt-cells = <0x00000001>;