From 37704195af3b5323471e67bad01209f7432fe8ce Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 26 Mar 2021 23:17:55 +0100 Subject: [PATCH] tools/litex_json2dts: Revert previous mac0 formating (thanks geertu). --- litex/tools/litex_json2dts.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/litex/tools/litex_json2dts.py b/litex/tools/litex_json2dts.py index 4248837c9..0349a0bd0 100755 --- a/litex/tools/litex_json2dts.py +++ b/litex/tools/litex_json2dts.py @@ -198,10 +198,9 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False): 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} 0x{ethmac_mem_size:x}>; + reg = <0x{ethmac_csr_base:x} 0x7c>, + <0x{ethphy_csr_base:x} 0x0a>, + <0x{ethmac_mem_base:x} 0x{ethmac_mem_size:x}>; tx-fifo-depth = <{ethmac_tx_slots}>; rx-fifo-depth = <{ethmac_rx_slots}>; {ethmac_interrupt}