[][Change clk by its own dts node instead of global clk]

[Description]
Change mtk nand to enable clk by its own dts node instead of global clk

[Release-log]
N/A

Change-Id: Ib332e4f538b25adb74d187f74e77452411a453ac
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/4752604
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986-clkitg.dtsi b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986-clkitg.dtsi
index 6e45979..2971af6 100644
--- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986-clkitg.dtsi
+++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986-clkitg.dtsi
@@ -91,9 +91,9 @@
 			<&infracfg_ao CK_INFRA_UART0_CK>,
 			<&infracfg_ao CK_INFRA_UART1_CK>,
 			<&infracfg_ao CK_INFRA_UART2_CK>,
-			<&infracfg_ao CK_INFRA_NFI1_CK>,
-			<&infracfg_ao CK_INFRA_SPINFI1_CK>,
-			<&infracfg_ao CK_INFRA_NFI_HCK_CK>,
+			<&clk40m>,
+			<&clk40m>,
+			<&clk40m>,
 			<&clk40m>,
 			<&clk40m>,
 			<&clk40m>,
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
index 517762a..a592af9 100644
--- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
+++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
@@ -549,10 +549,10 @@
 		reg = <0 0x11005000 0 0x1000>, <0 0x11006000 0 0x1000>;
 		reg-names = "nfi", "ecc";
 		interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&topckgen CK_TOP_SPINFI_SEL>,
-			 <&infracfg_ao CK_INFRA_SPINFI1_CK>,
-			 <&topckgen CK_TOP_NFI1X_SEL>;
-		clock-names = "nfi_clk", "pad_clk", "ecc_clk";
+		clocks = <&infracfg_ao CK_INFRA_SPINFI1_CK>,
+			 <&infracfg_ao CK_INFRA_NFI1_CK>,
+			 <&infracfg_ao CK_INFRA_NFI_HCK_CK>;
+		clock-names = "pad_clk", "nfi_clk", "nfi_hclk";
 		assigned-clocks = <&topckgen CK_TOP_SPINFI_SEL>,
 			 	  <&topckgen CK_TOP_NFI1X_SEL>;
 		assigned-clock-parents = <&topckgen CK_TOP_MM_D8_D2>,
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986b.dtsi b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986b.dtsi
index 8e961d6..fa1df5e 100644
--- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986b.dtsi
+++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986b.dtsi
@@ -518,10 +518,10 @@
 		reg = <0 0x11005000 0 0x1000>, <0 0x11006000 0 0x1000>;
 		reg-names = "nfi", "ecc";
 		interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
-		clocks = <&topckgen CK_TOP_SPINFI_SEL>,
-			 <&infracfg_ao CK_INFRA_SPINFI1_CK>,
-			 <&topckgen CK_TOP_NFI1X_SEL>;
-		clock-names = "nfi_clk", "pad_clk", "ecc_clk";
+		clocks = <&infracfg_ao CK_INFRA_SPINFI1_CK>,
+			 <&infracfg_ao CK_INFRA_NFI1_CK>,
+			 <&infracfg_ao CK_INFRA_NFI_HCK_CK>;
+		clock-names = "pad_clk", "nfi_clk", "nfi_hclk";
 		assigned-clocks = <&topckgen CK_TOP_SPINFI_SEL>,
 			 	  <&topckgen CK_TOP_NFI1X_SEL>;
 		assigned-clock-parents = <&topckgen CK_TOP_MM_D8_D2>,