summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2023-11-23 18:59:35 -0800
committerChristian Marangi <ansuelsmth@gmail.com>2023-11-25 23:58:44 +0100
commite8084a3c3b94adcff6c9f62554cf8d9d1871fe25 (patch)
tree3f830c319717cd795c0b23702ebba45e7c7f5e6a /target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
parent0a1d15642fa6b4eba45104a4b7bbeb202162f9a5 (diff)
downloadopenwrt-e8084a3c3b94adcff6c9f62554cf8d9d1871fe25.tar.gz
openwrt-e8084a3c3b94adcff6c9f62554cf8d9d1871fe25.tar.bz2
openwrt-e8084a3c3b94adcff6c9f62554cf8d9d1871fe25.zip
ramips: mt7628: use mac-base
mac-address-increment is deprecated. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi b/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
index fee3935fdf..a5c9267c8d 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
+++ b/target/linux/ramips/dts/mt7628an_tplink_8m-split-uboot.dtsi
@@ -63,7 +63,9 @@
#size-cells = <1>;
macaddr_rom_f100: macaddr@f100 {
+ compatible = "mac-base";
reg = <0xf100 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
@@ -99,12 +101,12 @@
&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";
};
&ethernet {
- nvmem-cells = <&macaddr_rom_f100>;
+ nvmem-cells = <&macaddr_rom_f100 0>;
nvmem-cell-names = "mac-address";
};