};
&partitions {
- art: partition@ff0000 {
+ partition@ff0000 {
label = "art";
reg = <0xff0000 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>;
+ };
+
+ calibration_art_5000: calibration@5000 {
+ reg = <0x5000 0x844>;
+ };
};
};
&wmac {
status = "okay";
- nvmem-cells = <&macaddr_art_0>, <&calibration_ath9k>;
+ nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
mac-address-increment = <1>;
};
&ath10k {
status = "okay";
- nvmem-cells = <&macaddr_art_0>, <&calibration_ath10k>;
+ nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
mac-address-increment = <2>;
};
-
-&art {
- compatible = "nvmem-cells";
-
- macaddr_art_0: macaddr@0 {
- reg = <0x0 0x6>;
- };
-
- calibration_ath9k: calibration@1000 {
- reg = <0x1000 0x440>;
- };
-
- calibration_ath10k: calibration@5000 {
- reg = <0x5000 0x844>;
- };
-};