aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_iptime.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_iptime.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7620a_iptime.dtsi13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_iptime.dtsi b/target/linux/ramips/dts/mt7620a_iptime.dtsi
index c7c90ca722..3e2378aa60 100644
--- a/target/linux/ramips/dts/mt7620a_iptime.dtsi
+++ b/target/linux/ramips/dts/mt7620a_iptime.dtsi
@@ -49,7 +49,8 @@
};
&ethernet {
- mtd-mac-address = <&uboot 0x1fc20>;
+ nvmem-cells = <&macaddr_uboot_1fc20>;
+ nvmem-cell-names = "mac-address";
};
&ehci {
@@ -84,3 +85,13 @@
ralink,mtd-eeprom = <&uboot 0x1f400>;
};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc20: macaddr@1fc20 {
+ reg = <0x1fc20 0x6>;
+ };
+};