Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lopper/assists/gen_domain_dts.py
Original file line number Diff line number Diff line change
Expand Up @@ -1223,6 +1223,11 @@ def xlnx_remove_unsupported_nodes(tgt_node, sdt, machine, options=None):
node["#size-cells"] = LopperProp("#size-cells")
node["#size-cells"].value = 0
node.add(node["#size-cells"])

if node.propval("xlnx,clock-freq") != ['']:
node + LopperProp(name="clock-frequency",
value=node["xlnx,clock-freq"].value)

# SPIPS
if "cdns,spi-r1p6" in node["compatible"].value:
node["compatible"] = "cdns,spi"
Expand Down
1 change: 1 addition & 0 deletions lopper/assists/zephyr_supported_comp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ xlnx,versal-ospi-1.0:
- cdns,fifo-width
- '#address-cells'
- '#size-cells'
- clock-frequency

cdns,spi-r1p6:
required:
Expand Down
Loading