qualcommax: use defines for MAC mode setting
[openwrt/staging/hauke.git] / target / linux / qualcommax / files / arch / arm64 / boot / dts / qcom / ipq8072-wax218.dts
index 68be7b277835110cfd08af82682fa1aa48586fbd..59835a7059d2c287ce61f02d3e0ec973a341ded8 100644 (file)
@@ -90,9 +90,8 @@
        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 = <0>;
        tm_tick_mode = <0>;