mediatek: fix DTS defining mt7530 switch phys but not referencing them
[openwrt/staging/stintel.git] / target / linux / mediatek / dts / mt7986a-acer-predator-w6.dts
index 6bff786558be9ec2fd2218b30f8c019dc92a406e..612f3c73342b21989c42a33951df2b2ddeba1019 100644 (file)
                port@0 {
                        reg = <0>;
                        label = "game";
+                       phy-handle = <&swphy0>;
                };
 
                port@1 {
                        reg = <1>;
                        label = "lan1";
+                       phy-handle = <&swphy1>;
                };
 
                port@2 {
                        reg = <2>;
                        label = "lan2";
+                       phy-handle = <&swphy2>;
                };
 
                port@3 {
                        reg = <3>;
                        label = "lan3";
+                       phy-handle = <&swphy3>;
                };
 
                port@6 {
                #address-cells = <1>;
                #size-cells = <0>;
 
-               phy@0 {
+               swphy0: phy@0 {
                        reg = <0>;
 
                        mediatek,led-config = <
                        >;
                };
 
-               phy@1 {
+               swphy1: phy@1 {
                        reg = <1>;
 
                        mediatek,led-config = <
                        >;
                };
 
-               phy@2 {
+               swphy2: phy@2 {
                        reg = <2>;
 
                        mediatek,led-config = <
                        >;
                };
 
-               phy@3 {
+               swphy3: phy@3 {
                        reg = <3>;
 
                        mediatek,led-config = <