qualcommax: use defines for MAC mode setting
[openwrt/staging/robimarko.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8072-wpq873.dts
index 8d1c3725a18a6a5102b13acc9d826cb66258060f..7b47a0d97ef72cfba2f2c7cc49ef64daa56728a7 100644 (file)
 
        switch_lan_bmp = <(ESS_PORT2 | ESS_PORT3 | ESS_PORT4)>; /* lan port bitmap */
        switch_wan_bmp = <ESS_PORT6>; /* wan port bitmap */
-       switch_mac_mode = <0x0>; /* mac mode for uniphy instance0*/
-       switch_mac_mode1 = <0x0f>; /* mac mode for uniphy instance1*/
-       switch_mac_mode2 = <0x0f>; /* mac mode for uniphy instance2*/
+       switch_mac_mode = <MAC_MODE_PSGMII>; /* mac mode for uniphy instance0*/
+       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 */