mediatek: fix DTS defining mt7530 switch phys but not referencing them
[openwrt/staging/pepe2k.git] / target / linux / mediatek / dts / mt7986a-asus-tuf-ax6000.dts
index bde2525cd7557ed9391b3f29c97ee0e79b0ce0ea..1cdfb5f1550f040223c96941008c328481eb8b80 100644 (file)
                port@1 {
                        reg = <4>;
                        label = "lan1";
+                       phy-handle = <&swphy1>;
                };
 
                port@2 {
                        reg = <3>;
                        label = "lan2";
+                       phy-handle = <&swphy2>;
                };
 
                port@3 {
                        reg = <2>;
                        label = "lan3";
+                       phy-handle = <&swphy3>;
                };
 
                port@4 {
                        reg = <1>;
                        label = "lan4";
+                       phy-handle = <&swphy4>;
                };
 
                port@5 {
                #address-cells = <1>;
                #size-cells = <0>;
 
-               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 = <
                        >;
                };
 
-               phy@4 {
+               swphy4: phy@4 {
                        reg = <4>;
 
                        mediatek,led-config = <