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:
parent
15cf4d75e9
commit
f310dd52f3
|
@ -28,7 +28,6 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False):
|
||||||
/ {
|
/ {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-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>;
|
#size-cells = <1>;
|
||||||
bus-frequency = <{sys_clk_freq}>;
|
bus-frequency = <{sys_clk_freq}>;
|
||||||
compatible = "simple-bus";
|
compatible = "simple-bus";
|
||||||
|
interrupt-parent = <&intc0>;
|
||||||
ranges;
|
ranges;
|
||||||
""".format(sys_clk_freq=d["constants"]["config_clock_frequency"])
|
""".format(sys_clk_freq=d["constants"]["config_clock_frequency"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue