summaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9331_onion_omega.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar9331_onion_omega.dts')
-rw-r--r--target/linux/ath79/dts/ar9331_onion_omega.dts18
1 files changed, 13 insertions, 5 deletions
diff --git a/target/linux/ath79/dts/ar9331_onion_omega.dts b/target/linux/ath79/dts/ar9331_onion_omega.dts
index 5d9e96e048..c13a33fb6c 100644
--- a/target/linux/ath79/dts/ar9331_onion_omega.dts
+++ b/target/linux/ath79/dts/ar9331_onion_omega.dts
@@ -119,10 +119,20 @@
reg = <0x020000 0xfd0000>;
};
- art: partition@ff0000 {
+ partition@ff0000 {
label = "art";
reg = <0xff0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_1000: calibration@1000 {
+ reg = <0x1000 0x440>;
+ };
+ };
};
};
};
@@ -131,8 +141,6 @@
&wmac {
status = "okay";
- mtd-cal-data = <&art 0x1000>;
-
- nvmem-cells = <&macaddr_uboot_1fc00 0>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&macaddr_uboot_1fc00 0>, <&cal_art_1000>;
+ nvmem-cell-names = "mac-address", "calibration";
};