aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar7161_aruba_ap-105.dts')
-rw-r--r--target/linux/ath79/dts/ar7161_aruba_ap-105.dts19
1 files changed, 16 insertions, 3 deletions
diff --git a/target/linux/ath79/dts/ar7161_aruba_ap-105.dts b/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
index 083db183d4..8180e0d6bd 100644
--- a/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
+++ b/target/linux/ath79/dts/ar7161_aruba_ap-105.dts
@@ -103,7 +103,8 @@
ath9k0: wifi@0,11 { /* 2.4 GHz */
compatible = "pci168c,0029";
- mtd-mac-address = <&hwinfo 0x1c>;
+ nvmem-cells = <&macaddr_hwinfo_1c>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <1>;
reg = <0x8800 0 0 0 0>;
#gpio-cells = <2>;
@@ -112,7 +113,8 @@
ath9k1: wifi@0,12 { /* 5 GHz */
compatible = "pci168c,0029";
- mtd-mac-address = <&hwinfo 0x1c>;
+ nvmem-cells = <&macaddr_hwinfo_1c>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <2>;
reg = <0x9000 0 0 0 0>;
#gpio-cells = <2>;
@@ -132,7 +134,8 @@
&eth0 {
status = "okay";
- mtd-mac-address = <&hwinfo 0x1c>;
+ nvmem-cells = <&macaddr_hwinfo_1c>;
+ nvmem-cell-names = "mac-address";
pll-data = <0x00110000 0x00001099 0x00991099>;
@@ -179,3 +182,13 @@
};
};
};
+
+&hwinfo {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_hwinfo_1c: macaddr@1c {
+ reg = <0x1c 0x6>;
+ };
+};