aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts19
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
index cf63e6b989..b40448791a 100644
--- a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
@@ -137,7 +137,8 @@
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 0x0>;
- mtd-mac-address = <&info 0x8>;
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
};
};
@@ -146,13 +147,15 @@
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- mtd-mac-address = <&info 0x8>;
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
};
};
&gmac0 {
- mtd-mac-address = <&info 0x8>;
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
};
&switch0 {
@@ -178,3 +181,13 @@
};
};
};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};