tools/linux: fix dts warning: missing #address-cells

This commit is contained in:
Andrew Dennison 2021-10-14 08:52:04 +11:00 committed by Florent Kermarrec
parent 9b67898e99
commit eb67197a46
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ def generate_dts(d, initrd_start=None, initrd_size=None, initrd=None, root_devic
{cache_desc} {cache_desc}
{tlb_desc} {tlb_desc}
L{irq}: interrupt-controller {{ L{irq}: interrupt-controller {{
#address-cells = <0>;
#interrupt-cells = <0x00000001>; #interrupt-cells = <0x00000001>;
interrupt-controller; interrupt-controller;
compatible = "riscv,cpu-intc"; compatible = "riscv,cpu-intc";