ARM: dts: BCM5301X: Fix MDIO node address/size cells

This change “ARM: dts: BCM5301X: Fix MDIO node address/size cells” (commit 093c3f9) in Linux kernel is authored by Florian Fainelli <f.fainelli [at] gmail.com> on Thu Dec 5 16:01:20 2019 -0800.

Description of "ARM: dts: BCM5301X: Fix MDIO node address/size cells"

The change “ARM: dts: BCM5301X: Fix MDIO node address/size cells” introduces changes as follows.

ARM: dts: BCM5301X: Fix MDIO node address/size cells

The MDIO node on BCM5301X had an reversed #address-cells and
 #size-cells properties, correct those, silencing checker warnings:

.../linux/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dt.yaml: mdio@18003000: #address-cells:0:0: 1 was expected

Reported-by: Simon Horman <simon.horman@netronome.com>
Fixes: 23f1eca6d59b ("ARM: dts: BCM5301X: Specify MDIO bus in the DT")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Linux kernel releases containing commit 093c3f9

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "ARM: dts: BCM5301X: Fix MDIO node address/size cells"

There are 4 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 arch/arm/boot/dts/bcm5301x.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 
diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi
index 372dc1eb88a0..2d9b4dd05830 100644
--- a/arch/arm/boot/dts/bcm5301x.dtsi
+++ b/arch/arm/boot/dts/bcm5301x.dtsi
@@ -353,8 +353,8 @@
 	mdio: mdio@18003000 {
 		compatible = "brcm,iproc-mdio";
 		reg = <0x18003000 0x8>;
-		#size-cells = <1>;
-		#address-cells = <0>;
+		#size-cells = <0>;
+		#address-cells = <1>;
 	};
 
 	mdio-bus-mux@18003000 {

The commit for this change in Linux stable tree is 093c3f9 (patch).

Last modified: 2020/02/08