diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2024-05-09 22:10:52 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2024-05-16 13:11:08 +0300 |
commit | 9c84d619fcf31b810cdea18d751a4418d956da81 (patch) | |
tree | 71f13629627194655832f8e4fde983d42d2d59f6 /target/linux/ramips | |
parent | ff3d0de095065fe642177940c055825f859e5a07 (diff) | |
download | openwrt-9c84d619fcf31b810cdea18d751a4418d956da81.tar.gz openwrt-9c84d619fcf31b810cdea18d751a4418d956da81.tar.bz2 openwrt-9c84d619fcf31b810cdea18d751a4418d956da81.zip |
ramips: Fix use mac-base for TP-Link TL-MR6400 v4 and v5
Use mac-base for mac-base TP-Link TL-MR6400 v4 and v5
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v4.dts | 6 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v5.dts | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v4.dts index 19783274e7..67cc54650f 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v4.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v4.dts @@ -91,12 +91,12 @@ &wmac { status = "okay"; - nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_1f100>; + nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_1f100 0>; nvmem-cell-names = "eeprom", "mac-address"; }; ðernet { - nvmem-cells = <&macaddr_factory_1f100>; + nvmem-cells = <&macaddr_factory_1f100 0>; nvmem-cell-names = "mac-address"; }; @@ -107,7 +107,9 @@ #size-cells = <1>; macaddr_factory_1f100: macaddr@1f100 { + compatible = "mac-base"; reg = <0x1f100 0x6>; + #nvmem-cell-cells = <1>; }; }; }; diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v5.dts index 857e61f614..609452dfe1 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v5.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-mr6400-v5.dts @@ -91,12 +91,12 @@ &wmac { status = "okay"; - nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_1f100>; + nvmem-cells = <&eeprom_factory_20000>, <&macaddr_factory_1f100 0>; nvmem-cell-names = "eeprom", "mac-address"; }; ðernet { - nvmem-cells = <&macaddr_factory_1f100>; + nvmem-cells = <&macaddr_factory_1f100 0>; nvmem-cell-names = "mac-address"; }; @@ -107,7 +107,9 @@ #size-cells = <1>; macaddr_factory_1f100: macaddr@1f100 { + compatible = "mac-base"; reg = <0x1f100 0x6>; + #nvmem-cell-cells = <1>; }; }; }; |