lantiq: set port numbers corresponding to reg value
[openwrt/openwrt.git] / target / linux / lantiq / files-5.4 / arch / mips / boot / dts / lantiq / vr9_tplink_vr200.dtsi
index 77b4f0defbda952468b80de95bf5d2612c09ed4c..46b699a93e8407c62aadcc516a9535620d04f3ac 100644 (file)
                        phy-handle = <&phy0>;
                        // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
-               ethernet@5 {
-                       compatible = "lantiq,xrx200-pdi-port";
-                       reg = <5>;
-                       phy-mode = "rgmii";
-                       phy-handle = <&phy5>;
-               };
                ethernet@2 {
                        compatible = "lantiq,xrx200-pdi-port";
                        reg = <2>;
                        phy-mode = "gmii";
                        phy-handle = <&phy11>;
                };
-               ethernet@3 {
+               ethernet@4 {
                        compatible = "lantiq,xrx200-pdi-port";
                        reg = <4>;
                        phy-mode = "gmii";
                        phy-handle = <&phy13>;
                };
+               ethernet@5 {
+                       compatible = "lantiq,xrx200-pdi-port";
+                       reg = <5>;
+                       phy-mode = "rgmii";
+                       phy-handle = <&phy5>;
+               };
        };
 
        mdio {