mac-address-increment is deprecated.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
};
macaddr_factory_8004: macaddr@8004 {
+ compatible = "mac-base";
reg = <0x8004 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_factory_e000: macaddr@e000 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_8004>;
+ nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_8004 2>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <2>;
};
};
};
macaddr_factory_28: macaddr@28 {
+ compatible = "mac-base";
reg = <0x28 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ðernet {
- nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cells = <&macaddr_factory_28 0>;
nvmem-cell-names = "mac-address";
};
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_28>;
+ nvmem-cells = <&eeprom_factory_8000>, <&macaddr_factory_28 3>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <3>;
};
};
&wmac {
status = "okay";
- nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_28>;
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_28 2>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <2>;
};
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
reg = <0x4 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ðernet {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
&esw {
};
&wifi5 {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 2>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(2)>;
};
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
reg = <0x4 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ðernet {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_rom_f100: macaddr@f100 {
+ compatible = "mac-base";
reg = <0xf100 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
&wmac {
status = "okay";
- nvmem-cells = <&eeprom_radio_0>, <&macaddr_rom_f100>;
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_rom_f100 0>;
nvmem-cell-names = "eeprom", "mac-address";
};
ðernet {
- nvmem-cells = <&macaddr_rom_f100>;
+ nvmem-cells = <&macaddr_rom_f100 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_factory_f100: macaddr@f100 {
+ compatible = "mac-base";
reg = <0xf100 0x6>;
+ #nvmem-cell-cells = <1>;
};
eeprom_factory_20000: eeprom@20000 {
};
};
-&wmac {
- status = "okay";
-
- nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100>;
- nvmem-cell-names = "eeprom", "mac-address";
-};
-
ðernet {
- nvmem-cells = <&macaddr_factory_f100>;
+ nvmem-cells = <&macaddr_factory_f100 0>;
nvmem-cell-names = "mac-address";
};
};
&wmac {
- mac-address-increment = <(-2)>;
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 (-2)>;
+ nvmem-cell-names = "eeprom", "mac-address";
};
&esw {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100>;
+ nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
};
};
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100>;
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
};
};
};
};
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
+
&esw {
mediatek,portmap = <0x3e>;
};
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100>;
+ nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
};
};
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100>;
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
};
};
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100>;
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_rom_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
};
};
#size-cells = <1>;
macaddr_config_2008: macaddr@2008 {
+ compatible = "mac-base";
reg = <0x2008 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
ðernet {
- nvmem-cells = <&macaddr_config_2008>;
+ nvmem-cells = <&macaddr_config_2008 0>;
nvmem-cell-names = "mac-address";
};
&wmac {
status = "okay";
- nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_2008>;
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_2008 1>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <1>;
};
&pcie {
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008>;
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008 2>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <2>;
};
};
#size-cells = <1>;
macaddr_config_10008: macaddr@10008 {
+ compatible = "mac-base";
reg = <0x10008 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
&wlan5g {
- nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008>;
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008 2>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <2>;
};
&wmac {
- nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008>;
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008 1>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <1>;
};
ðernet {
- nvmem-cells = <&macaddr_config_10008>;
+ nvmem-cells = <&macaddr_config_10008 0>;
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_config_2008: macaddr@2008 {
+ compatible = "mac-base";
reg = <0x2008 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
&wlan5g {
- nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008>;
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008 (-2)>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-2)>;
};
&wmac {
- nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_2008>;
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_2008 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
};
ðernet {
- nvmem-cells = <&macaddr_config_2008>;
+ nvmem-cells = <&macaddr_config_2008 0>;
nvmem-cell-names = "mac-address";
};
};
};
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
+
&esw {
mediatek,portmap = <0x3e>;
};
function = "gpio";
};
};
+
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
};
ðernet {
- nvmem-cells = <&macaddr_factory_f100>;
+ nvmem-cells = <&macaddr_factory_f100 0>;
nvmem-cell-names = "mac-address";
};
+
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
};
};
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
+
&esw {
mediatek,portmap = <0x3e>;
};
};
};
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
+
&esw {
mediatek,portmap = <0x3e>;
};
};
};
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
+
&esw {
mediatek,portmap = <0x3e>;
};
};
};
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
+
&esw {
mediatek,portmap = <0x3e>;
};
};
};
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
+
&pcie {
status = "okay";
};
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
- nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100>;
+ nvmem-cells = <&eeprom_factory_28000>, <&macaddr_factory_f100 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
};
};
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
reg = <0x4 0x6>;
+ #nvmem-cell-cells = <1>;
};
macaddr_factory_28: macaddr@28 {
};
ðernet {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
&esw {
};
ðernet {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 (-1)>;
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
};
&esw {