ipq807x: fix multiple error on ESS switch port define
[openwrt/staging/hauke.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8071-eap102.dts
index d76c9a12eb602fb0bbde6b1e38ee6e3548c95144..7067f9296879cae1ad98ec58052c0ca4a9bff55c 100644 (file)
 &switch {
        status = "okay";
 
-       switch_lan_bmp = <ESS_PORT5>; /* lan port bitmap */
-       switch_wan_bmp = <ESS_PORT6>; /* wan port bitmap */
+       switch_lan_bmp = <ESS_PORT6>; /* lan port bitmap */
+       switch_wan_bmp = <ESS_PORT5>; /* wan port bitmap */
        switch_mac_mode1 = <MAC_MODE_SGMII_CHANNEL0>; /* mac mode for uniphy instance1*/
        switch_mac_mode2 = <MAC_MODE_SGMII_CHANNEL0>; /* mac mode for uniphy instance2*/
 
        qcom,port_phyinfo {
-               port@4 {
+               port@5 {
                        port_id = <5>;
                        phy_address = <24>;
                        port_mac_sel = "QGMAC_PORT";
                };
-               port@5 {
+               port@6 {
                        port_id = <6>;
                        phy_address = <28>;
                        port_mac_sel = "QGMAC_PORT";