aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts')
-rw-r--r--target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts19
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts b/target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts
index 2f87194375..a2ac53b996 100644
--- a/target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts
+++ b/target/linux/ath79/dts/ar9344_aerohive_hiveap-121.dts
@@ -106,7 +106,8 @@
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
- mtd-mac-address = <&hw_info 0x0>;
+ nvmem-cells = <&macaddr_hw_info_0>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <2>;
};
};
@@ -160,7 +161,8 @@
&wmac {
status = "okay";
- mtd-mac-address = <&hw_info 0x0>;
+ nvmem-cells = <&macaddr_hw_info_0>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
};
@@ -215,7 +217,8 @@
pll-data = <0x06000000 0x00000101 0x00001313>;
- mtd-mac-address = <&hw_info 0x0>;
+ nvmem-cells = <&macaddr_hw_info_0>;
+ nvmem-cell-names = "mac-address";
phy-mode = "rgmii-id";
phy-handle = <&phy0>;
@@ -227,3 +230,13 @@
rxdv-delay = <1>;
};
};
+
+&hw_info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_hw_info_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+};