aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/tp9343_tplink_tl-wr941hp-v1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/tp9343_tplink_tl-wr941hp-v1.dts')
-rw-r--r--target/linux/ath79/dts/tp9343_tplink_tl-wr941hp-v1.dts21
1 files changed, 17 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/tp9343_tplink_tl-wr941hp-v1.dts b/target/linux/ath79/dts/tp9343_tplink_tl-wr941hp-v1.dts
index 7451f00740..d4638f1acf 100644
--- a/target/linux/ath79/dts/tp9343_tplink_tl-wr941hp-v1.dts
+++ b/target/linux/ath79/dts/tp9343_tplink_tl-wr941hp-v1.dts
@@ -136,19 +136,32 @@
phy-handle = <&swphy0>;
- mtd-mac-address = <&config 0x8>;
- mtd-mac-address-increment = <1>;
+ nvmem-cells = <&macaddr_config_8>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <1>;
};
&eth1 {
status = "okay";
- mtd-mac-address = <&config 0x8>;
+ nvmem-cells = <&macaddr_config_8>;
+ nvmem-cell-names = "mac-address";
};
&wmac {
status = "okay";
mtd-cal-data = <&art 0x1000>;
- mtd-mac-address = <&config 0x8>;
+ nvmem-cells = <&macaddr_config_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&config {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_config_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
};