ARM: dts: ixp4xx: Fix up Actiontec MI424WR DTS files
authorLinus Walleij <linusw@kernel.org>
Thu, 11 Dec 2025 13:05:01 +0000 (14:05 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Mon, 15 Dec 2025 20:15:36 +0000 (21:15 +0100)
The KS8995 switch was unconditionally wired to EthC (eth1)
on both MI424WR variants, this is wrong: the D revision has
the switch connected to EthB (eth0) so pull this assingment
out of the generic MI424WR DTSI file and make it a property
of the respective variants instead.

Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20251211-ixp4xx-actiontec-dts-fix-v1-1-97af8e79d474@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-ac.dts
arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr-d.dts
arch/arm/boot/dts/intel/ixp/intel-ixp42x-actiontec-mi424wr.dtsi

index 413b925..19a8d7b 100644 (file)
        model = "Actiontec MI424WR rev A/C";
        compatible = "actiontec,mi424wr-ac", "intel,ixp42x";
 
+       /* Connect the switch to EthC */
+       spi {
+               ethernet-switch@0 {
+                       ethernet-ports {
+                               ethernet-port@4 {
+                                       ethernet = <&ethc>;
+                               };
+                       };
+               };
+       };
+
        soc {
                /* EthB used for WAN */
                ethernet@c8009000 {
index 3619c64..244c6ea 100644 (file)
        model = "Actiontec MI424WR rev D";
        compatible = "actiontec,mi424wr-d", "intel,ixp42x";
 
+       /* Connect the switch to EthB */
+       spi {
+               ethernet-switch@0 {
+                       ethernet-ports {
+                               ethernet-port@4 {
+                                       ethernet = <&ethb>;
+                               };
+                       };
+               };
+       };
+
        soc {
                /* EthB used for LAN */
                ethernet@c8009000 {
index 76fd97c..9b54e3c 100644 (file)
                                };
                                ethernet-port@4 {
                                        reg = <4>;
-                                       ethernet = <&ethc>;
                                        phy-mode = "mii";
                                        fixed-link {
                                                speed = <100>;