diff --git a/litex/tools/litex_json2dts.py b/litex/tools/litex_json2dts.py index 835192709..8eeb325c7 100755 --- a/litex/tools/litex_json2dts.py +++ b/litex/tools/litex_json2dts.py @@ -355,6 +355,8 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False): i2c0: i2c@{i2c0_csr_base:x} {{ compatible = "litex,i2c"; reg = <0x{i2c0_csr_base:x} 0x5>; + #address-cells = <1>; + #size-cells = <0>; status = "okay"; }}; """.format(i2c0_csr_base=d["csr_bases"]["i2c0"])