mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
tools/litex_json2dts_linux: Remove duplicated clock definition.
Keep clock definition introduced by 9b67898e99
.
This commit is contained in:
parent
3d101b9749
commit
79a82dc732
1 changed files with 0 additions and 12 deletions
|
@ -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) --------------------------------------------
|
# Voltage Regulator for LiteSDCard (if applicable) --------------------------------------------
|
||||||
if "sdcore" in d["csr_bases"]:
|
if "sdcore" in d["csr_bases"]:
|
||||||
dts += """
|
dts += """
|
||||||
|
|
Loading…
Reference in a new issue