aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts')
-rw-r--r--target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts16
1 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
index 01f4cb7fde..ae4867521a 100644
--- a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
+++ b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts
@@ -157,7 +157,8 @@
#gpio-cells = <2>;
gpio-controller;
qca,no-eeprom;
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
};
};
@@ -165,7 +166,8 @@
status = "okay";
phy-mode = "rgmii";
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
phy-handle = <&phy0>;
fixed-link {
@@ -173,3 +175,13 @@
full-duplex;
};
};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};