]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: dts: at91: ksz9477_evb: fix port/phy validation
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 10 Jun 2022 08:16:21 +0000 (10:16 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jun 2022 05:11:02 +0000 (22:11 -0700)
Latest drivers version requires phy-mode to be set. Otherwise we will
use "NA" mode and the switch driver will invalidate this port mode.

Fixes: ca6e6dab1af7 ("net: dsa: microchip: add the phylink get_caps")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20220610081621.584393-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
arch/arm/boot/dts/at91-sama5d3_ksz9477_evb.dts

index 443e8b02289773630ac9b53d35512b18047ed835..14af1fd6d247d42ff3729baa67c19c7503e912e9 100644 (file)
                        port@0 {
                                reg = <0>;
                                label = "lan1";
+                               phy-mode = "internal";
                        };
 
                        port@1 {
                                reg = <1>;
                                label = "lan2";
+                               phy-mode = "internal";
                        };
 
                        port@2 {
                                reg = <2>;
                                label = "lan3";
+                               phy-mode = "internal";
                        };
 
                        port@3 {
                                reg = <3>;
                                label = "lan4";
+                               phy-mode = "internal";
                        };
 
                        port@4 {
                                reg = <4>;
                                label = "lan5";
+                               phy-mode = "internal";
                        };
 
                        port@5 {