tools/litex_json2dts: Group tuples in liteeth reg property
To improve human readability and enable automatic validation, the tuples in "reg" properties should be grouped using angle brackets. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
parent
a17b535906
commit
d8b844bbda
|
@ -183,9 +183,9 @@ def generate_dts(d):
|
|||
dts += """
|
||||
mac0: mac@{ethmac_csr_base:x} {{
|
||||
compatible = "litex,liteeth";
|
||||
reg = <0x{ethmac_csr_base:x} 0x7c
|
||||
0x{ethphy_csr_base:x} 0x0a
|
||||
0x{ethmac_mem_base:x} 0x2000>;
|
||||
reg = <0x{ethmac_csr_base:x} 0x7c>,
|
||||
<0x{ethphy_csr_base:x} 0x0a>,
|
||||
<0x{ethmac_mem_base:x} 0x2000>;
|
||||
tx-fifo-depth = <{ethmac_tx_slots}>;
|
||||
rx-fifo-depth = <{ethmac_rx_slots}>;
|
||||
}};
|
||||
|
|
Loading…
Reference in New Issue