aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.10/140-dts-fix-wmac-support-for-mt7622-rfb1.patch
blob: e1e43ce75d69c085ffd344c883ca93101226c26e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
@@ -561,7 +561,7 @@
 			reg = <0x140000 0x0080000>;
 		};
 
-		partition@1c0000 {
+		factory: partition@1c0000 {
 			label = "Factory";
 			reg = <0x1c0000 0x0100000>;
 		};
@@ -619,5 +619,6 @@
 };
 
 &wmac {
+	mediatek,mtd-eeprom = <&factory 0x0000>;
 	status = "okay";
 };