qualcommax: use defines for MAC mode setting
[openwrt/staging/jow.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8072-wax620.dts
index 6adf39338838b380b4e9b92873ce82f06feeadd9..2175f0e69e17759d6197677afe2b4b03dfb7b611 100644 (file)
        status = "okay";
 
        switch_wan_bmp = <ESS_PORT6>;
-       switch_mac_mode = <0x00>;
-       switch_mac_mode1 = <0xff>;
-       switch_mac_mode2 = <0x0f>;
+       switch_mac_mode = <MAC_MODE_PSGMII>;
+       switch_mac_mode2 = <MAC_MODE_SGMII_CHANNEL0>;
        bm_tick_mode = <0x00>;
        tm_tick_mode = <0x00>;