From f310dd52f38cd56c39a2902233f9d5d796dc4160 Mon Sep 17 00:00:00 2001 From: Romain Dolbeau Date: Sun, 11 Apr 2021 10:33:43 +0200 Subject: [PATCH] Fix interrupt issue with ethernet on recent Linux-On-Litex-Vexriscv/SMP It seems an overreaching 'interrupt-parent' caused trouble to interrupt routing. This moves 'interrupt-parent' to the SoC entry. --- litex/tools/litex_json2dts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/tools/litex_json2dts.py b/litex/tools/litex_json2dts.py index bb68e0f4f..716d227ac 100755 --- a/litex/tools/litex_json2dts.py +++ b/litex/tools/litex_json2dts.py @@ -28,7 +28,6 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False): / { #address-cells = <1>; #size-cells = <1>; - interrupt-parent = <&intc0>; """ @@ -151,6 +150,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False): #size-cells = <1>; bus-frequency = <{sys_clk_freq}>; compatible = "simple-bus"; + interrupt-parent = <&intc0>; ranges; """.format(sys_clk_freq=d["constants"]["config_clock_frequency"])