summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/mt7621_cudy_x6.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_cudy_x6.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621_cudy_x6.dtsi13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_cudy_x6.dtsi b/target/linux/ramips/dts/mt7621_cudy_x6.dtsi
index 4c34f58a4b..8b3baa9f84 100644
--- a/target/linux/ramips/dts/mt7621_cudy_x6.dtsi
+++ b/target/linux/ramips/dts/mt7621_cudy_x6.dtsi
@@ -79,6 +79,16 @@
label = "factory";
reg = <0x40000 0x10000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0xe00>;
+ };
+ };
};
/* additional partitions in DTS */
@@ -94,7 +104,8 @@
wifi:wifi@0,0 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
- mediatek,mtd-eeprom = <&factory 0x0000>;
+ nvmem-cells = <&eeprom_factory_0>;
+ nvmem-cell-names = "eeprom";
mediatek,disable-radar-background;
};
};