On 5/13/22 06:13, Peter Maydell wrote:
The virt board generates a gpio-keys node in the dtb, but it
incorrectly gives this node #size-cells and #address-cells
properties. If you dump the dtb with 'machine dumpdtb=file.dtb'
and run it through dtc, dtc will warn about this:

Warning (avoid_unnecessary_addr_size):/gpio-keys: unnecessary #address-cells/#size-cells without 
"ranges" or child "reg" property

Remove the bogus properties.

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
  hw/arm/virt.c | 2 --
  1 file changed, 2 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to