ath9k0: wifi@0,11 {
compatible = "pci168c,0029";
- nvmem-cells = <&macaddr_hwinfo_1c>;
+ nvmem-cells = <&macaddr_hwinfo_1c 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
reg = <0x8800 0 0 0 0>;
#gpio-cells = <2>;
gpio-controller;
ath9k1: wifi@0,12 {
compatible = "pci168c,0029";
- nvmem-cells = <&macaddr_hwinfo_1c>;
+ nvmem-cells = <&macaddr_hwinfo_1c 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
reg = <0x9000 0 0 0 0>;
#gpio-cells = <2>;
gpio-controller;
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_hwinfo_1c>;
+ nvmem-cells = <&macaddr_hwinfo_1c 0>;
nvmem-cell-names = "mac-address";
phy-mode = "rgmii";
#size-cells = <1>;
macaddr_hwinfo_1c: macaddr@1c {
+ compatible = "mac-base";
reg = <0x1c 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
macaddr_art_520c: macaddr@520c {
+ compatible = "mac-base";
reg = <0x520c 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_art_520c>;
+ nvmem-cells = <&macaddr_art_520c 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
phy-handle = <&phy4>;
};
compatible = "pci168c,0029";
reg = <0x8800 0 0 0 0>;
qca,no-eeprom;
- nvmem-cells = <&macaddr_config_66>;
+ nvmem-cells = <&macaddr_config_66 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
#gpio-cells = <2>;
gpio-controller;
};
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
qca,no-eeprom;
- nvmem-cells = <&macaddr_config_66>;
+ nvmem-cells = <&macaddr_config_66 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
#gpio-cells = <2>;
gpio-controller;
};
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_config_66>;
+ nvmem-cells = <&macaddr_config_66 0>;
nvmem-cell-names = "mac-address";
pll-data = <0x00110000 0x00001099 0x00991099>;
#size-cells = <1>;
macaddr_config_66: macaddr@66 {
+ compatible = "mac-base";
reg = <0x66 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
macaddr_art_520c: macaddr@520c {
+ compatible = "mac-base";
reg = <0x520c 0x6>;
+ #nvmem-cell-cells = <1>;
};
calibration_art_1000: calibration@1000 {
ath9k1: wifi@0,12 {
compatible = "pci168c,0029";
reg = <0x9000 0 0 0 0>;
- nvmem-cells = <&macaddr_art_520c>, <&calibration_art_5000>;
+ nvmem-cells = <&macaddr_art_520c 1>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <1>;
#gpio-cells = <2>;
gpio-controller;
};
#size-cells = <1>;
macaddr_art_120c: macaddr@120c {
+ compatible = "mac-base";
reg = <0x120c 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ð0 {
- nvmem-cells = <&macaddr_art_120c>;
+ nvmem-cells = <&macaddr_art_120c 0>;
nvmem-cell-names = "mac-address";
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_art_120c>;
+ nvmem-cells = <&macaddr_art_120c 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
&pcie {
compatible = "pci168c,002a";
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
- nvmem-cells = <&macaddr_art_120c>;
+ nvmem-cells = <&macaddr_art_120c 0>;
nvmem-cell-names = "mac-address";
#gpio-cells = <2>;
gpio-controller;
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_art_6: macaddr@6 {
};
ð0 {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
};
ath9k: wifi@0,0 {
compatible = "pci168c,002b";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_art_6: macaddr@6 {
};
ð0 {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
};
ath9k: wifi@0,0 {
compatible = "pci168c,002b";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
ath9k: wifi@0,0 {
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
#gpio-cells = <2>;
gpio-controller;
};
ð0 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
ð1 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
&ath9k {
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_art_6: macaddr@6 {
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
};
ath9k: wifi@0,0 {
compatible = "pci168c,002e";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_art_6: macaddr@6 {
};
ð0 {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
};
};
&ath9k {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_art_6: macaddr@6 {
};
ð0 {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
};
};
&ath9k {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
#gpio-cells = <2>;
gpio-controller;
qca,no-eeprom;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
};
ð0 { /* WAN interface, initialized last as eth1 */
status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð1 { /* LAN interface, initialized first as eth0 */
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
#gpio-cells = <2>;
gpio-controller;
qca,no-eeprom;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
};
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
ð1 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
phy-handle = <&phy4>;
ath9k: wifi@0,0,0 {
compatible = "pci168c,002a";
reg = <0x0 0 0 0 0>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
phy-handle = <&phy4>;
ath9k: wifi@0,0,0 {
compatible = "pci168c,002a";
reg = <0x0 0 0 0 0>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
qca,no-eeprom;
#gpio-cells = <2>;
gpio-controller;
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
compatible = "pci168c,002a";
reg = <0x0000 0 0 0 0>;
qca,no-eeprom;
- nvmem-cells = <&macaddr_config_66>;
+ nvmem-cells = <&macaddr_config_66 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
};
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_config_66>;
+ nvmem-cells = <&macaddr_config_66 0>;
nvmem-cell-names = "mac-address";
pll-data = <0x02000000 0x00000101 0x00001313>;
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_config_66>;
+ nvmem-cells = <&macaddr_config_66 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_config_66: macaddr@66 {
+ compatible = "mac-base";
reg = <0x66 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
};
&wmac {
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
gmac-config {
device = <&gmac>;
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
&pinmux {
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
gmac-config {
device = <&gmac>;
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_config_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
status = "okay";
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
};
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ð0 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
ð1 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
ð0 { /* WAN interface, initialized last as eth1 */
status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
gmac-config {
device = <&gmac>;
ð1 { /* LAN interface, initialized first as eth0 */
status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
status = "okay";
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
status = "okay";
phy-handle = <&swphy0>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð1 {
phy-handle = <&swphy4>;
pll-data = <0x06000000 0x00000101 0x00001616>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
gmac-config {
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ð0 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
ð1 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ð0 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
ð1 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ð0 {
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
ð1 {
phy-handle = <&swphy4>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ð0 { // WAN port, initialized last as eth1
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð1 { // LAN ports, initialized first as eth0
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
&wmac {
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_hw_info_0>;
+ nvmem-cells = <&macaddr_hw_info_0 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
};
};
#size-cells = <1>;
macaddr_hw_info_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&wmac {
status = "okay";
- nvmem-cells = <&macaddr_hw_info_0>;
+ nvmem-cells = <&macaddr_hw_info_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
&nand {
pll-data = <0x06000000 0x00000101 0x00001313>;
- nvmem-cells = <&macaddr_hw_info_0>;
+ nvmem-cells = <&macaddr_hw_info_0 0>;
nvmem-cell-names = "mac-address";
phy-mode = "rgmii-id";
ð0 {
status = "okay";
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
phy-handle = <&phy0>;
ath9k: wifi@0,0,0 {
compatible = "pci168c,0030";
reg = <0x0 0 0 0 0>;
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
+ nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <1>;
ieee80211-freq-limit = <2402000 2482000>;
#gpio-cells = <2>;
gpio-controller;
ieee80211-freq-limit = <4900000 5990000>;
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
+ nvmem-cells = <&macaddr_art_0 2>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <2>;
};
&art {
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
calibration_art_1000: calibration@1000 {
#size-cells = <1>;
macaddr_art_1002: macaddr@1002 {
+ compatible = "mac-base";
reg = <0x1002 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
pll-data = <0x02000000 0x00000101 0x00001616>;
- nvmem-cells = <&macaddr_art_1002>;
+ nvmem-cells = <&macaddr_art_1002 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
phy-mode = "rgmii";
phy-handle = <&phy0>;
};
ð0 {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 (-2)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-2)>;
};
&pcie {
wifi@0,0,0 {
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
+ nvmem-cells = <&macaddr_art_0 0>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
};
};
&wmac {
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
+ nvmem-cells = <&macaddr_art_0 (-1)>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <(-1)>;
};
&art {
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
calibration_art_1000: calibration@1000 {
};
ð0 {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
};
&pcie {
wifi@0,0,0 {
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
+ nvmem-cells = <&macaddr_art_0 (-2)>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <(-2)>;
};
};
&wmac {
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
+ nvmem-cells = <&macaddr_art_0 (-1)>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <(-1)>;
};
&art {
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
calibration_art_1000: calibration@1000 {
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
calibration_art_1000: calibration@1000 {
pll-data = <0x02000000 0x00000101 0x00001313>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
phy-mode = "rgmii-id";
&wmac {
status = "okay";
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
+ nvmem-cells = <&macaddr_art_0 1>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <1>;
};
&pcie {
ath9k: wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
+ nvmem-cells = <&macaddr_art_0 8>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <8>;
gpio-controller;
#gpio-cells = <2>;
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
calibration_art_1000: calibration@1000 {
pll-data = <0x02000000 0x00000101 0x00001313>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
phy-mode = "rgmii-id";
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
&wmac {
status = "okay";
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
+ nvmem-cells = <&macaddr_art_0 2>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <2>;
};
&pcie {
wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
+ nvmem-cells = <&macaddr_art_0 16>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <16>;
};
};
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
ath9k: wifi@0,0 {
compatible = "168c,0030";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 (-2)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-2)>;
mtd-cal-data = <&art 0x5000>;
qca,no-eeprom;
ieee80211-freq-limit = <2402000 2482000>;
ieee80211-freq-limit = <4900000 5990000>;
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
&mdio0 {
/* default for ar934x, except for 1000M */
pll-data = <0x06000000 0x00000101 0x00001616>;
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 0>;
nvmem-cell-names = "mac-address";
phy-mode = "rgmii";
phy-handle = <&swphy4>;
- nvmem-cells = <&macaddr_pridata_400>;
+ nvmem-cells = <&macaddr_pridata_400 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_pridata_400>;
+ nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
gmac-config {
phy-handle = <&swphy4>;
- nvmem-cells = <&macaddr_pridata_400>;
+ nvmem-cells = <&macaddr_pridata_400 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_pridata_400>;
+ nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
gmac-config {
pll-data = <0x06000000 0x00000101 0x00001616>;
- nvmem-cells = <&macaddr_pridata_400>;
+ nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
phy-mode = "rgmii";
pll-data = <0x06000000 0x00000101 0x00001616>;
- nvmem-cells = <&macaddr_pridata_400>;
+ nvmem-cells = <&macaddr_pridata_400 0>;
nvmem-cell-names = "mac-address";
phy-mode = "rgmii";
#size-cells = <1>;
macaddr_pridata_400: macaddr@400 {
+ compatible = "mac-base";
reg = <0x400 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
phy-handle = <&swphy0>;
- nvmem-cells = <&macaddr_art_1002>;
+ nvmem-cells = <&macaddr_art_1002 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
gmac-config {
device = <&gmac>;
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_art_1002>;
+ nvmem-cells = <&macaddr_art_1002 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_art_1002: macaddr@1002 {
+ compatible = "mac-base";
reg = <0x1002 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
phy-handle = <&swphy4>;
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 0>;
nvmem-cell-names = "mac-address";
};
phy-handle = <&swphy4>;
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_config_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
status = "okay";
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_config_0>;
+ nvmem-cells = <&macaddr_config_0 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
};
&pinmux {
status = "okay";
};
-&ath9k {
- mac-address-increment = <1>;
+&wmac {
+ status = "okay";
+ nvmem-cells = <&macaddr_uboot_1fc00 0>, <&cal_art_1000>;
+ nvmem-cell-names = "mac-address", "calibration";
+};
+
+&pcie {
+ status = "okay";
+
+ ath9k: wifi@0,0 {
+ compatible = "pci168c,0033";
+ reg = <0x0000 0 0 0 0>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ nvmem-cells = <&macaddr_uboot_1fc00 1>, <&cal_art_5000>;
+ nvmem-cell-names = "mac-address", "calibration";
+ };
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
gmac-config {
device = <&gmac>;
phy-handle = <&swphy4>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <2>;
};
};
&wmac {
- mac-address-increment = <(-1)>;
+ status = "okay";
+ nvmem-cells = <&macaddr_uboot_1fc00 (-1)>, <&cal_art_1000>;
+ nvmem-cell-names = "mac-address", "calibration";
+};
+
+&pcie {
+ status = "okay";
+
+ ath9k: wifi@0,0 {
+ compatible = "pci168c,0033";
+ reg = <0x0000 0 0 0 0>;
+ #gpio-cells = <2>;
+ gpio-controller;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>, <&cal_art_5000>;
+ nvmem-cell-names = "mac-address", "calibration";
+ };
};
&mdio0 {
/* default for ar934x, except for 1000M */
pll-data = <0x06000000 0x00000101 0x00001616>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
phy-mode = "rgmii";
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
};
};
-
-&pcie {
- status = "okay";
-
- ath9k: wifi@0,0 {
- compatible = "pci168c,0033";
- reg = <0x0000 0 0 0 0>;
- #gpio-cells = <2>;
- gpio-controller;
- nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_5000>;
- nvmem-cell-names = "mac-address", "calibration";
- };
-};
-
-&wmac {
- status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>, <&cal_art_1000>;
- nvmem-cell-names = "mac-address", "calibration";
-};
#size-cells = <1>;
macaddr_uboot_1fc00: macaddr@1fc00 {
+ compatible = "mac-base";
reg = <0x1fc00 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
mtd-cal-data = <&art 0x1000>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
};
phy-handle = <&swphy0>;
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 1>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <1>;
};
ð1 {
status = "okay";
- nvmem-cells = <&macaddr_uboot_1fc00>;
+ nvmem-cells = <&macaddr_uboot_1fc00 0>;
nvmem-cell-names = "mac-address";
gmac-config {
};
ð0 {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 (-2)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-2)>;
};
&pcie {
&wmac {
/delete-property/ ieee80211-freq-limit;
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
+ nvmem-cells = <&macaddr_art_0 (-2)>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <(-2)>;
};
&art {
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
calibration_art_1000: calibration@1000 {
};
ð0 {
- nvmem-cells = <&macaddr_art_0>;
+ nvmem-cells = <&macaddr_art_0 (-2)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-2)>;
};
&pcie {
wifi@0,0,0 {
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_5000>;
+ nvmem-cells = <&macaddr_art_0 (-1)>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <(-1)>;
};
};
&wmac {
- nvmem-cells = <&macaddr_art_0>, <&calibration_art_1000>;
+ nvmem-cells = <&macaddr_art_0 (-2)>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <(-2)>;
};
&art {
#size-cells = <1>;
macaddr_art_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
calibration_art_1000: calibration@1000 {
#size-cells = <1>;
macaddr_addr_0: macaddr@0 {
+ compatible = "mac-base";
reg = <0x0 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
ath9k: wifi@0,0 {
compatible = "pci168c,0030";
reg = <0x0000 0 0 0 0>;
- nvmem-cells = <&macaddr_addr_0>, <&calibration_art_5000>;
+ nvmem-cells = <&macaddr_addr_0 0x10>, <&calibration_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <0x10>;
#gpio-cells = <2>;
gpio-controller;
};
&wmac {
status = "okay";
- nvmem-cells = <&macaddr_addr_0>, <&calibration_art_1000>;
+ nvmem-cells = <&macaddr_addr_0 0>, <&calibration_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
};
pll-data = <0xe000000 0x04000101 0x04001313>;
- nvmem-cells = <&macaddr_addr_0>;
+ nvmem-cells = <&macaddr_addr_0 0x21>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <0x21>;
phy-mode = "rgmii-rxid";
phy-handle = <&phy4>;