tools/litex_json2dts_linux: Remove duplicated clock definition.

Keep clock definition introduced by 9b67898e99.
This commit is contained in:
Florent Kermarrec 2023-07-17 11:27:07 +02:00
parent 3d101b9749
commit 79a82dc732

View file

@ -246,18 +246,6 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
};
"""
# Clock ----------------------------------------------------------------------------------------
dts += """
clocks {{
sys_clk: litex_sys_clk {{
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <{sys_clk_freq}>;
}};
}};
""".format(sys_clk_freq=d["constants"]["config_clock_frequency"])
# Voltage Regulator for LiteSDCard (if applicable) --------------------------------------------
if "sdcore" in d["csr_bases"]:
dts += """