[PATCH 2/9] ARM: dts: bcm2711: fix MDIO #address- and #size-cells

Florian Fainelli f.fainelli at gmail.com
Thu Aug 5 02:08:16 PDT 2021



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 at 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 at 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>;
>   			};
>   		};
>   	};
> 

-- 
Florian



More information about the linux-arm-kernel mailing list