overlays: Fix dtc warnings in i2c-gpio
authorPhil Elwell <phil@raspberrypi.com>
Wed, 8 Apr 2020 10:59:39 +0000 (11:59 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:07 +0000 (19:13 +0000)
Better late than never.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/i2c-gpio-overlay.dts

index 63231b5..2323a61 100644 (file)
@@ -11,6 +11,9 @@
                target-path = "/";
 
                __overlay__ {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
                        i2c_gpio: i2c@0 {
                                reg = <0xffffffff>;
                                compatible = "i2c-gpio";