tools/litex_json2dts: Fix mmc node
mmc@f0006800:reg:0: [4026558464, 256, 4026560512, 256, 4026562560, 256, 4026564608, 256] is too long From schema: dt-schema/dtschema/schemas/simple-bus.yaml mmc@f0006800:reg:0: [4026558464, 256, 4026560512, 256, 4026562560, 256, 4026564608, 256] is too long From schema: dt-schema/dtschema/schemas/reg.yaml Fix this by grouping the tuples in the "reg" property using angle brackets. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
parent
54d2578f04
commit
a7a70fa2f0
|
@ -267,11 +267,10 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False):
|
||||||
dts += """
|
dts += """
|
||||||
mmc0: mmc@{mmc_csr_base:x} {{
|
mmc0: mmc@{mmc_csr_base:x} {{
|
||||||
compatible = "litex,mmc";
|
compatible = "litex,mmc";
|
||||||
reg = <
|
reg = <0x{sdphy_csr_base:x} 0x100>,
|
||||||
0x{sdphy_csr_base:x} 0x100
|
<0x{sdcore_csr_base:x} 0x100>,
|
||||||
0x{sdcore_csr_base:x} 0x100
|
<0x{sdblock2mem:x} 0x100>,
|
||||||
0x{sdblock2mem:x} 0x100
|
<0x{sdmem2block:x} 0x100>;
|
||||||
0x{sdmem2block:x} 0x100>;
|
|
||||||
bus-width = <0x04>;
|
bus-width = <0x04>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
}};
|
}};
|
||||||
|
|
Loading…
Reference in New Issue