aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi')
-rw-r--r--target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi31
1 files changed, 19 insertions, 12 deletions
diff --git a/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi b/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi
index e12205c310..2be7cdb05d 100644
--- a/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi
+++ b/target/linux/ath79/dts/ar9331_alfa-network_ap121f.dtsi
@@ -96,10 +96,26 @@
reg = <0x030000 0x010000>;
};
- art: partition@40000 {
+ partition@40000 {
label = "art";
reg = <0x040000 0x010000>;
read-only;
+
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ cal_art_1000: cal@1000 {
+ reg = <0x1000 0x440>;
+ };
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ macaddr_art_1002: macaddr@1002 {
+ reg = <0x1002 0x6>;
+ };
};
partition@50000 {
@@ -122,15 +138,6 @@
&wmac {
status = "okay";
- mtd-cal-data = <&art 0x1000>;
-};
-
-&art {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_art_0: macaddr@0 {
- reg = <0x0 0x6>;
- };
+ nvmem-cells = <&cal_art_1000>, <&macaddr_art_1002>;
+ nvmem-cell-names = "calibration", "mac-address";
};