aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt3050_asus_rt-g32-b1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/rt3050_asus_rt-g32-b1.dts')
-rw-r--r--target/linux/ramips/dts/rt3050_asus_rt-g32-b1.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3050_asus_rt-g32-b1.dts b/target/linux/ramips/dts/rt3050_asus_rt-g32-b1.dts
index 0baa2feac9..0d4d8f4cfd 100644
--- a/target/linux/ramips/dts/rt3050_asus_rt-g32-b1.dts
+++ b/target/linux/ramips/dts/rt3050_asus_rt-g32-b1.dts
@@ -73,7 +73,8 @@
};
&ethernet {
- mtd-mac-address = <&devconf 0x4>;
+ nvmem-cells = <&macaddr_devconf_4>;
+ nvmem-cell-names = "mac-address";
};
&esw {
@@ -83,3 +84,13 @@
&wmac {
ralink,mtd-eeprom = <&devconf 0x0>;
};
+
+&devconf {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_devconf_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+};