qualcommax: use defines for MAC mode setting
[openwrt/staging/hauke.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8072-ax880.dts
index 4551e7b6b3cbc6587ef402a70745d01335ab5b33..f8eb9c9fe822dbc78720519a581f210be96c0c6c 100644 (file)
 
        switch_lan_bmp = <ESS_PORT5>; /* lan port bitmap */
        switch_wan_bmp = <ESS_PORT6>; /* wan port bitmap */
-       switch_mac_mode = <0xff>; /* mac mode for uniphy instance0*/
-       switch_mac_mode1 = <0xf>; /* mac mode for uniphy instance1*/
-       switch_mac_mode2 = <0xf>; /* mac mode for uniphy instance2*/
+       switch_mac_mode1 = <MAC_MODE_SGMII_CHANNEL0>; /* mac mode for uniphy instance1*/
+       switch_mac_mode2 = <MAC_MODE_SGMII_CHANNEL0>; /* mac mode for uniphy instance2*/
        bm_tick_mode = <0>; /* bm tick mode */
        tm_tick_mode = <0>; /* tm tick mode */