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