[][kernel][mt7988][eth][macsec: Remove CK_TOP_NETSYS_TOPS_400M_SEL since it's not relevant]

[Description]
Remove CK_TOP_NETSYS_TOPS_400M_SEL since it's not relevant.

[Release-log]
N/A

Change-Id: I7d3ec47e8daf64700d23050609d0b618c487e2e8
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8709047
diff --git a/21.02/files/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi b/21.02/files/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi
index 48ced19..620fff9 100644
--- a/21.02/files/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi
+++ b/21.02/files/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7988.dtsi
@@ -865,8 +865,7 @@
 			 <&topckgen CK_TOP_NETSYS_SYNC_250M_SEL>,
 			 <&topckgen CK_TOP_NETSYS_PPEFB_250M_SEL>,
 			 <&topckgen CK_TOP_NETSYS_WARP_SEL>,
-			 <&topckgen CK_TOP_MACSEC_SEL>,
-			 <&topckgen CK_TOP_NETSYS_TOPS_400M_SEL>;
+			 <&topckgen CK_TOP_MACSEC_SEL>;
 		clock-names = "xgp1", "xgp2", "xgp3", "fe", "gp2", "gp1",
 			      "gp3", "esw", "crypto", "sgmii_tx250m",
 			      "sgmii_rx250m", "sgmii2_tx250m", "sgmii2_rx250m",
@@ -882,24 +881,21 @@
 			      "top_netsys_sync_250m_sel",
 			      "top_netsys_ppefb_250m_sel",
 			      "top_netsys_warp_sel",
-			      "top_macsec_sel",
-			      "macsec_bus_clk";
+			      "top_macsec_sel";
 		assigned-clocks = <&topckgen CK_TOP_NETSYS_2X_SEL>,
 				  <&topckgen CK_TOP_NETSYS_GSW_SEL>,
 				  <&topckgen CK_TOP_USXGMII_SBUS_0_SEL>,
 				  <&topckgen CK_TOP_USXGMII_SBUS_1_SEL>,
 				  <&topckgen CK_TOP_SGM_0_SEL>,
 				  <&topckgen CK_TOP_SGM_1_SEL>,
-				  <&topckgen CK_TOP_MACSEC_SEL>,
-				  <&topckgen CK_TOP_NETSYS_TOPS_400M_SEL>;
+				  <&topckgen CK_TOP_MACSEC_SEL>;
 		assigned-clock-parents = <&topckgen CK_TOP_CB_NET2_800M>,
 					 <&topckgen CK_TOP_CB_NET1_D4>,
 					 <&topckgen CK_TOP_NET1_D8_D4>,
 					 <&topckgen CK_TOP_NET1_D8_D4>,
 					 <&topckgen CK_TOP_CB_SGM_325M>,
 					 <&topckgen CK_TOP_CB_SGM_325M>,
-					 <&topckgen CK_TOP_CB_SGM_325M>,
-					 <&topckgen CK_TOP_CB_NET2_D2>;
+					 <&topckgen CK_TOP_CB_SGM_325M>;
 		mediatek,ethsys = <&ethsys>;
 		mediatek,sgmiisys = <&sgmiisys0>, <&sgmiisys1>;
 		mediatek,usxgmiisys = <&usxgmiisys0>, <&usxgmiisys1>;
diff --git a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index 49c123b..f3e0b06 100644
--- a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -258,7 +258,7 @@
 	"top_eth_xgmii_sel", "top_eth_mii_sel", "top_netsys_sel",
 	"top_netsys_500m_sel", "top_netsys_pao_2x_sel",
 	"top_netsys_sync_250m_sel", "top_netsys_ppefb_250m_sel",
-	"top_netsys_warp_sel", "top_macsec_sel", "macsec_bus_clk",
+	"top_netsys_warp_sel", "top_macsec_sel",
 };
 
 void mtk_w32(struct mtk_eth *eth, u32 val, unsigned reg)
diff --git a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.h
index c32a0ee..23d384f 100644
--- a/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.h
+++ b/21.02/files/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.h
@@ -1192,7 +1192,6 @@
 	MTK_CLK_TOP_NETSYS_PPEFB_250M_SEL,
 	MTK_CLK_TOP_NETSYS_WARP_SEL,
 	MTK_CLK_TOP_MACSEC_SEL,
-	MTK_CLK_TOP_NETSYS_TOPS_400M_SEL,
 	MTK_CLK_MAX
 };
 
@@ -1277,8 +1276,7 @@
 				 BIT(MTK_CLK_TOP_NETSYS_SYNC_250M_SEL) | \
 				 BIT(MTK_CLK_TOP_NETSYS_PPEFB_250M_SEL) | \
 				 BIT(MTK_CLK_TOP_NETSYS_WARP_SEL) | \
-				 BIT(MTK_CLK_TOP_MACSEC_SEL) | \
-				 BIT(MTK_CLK_TOP_NETSYS_TOPS_400M_SEL))
+				 BIT(MTK_CLK_TOP_MACSEC_SEL))
 
 enum mtk_dev_state {
 	MTK_HW_INIT,