aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi')
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi29
1 files changed, 18 insertions, 11 deletions
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi
index c70a1c02db..02166a26eb 100644
--- a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap.dtsi
@@ -68,15 +68,32 @@
read-only;
};
- art: partition@7f0000 {
+ partition@7f0000 {
label = "art";
reg = <0x7f0000 0x010000>;
read-only;
+
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_art_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
+
+ calibration_art_1000: calibration@1000 {
+ reg = <0x1000 0x440>;
+ };
};
};
};
};
+&wifi {
+ nvmem-cells = <&calibration_art_1000>;
+ nvmem-cell-names = "calibration";
+};
+
&eth0 {
nvmem-cells = <&macaddr_art_0>;
nvmem-cell-names = "mac-address";
@@ -85,13 +102,3 @@
&eth1 {
compatible = "syscon", "simple-mfd";
};
-
-&art {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_art_0: macaddr@0 {
- reg = <0x0 0x6>;
- };
-};