[][openwrt-24][common][bsp][Add eeprom loading support for MT76]

[Description]
Add eeprom loading support for MT76 (via mtd)

[Release-log]
N/A

Change-Id: I84143d84b528f7c8cb4c044e4af6c1718c6b4e67
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9601655
diff --git a/master/files/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand-nmbm.dtso b/master/files/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand-nmbm.dtso
index 62d4e86..159cced 100644
--- a/master/files/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand-nmbm.dtso
+++ b/master/files/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-rfb-spim-nand-nmbm.dtso
@@ -43,7 +43,7 @@
 						reg = <0x0100000 0x0080000>;
 					};
 
-					partition@180000 {
+					factory: partition@180000 {
 						label = "Factory";
 						reg = <0x180000 0x0400000>;
 					};
@@ -69,6 +69,22 @@
 		};
 	};
 
+	fragment@1 {
+		target = <&pcie0>;
+		__overlay__ {
+			slot0: pcie@0,0 {
+				reg = <0x0000 0 0 0 0>;
+
+				mt7996@0,0 {
+					compatible = "mediatek,mt76";
+					reg = <0x0000 0 0 0 0>;
+					device_type = "pci";
+					mediatek,mtd-eeprom = <&factory 0x0>;
+				};
+			};
+		};
+	};
+
 	fragment@2 {
 		target-path = "/chosen";
 		__overlay__ {