ipq807x: fix wrong define for LAN and WAN ess mask
[openwrt/staging/hauke.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8071-ax3600.dtsi
index c18cef52f39d8b0e9dbc5c4354eb192c3ba0a739..82a981b5faacfc61cec026b443e0059a48ef50d4 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_PORT2 | ESS_PORT3 | ESS_PORT4)>; /* lan port bitmap */
+       switch_wan_bmp = <ESS_PORT5>; /* wan port bitmap */
        switch_mac_mode = <0x0>; /* mac mode for uniphy instance0*/
        switch_mac_mode1 = <0xff>; /* mac mode for uniphy instance1*/
        switch_mac_mode2 = <0xff>; /* mac mode for uniphy instance2*/
        tm_tick_mode = <0>; /* tm tick mode */
 
        qcom,port_phyinfo {
-               port@0 {
-                       port_id = <1>;
-                       phy_address = <0>;
-               };
                port@1 {
                        port_id = <2>;
                        phy_address = <1>;