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.
This commit is contained in:
Romain Dolbeau 2021-04-11 10:33:43 +02:00
parent 15cf4d75e9
commit f310dd52f3
1 changed files with 1 additions and 1 deletions

View File

@ -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"])