ipq807x: fix multiple error on ESS switch port define
[openwrt/staging/hauke.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8074-wxr-5950ax12.dts
index 88ae3831173f8d8212b2ddad3d0eaaa254020e12..18386c766c3620d61a01135868d08c17d97abad1 100644 (file)
 &switch {
        status = "okay";
 
-       switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4 | ESS_PORT5)>;
-       switch_wan_bmp = <ESS_PORT6>;
+       switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4 | ESS_PORT6)>;
+       switch_wan_bmp = <ESS_PORT5>;
        switch_mac_mode = <MAC_MODE_QSGMII>;
        switch_mac_mode1 = <MAC_MODE_USXGMII>;
        switch_mac_mode2 = <MAC_MODE_USXGMII>;
 
        qcom,port_phyinfo {
-               port@0 {
+               port@1 {
                        port_id = <1>;
                        phy_address = <0x18>;
                };
 
-               port@1 {
+               port@2 {
                        port_id = <2>;
                        phy_address = <0x19>;
                };
 
-               port@2 {
+               port@3 {
                        port_id = <3>;
                        phy_address = <0x1a>;
                };
 
-               port@3 {
+               port@4 {
                        port_id = <4>;
                        phy_address = <0x1b>;
                };
 
-               port@4 {
+               port@5 {
                        port_id = <5>;
                        ethernet-phy-ieee802.3-c45;
                        phy_address = <0x0>;
                };
 
-               port@5 {
+               port@6 {
                        port_id = <6>;
                        ethernet-phy-ieee802.3-c45;
                        phy_address = <0x8>;