hw/ppc/e500: Add missing device tree properties to i2c controller node
authorBernhard Beschow <shentey@gmail.com>
Sun, 3 Nov 2024 13:33:51 +0000 (14:33 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 5 Nov 2024 23:32:25 +0000 (23:32 +0000)
commitb5d65592d931d07d4f4bcb915d018ec9598058b4
tree0f66614b465a9d0cc849d4cda7effdcbf48299f3
parent2a309354ac5decf78763c9de999bfb42c8612069
hw/ppc/e500: Add missing device tree properties to i2c controller node

When compiling a decompiled device tree blob created with dumpdtb, dtc complains
with:

  /soc@e0000000/i2c@3000: incorrect #address-cells for I2C bus
  /soc@e0000000/i2c@3000: incorrect #size-cells for I2C bus

Fix this by adding the missing device tree properties.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-ID: <20241103133412.73536-6-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/ppc/e500.c