qualcommax: use defines for MAC mode setting
[openwrt/staging/mans0n.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8072-ax9000.dts
index 338051ef48a3dc199bb0fbb8468c015ae607c82c..3b175ec1624a8468b8c5bc2f4d45949c2b9ea88e 100644 (file)
 
        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*/
+       switch_mac_mode = <MAC_MODE_QSGMII>; /* mac mode for uniphy instance0*/
+       switch_mac_mode1 = <MAC_MODE_SGMII_PLUS>; /* mac mode for uniphy instance1*/
        bm_tick_mode = <0>; /* bm tick mode */
        tm_tick_mode = <0>; /* tm tick mode */