mac-address-increment is deprecated.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
26 files changed:
};
macaddr_factory_8004: macaddr@8004 {
};
macaddr_factory_8004: macaddr@8004 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
};
macaddr_factory_e000: macaddr@e000 {
};
macaddr_factory_e000: macaddr@e000 {
compatible = "mediatek,mt76";
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
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";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <2>;
};
macaddr_factory_28: macaddr@28 {
};
macaddr_factory_28: macaddr@28 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
- nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cells = <&macaddr_factory_28 0>;
nvmem-cell-names = "mac-address";
};
nvmem-cell-names = "mac-address";
};
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
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";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <3>;
- nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_28>;
+ nvmem-cells = <&eeprom_factory_0>, <&macaddr_factory_28 2>;
nvmem-cell-names = "eeprom", "mac-address";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <2>;
};
macaddr_factory_4: macaddr@4 {
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 (-1)>;
nvmem-cell-names = "mac-address";
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 2>;
nvmem-cell-names = "mac-address";
nvmem-cell-names = "mac-address";
- mac-address-increment = <(2)>;
};
macaddr_factory_4: macaddr@4 {
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 0>;
nvmem-cell-names = "mac-address";
};
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_rom_f100: macaddr@f100 {
#size-cells = <1>;
macaddr_rom_f100: macaddr@f100 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
- 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-cell-names = "eeprom", "mac-address";
};
ðernet {
- nvmem-cells = <&macaddr_rom_f100>;
+ nvmem-cells = <&macaddr_rom_f100 0>;
nvmem-cell-names = "mac-address";
};
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_factory_f100: macaddr@f100 {
#size-cells = <1>;
macaddr_factory_f100: macaddr@f100 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
};
eeprom_factory_20000: eeprom@20000 {
};
eeprom_factory_20000: eeprom@20000 {
-&wmac {
- status = "okay";
-
- nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100>;
- nvmem-cell-names = "eeprom", "mac-address";
-};
-
- nvmem-cells = <&macaddr_factory_f100>;
+ nvmem-cells = <&macaddr_factory_f100 0>;
nvmem-cell-names = "mac-address";
};
nvmem-cell-names = "mac-address";
};
- mac-address-increment = <(-2)>;
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 (-2)>;
+ nvmem-cell-names = "eeprom", "mac-address";
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
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";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
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";
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>;
};
&esw {
mediatek,portmap = <0x3e>;
};
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
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";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
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";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
wifi@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
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";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
#size-cells = <1>;
macaddr_config_2008: macaddr@2008 {
#size-cells = <1>;
macaddr_config_2008: macaddr@2008 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
- nvmem-cells = <&macaddr_config_2008>;
+ nvmem-cells = <&macaddr_config_2008 0>;
nvmem-cell-names = "mac-address";
};
&wmac {
status = "okay";
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";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <1>;
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
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";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <2>;
#size-cells = <1>;
macaddr_config_10008: macaddr@10008 {
#size-cells = <1>;
macaddr_config_10008: macaddr@10008 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
- nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008>;
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008 2>;
nvmem-cell-names = "eeprom", "mac-address";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <2>;
- nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008>;
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_10008 1>;
nvmem-cell-names = "eeprom", "mac-address";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <1>;
- nvmem-cells = <&macaddr_config_10008>;
+ nvmem-cells = <&macaddr_config_10008 0>;
nvmem-cell-names = "mac-address";
};
nvmem-cell-names = "mac-address";
};
#size-cells = <1>;
macaddr_config_2008: macaddr@2008 {
#size-cells = <1>;
macaddr_config_2008: macaddr@2008 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
- nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008>;
+ nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008 (-2)>;
nvmem-cell-names = "eeprom", "mac-address";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-2)>;
- nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_2008>;
+ nvmem-cells = <&eeprom_radio_0>, <&macaddr_config_2008 (-1)>;
nvmem-cell-names = "eeprom", "mac-address";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
- nvmem-cells = <&macaddr_config_2008>;
+ nvmem-cells = <&macaddr_config_2008 0>;
nvmem-cell-names = "mac-address";
};
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>;
};
&esw {
mediatek,portmap = <0x3e>;
};
+
+&wmac {
+ status = "okay";
+
+ nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_f100 0>;
+ nvmem-cell-names = "eeprom", "mac-address";
+};
- nvmem-cells = <&macaddr_factory_f100>;
+ nvmem-cells = <&macaddr_factory_f100 0>;
nvmem-cell-names = "mac-address";
};
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>;
};
&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>;
};
&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>;
};
&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>;
};
&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";
};
&pcie {
status = "okay";
};
mt76@0,0 {
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
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";
nvmem-cell-names = "eeprom", "mac-address";
- mac-address-increment = <(-1)>;
};
macaddr_factory_4: macaddr@4 {
};
macaddr_factory_4: macaddr@4 {
+ compatible = "mac-base";
+ #nvmem-cell-cells = <1>;
};
macaddr_factory_28: macaddr@28 {
};
macaddr_factory_28: macaddr@28 {
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 (-1)>;
nvmem-cell-names = "mac-address";
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;
- nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cells = <&macaddr_factory_4 (-1)>;
nvmem-cell-names = "mac-address";
nvmem-cell-names = "mac-address";
- mac-address-increment = <(-1)>;