[][Add flashes' fixed partitions to dts]

[Description]
Add flashes' fixed partitions to dts:
1. Move SPIM-NOR's & SPIM-NAND's fixed partitions to dts.
2. wbsys is enabled by default now. Move it back to dtsi.

[Release-log]
N/A

Change-Id: I173e0e4ed3c74081bc2e6d00ab1a039fcb56e6c7
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/5044106
diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-nor-rfb.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-nor-rfb.dts
index 77c1d73..7ce8f5a 100644
--- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-nor-rfb.dts
+++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-2500wan-nor-rfb.dts
@@ -5,9 +5,44 @@
 	compatible = "mediatek,mt7986a-2500wan-nor-rfb";
 };
 
-&wbsys {
-	mediatek,mtd-eeprom = <&factory 0x0000>;
+&spi0 {
 	status = "okay";
+	spi_nor@0 {
+		partitions {
+			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			partition@00000 {
+				label = "BL2";
+				reg = <0x00000 0x0040000>;
+			};
+			partition@40000 {
+				label = "u-boot-env";
+				reg = <0x40000 0x0010000>;
+			};
+			factory: partition@50000 {
+				label = "Factory";
+				reg = <0x50000 0x00B0000>;
+			};
+			partition@100000 {
+				label = "FIP";
+				reg = <0x100000 0x0080000>;
+			};
+			partition@180000 {
+				label = "firmware";
+				reg = <0x180000 0xE00000>;
+			};
+		};
+	};
+};
+
+&snand {
+	status = "disabled";
+};
+
+&mmc0 {
+	status = "disabled";
 };
 
 &mdio {