read-only;
};
- art: partition@fe0000 {
+ partition@fe0000 {
label = "art";
reg = <0xfe0000 0x10000>;
read-only;
+
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ calibration_art_1000: calibration@1000 {
+ reg = <0x1000 0x440>;
+ };
+
+ calibration_art_5000: calibration@5000 {
+ reg = <0x5000 0x440>;
+ };
};
- addr: partition@ff0000 {
+ partition@ff0000 {
label = "addr";
reg = <0xff0000 0x10000>;
read-only;
+
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_addr_0: macaddr@0 {
+ reg = <0x0 0x6>;
+ };
};
};
};
ath9k: wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
- qca,no-eeprom;
- nvmem-cells = <&macaddr_addr_0>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&macaddr_addr_0>, <&calibration_art_5000>;
+ nvmem-cell-names = "mac-address", "calibration";
mac-address-increment = <0x10>;
#gpio-cells = <2>;
gpio-controller;
&wmac {
status = "okay";
- mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_addr_0>;
- nvmem-cell-names = "mac-address";
+ nvmem-cells = <&macaddr_addr_0>, <&calibration_art_1000>;
+ nvmem-cell-names = "mac-address", "calibration";
};
&mdio0 {
};
};
-&addr {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_addr_0: macaddr@0 {
- reg = <0x0 0x6>;
- };
-};