aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts')
-rw-r--r--target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
index 7aa678a1ad..f79d2d2641 100644
--- a/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
+++ b/target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
@@ -75,7 +75,8 @@
&ethernet {
pinctrl-names = "default";
- mtd-mac-address = <&factory 0xd>;
+ nvmem-cells = <&macaddr_factory_d>;
+ nvmem-cell-names = "mac-address";
};
&esw {
@@ -98,3 +99,13 @@
ieee80211-freq-limit = <5000000 6000000>;
};
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_d: macaddr@d {
+ reg = <0xd 0x6>;
+ };
+};