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:
parent
b4fb3ea981
commit
d108d2ad3d
|
@ -388,6 +388,8 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
|
||||||
<0x{sdblock2mem:x} 0x100>,
|
<0x{sdblock2mem:x} 0x100>,
|
||||||
<0x{sdmem2block:x} 0x100>,
|
<0x{sdmem2block:x} 0x100>,
|
||||||
<0x{sdirq:x} 0x100>;
|
<0x{sdirq:x} 0x100>;
|
||||||
|
reg-names = "phy", "core", "reader", "writer", "irq";
|
||||||
|
clocks = <&sys_clk>;
|
||||||
bus-width = <0x04>;
|
bus-width = <0x04>;
|
||||||
{sdirq_interrupt}
|
{sdirq_interrupt}
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
Loading…
Reference in New Issue