ipq807x: fix wrong define for LAN and WAN ess mask
[openwrt/staging/dangole.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8072-ax9000.dts
index 801aa056045f44606ef2ab1754fc14b3040dc5f1..338051ef48a3dc199bb0fbb8468c015ae607c82c 100644 (file)
 &switch {
        status = "okay";
 
-       switch_cpu_bmp = <0x1>;  /* cpu port bitmap */
-       switch_lan_bmp = <0x1e>; /* lan port bitmap */
-       switch_wan_bmp = <0x20>; /* wan port bitmap */
+       switch_lan_bmp = <(ESS_PORT1 | ESS_PORT2 | ESS_PORT3 | ESS_PORT4)>; /* lan port bitmap */
+       switch_wan_bmp = <ESS_PORT5>; /* wan port bitmap */
        switch_mac_mode = <0xb>; /* mac mode for uniphy instance0*/
        switch_mac_mode1 = <0xc>; /* mac mode for uniphy instance1*/
        switch_mac_mode2 = <0xff>; /* mac mode for uniphy instance2*/