Message ID | 1627820932-7247-3-git-send-email-stefan.wahren@i2se.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ARM: dts: Add Raspberry Pi CM4 & CM4 IO Board support | expand |
On 8/1/2021 5:28 AM, Stefan Wahren wrote: > 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> Yes this was definitively an error thanks! > --- > arch/arm/boot/dts/bcm2711.dtsi | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi > index afe0ef8..55022fc 100644 > --- a/arch/arm/boot/dts/bcm2711.dtsi > +++ b/arch/arm/boot/dts/bcm2711.dtsi > @@ -532,8 +532,8 @@ > compatible = "brcm,genet-mdio-v5"; > reg = <0xe14 0x8>; > reg-names = "mdio"; > - #address-cells = <0x0>; > - #size-cells = <0x1>; > + #address-cells = <0x1>; > + #size-cells = <0x0>; > }; > }; > }; >
diff --git a/arch/arm/boot/dts/bcm2711.dtsi b/arch/arm/boot/dts/bcm2711.dtsi index afe0ef8..55022fc 100644 --- a/arch/arm/boot/dts/bcm2711.dtsi +++ b/arch/arm/boot/dts/bcm2711.dtsi @@ -532,8 +532,8 @@ compatible = "brcm,genet-mdio-v5"; reg = <0xe14 0x8>; reg-names = "mdio"; - #address-cells = <0x0>; - #size-cells = <0x1>; + #address-cells = <0x1>; + #size-cells = <0x0>; }; }; };
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> --- arch/arm/boot/dts/bcm2711.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)