]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: microchip: sparx5: fix mdio reg
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 5 Apr 2024 19:04:10 +0000 (21:04 +0200)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 8 Apr 2024 15:55:31 +0000 (16:55 +0100)
Correct the reg address of mdio node to match unit address.  Assume the
reg is not correct and unit address was correct, because there is
already node using the existing reg 0x110102d4.

  sparx5.dtsi:443.25-451.5: Warning (simple_bus_reg): /axi@600000000/mdio@6110102f8: simple-bus unit address format error, expected "6110102d4"

Fixes: d0f482bb06f9 ("arm64: dts: sparx5: Add the Sparx5 switch node")
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/arm64/boot/dts/microchip/sparx5.dtsi

index 24075cd9142050025e222150dea4ef83e778a255..5d820da8c69df4c14b10f79c8516c7db179ed68f 100644 (file)
                        pinctrl-names = "default";
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       reg = <0x6 0x110102d4 0x24>;
+                       reg = <0x6 0x110102f8 0x24>;
                };
 
                mdio3: mdio@61101031c {