aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi')
-rw-r--r--target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi19
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi b/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi
index f8b4d0385a..262c6f713e 100644
--- a/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi
+++ b/target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi
@@ -80,11 +80,13 @@
};
&ath9k {
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
};
&wmac {
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <(-1)>;
};
@@ -115,8 +117,19 @@
/* default for ar934x, except for 1000M */
pll-data = <0x06000000 0x00000101 0x00001616>;
- mtd-mac-address = <&uboot 0x1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cell-names = "mac-address";
phy-mode = "rgmii";
phy-handle = <&phy0>;
};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_1fc00: macaddr@1fc00 {
+ reg = <0x1fc00 0x6>;
+ };
+};