If you dump the DTB generated by the virt board using -machine dumpdtb=file.dtb and then decompile it with dtc -I dtb -O dts -o file.dts file.dtb dtc will complain about some harmless but wrong constructs in the dtb:
Warning (unique_unit_address): /flash@0: duplicate unit-address (also used in node /secflash@0) Warning (avoid_unnecessary_addr_size): /gpio-keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property This series fixes those nits. thanks -- PMM Peter Maydell (2): hw/arm/virt: Fix incorrect non-secure flash dtb node name hw/arm/virt: Drop #size-cells and #address-cells from gpio-keys dtb node hw/arm/virt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) -- 2.25.1