[][kernel][common][eth][Refactor MDC divider support]

[Description]
Refactor MDC divider support.

Refactor MDC setup function refers to Daniel Golle's upstream patch.
  - https://patchwork.kernel.org/project/linux-mediatek/patch/
689e941a0408e5a54466d28d22c9130c0599cd0d.1678357225.git.
daniel@makrotopia.org/

And move MDC setup function to mtk_hw_init().

If without this patch, MDC will revert to 2.5MHz after SER reset.

[Release-log]
N/A


Change-Id: I33a5a6dc0b3c51fcd993a0d3a72f64814ced759c
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7255778
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-spim-nor.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-spim-nor.dts
index 093a55d..7db5164 100644
--- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-spim-nor.dts
+++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988a-dsa-10g-spim-nor.dts
@@ -217,7 +217,7 @@
 	mdio: mdio-bus {
 		#address-cells = <1>;
 		#size-cells = <0>;
-		mdc-max-frequency = <10500000>;
+		clock-frequency = <10500000>;
 
 		phy0: ethernet-phy@0 {
 			reg = <0>;