aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_linksys_re6500.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7621_linksys_re6500.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_linksys_re6500.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_linksys_re6500.dts b/target/linux/ramips/dts/mt7621_linksys_re6500.dts
index 319d0d7fb2..680bc863cd 100644
--- a/target/linux/ramips/dts/mt7621_linksys_re6500.dts
+++ b/target/linux/ramips/dts/mt7621_linksys_re6500.dts
@@ -113,7 +113,8 @@
};
&gmac0 {
- mtd-mac-address = <&factory 0x2e>;
+ nvmem-cells = <&macaddr_factory_2e>;
+ nvmem-cell-names = "mac-address";
};
&switch0 {
@@ -143,3 +144,13 @@
&xhci {
status = "disabled";
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_2e: macaddr@2e {
+ reg = <0x2e 0x6>;
+ };
+};