aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts')
-rw-r--r--target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts b/target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
index 581edc6dfc..f449b0d0f8 100644
--- a/target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
+++ b/target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
@@ -83,7 +83,8 @@
};
&ethernet {
- mtd-mac-address = <&factory 0x2e>;
+ nvmem-cells = <&macaddr_factory_2e>;
+ nvmem-cell-names = "mac-address";
};
&esw {
@@ -93,3 +94,13 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_2e: macaddr@2e {
+ reg = <0x2e 0x6>;
+ };
+};