ARM: dts: bcm2711: fix MDIO #address- and #size-cells
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 7 Aug 2021 11:06:32 +0000 (13:06 +0200)
committerNicolas Saenz Julienne <nsaenz@kernel.org>
Wed, 6 Oct 2021 07:49:41 +0000 (09:49 +0200)
The values of #address-cells and #size-cells are swapped. Fix this
and avoid the following DT schema warnings for mdio@e14:

 #address-cells:0:0: 1 was expected
 #size-cells:0:0: 0 was expected

Fixes: be8af7a9e3cc ("ARM: dts: bcm2711-rpi-4: Enable GENET support")
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1628334401-6577-2-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Nicolas Saenz Julienne <nsaenz@kernel.org>
arch/arm/boot/dts/bcm2711.dtsi

index 734342c..3b60297 100644 (file)
                                compatible = "brcm,genet-mdio-v5";
                                reg = <0xe14 0x8>;
                                reg-names = "mdio";
-                               #address-cells = <0x0>;
-                               #size-cells = <0x1>;
+                               #address-cells = <0x1>;
+                               #size-cells = <0x0>;
                        };
                };
        };