tools/litex_json2dts_linux.py: update mmc node

Add `reg-names` property, which facilitates cleaner probing
for the upstream Linux device driver. Also, add a reference
to the LiteX sys_clk, also for the benefit of the upstream
driver, which can't rely on the CPU frequency matching sys_clk.

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
This commit is contained in:
Gabriel Somlo 2021-12-10 11:05:58 -05:00
parent b4fb3ea981
commit d108d2ad3d
1 changed files with 2 additions and 0 deletions

View File

@ -388,6 +388,8 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
<0x{sdblock2mem:x} 0x100>,
<0x{sdmem2block:x} 0x100>,
<0x{sdirq:x} 0x100>;
reg-names = "phy", "core", "reader", "writer", "irq";
clocks = <&sys_clk>;
bus-width = <0x04>;
{sdirq_interrupt}
status = "okay";