bmips: dts: add missing phy modes
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 10 Apr 2023 08:06:22 +0000 (10:06 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Mon, 10 Apr 2023 08:06:22 +0000 (10:06 +0200)
PHY modes should be defined in the device tree for the bcm63xx internal switch.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/bmips/dts/bcm63167-sercomm-h500-s.dtsi
target/linux/bmips/dts/bcm63168-comtrend-vr-3032u.dts
target/linux/bmips/dts/bcm6318-comtrend-ar-5315u.dts
target/linux/bmips/dts/bcm6328-comtrend-ar-5387un.dts
target/linux/bmips/dts/bcm6368-comtrend-vr-3025u.dts

index 7368e9d496e54dcff7814d7c94615ce406d63dd7..591029c463502dd4081d7435bd88ffe2983d0cf1 100644 (file)
                        label = "wan";
 
                        phy-handle = <&phy12>;
+                       phy-mode = "gmii";
                };
 
                switch0port4: port@4 {
index 22a0ffe79213961d0ab37949a8dfb6b05fb4b74d..062fdcafe963d30cec1db79b1c0e64e5371fb3f7 100644 (file)
                        label = "lan2";
 
                        phy-handle = <&phy1>;
+                       phy-mode = "mii";
                };
 
                port@1 {
                        label = "lan3";
 
                        phy-handle = <&phy2>;
+                       phy-mode = "mii";
                };
 
                port@2 {
                        label = "lan4";
 
                        phy-handle = <&phy3>;
+                       phy-mode = "mii";
                };
 
                port@3 {
                        label = "lan1";
 
                        phy-handle = <&phy4>;
+                       phy-mode = "mii";
                };
        };
 };
index ec50c3e07df5e582e5292bef52231956e26f2a70..9226922a7ae59076ebaf1fb75d92a3b9b567ef2d 100644 (file)
                        label = "lan4";
 
                        phy-handle = <&phy1>;
+                       phy-mode = "mii";
                };
 
                port@1 {
                        label = "lan3";
 
                        phy-handle = <&phy2>;
+                       phy-mode = "mii";
                };
 
                port@2 {
                        label = "lan2";
 
                        phy-handle = <&phy3>;
+                       phy-mode = "mii";
                };
 
                port@3 {
                        label = "lan1";
 
                        phy-handle = <&phy4>;
+                       phy-mode = "mii";
                };
        };
 };
index 47db0809e19ebbd02871f17d2d5dc3b37eb7d83d..df6ee5eadd6a0703a62f1102fd92637736c12e1a 100644 (file)
                        label = "lan1";
 
                        phy-handle = <&phy1>;
+                       phy-mode = "mii";
                };
 
                port@1 {
                        label = "lan2";
 
                        phy-handle = <&phy2>;
+                       phy-mode = "mii";
                };
 
                port@2 {
                        label = "lan3";
 
                        phy-handle = <&phy3>;
+                       phy-mode = "mii";
                };
 
                port@3 {
                        label = "lan4";
 
                        phy-handle = <&phy4>;
+                       phy-mode = "mii";
                };
        };
 };
index 29d8dfd56e0960f16bca21952ab2c63eda3ad9da..5f0565fa4c26c79c1509d0cd301f7ce8d2822c60 100644 (file)
                        label = "lan1";
 
                        phy-handle = <&phy1>;
+                       phy-mode = "mii";
                };
 
                port@1 {
                        label = "lan2";
 
                        phy-handle = <&phy2>;
+                       phy-mode = "mii";
                };
 
                port@2 {
                        label = "lan3";
 
                        phy-handle = <&phy3>;
+                       phy-mode = "mii";
                };
 
                port@3 {
                        label = "lan4";
 
                        phy-handle = <&phy4>;
+                       phy-mode = "mii";
                };
        };
 };