lede/target/linux/ramips/dts/mt7621_elecom_wrc-1167gs2-b.dts
coolsnowwolf 65068ed984 Revert "treewide: convert mtd-mac-address-increment* to generic implementation"
This reverts commit 82d9b3e2c48a012278fef883dd72ca6db706ba09.
2021-07-23 00:29:52 +08:00

54 lines
853 B
Plaintext

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
#include "mt7621_elecom_wrc-gs-1pci.dtsi"
/ {
compatible = "elecom,wrc-1167gs2-b", "mediatek,mt7621-soc";
model = "ELECOM WRC-1167GS2-B";
};
&gmac0 {
mtd-mac-address = <&factory 0xfff4>;
};
&wan {
mtd-mac-address = <&factory 0xfffa>;
};
&partitions {
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0xb00000>;
};
partition@b50000 {
label = "tm_pattern";
reg = <0xb50000 0x380000>;
read-only;
};
partition@ed0000 {
label = "tm_key";
reg = <0xed0000 0x80000>;
read-only;
};
partition@f50000 {
label = "nvram";
reg = <0xf50000 0x30000>;
read-only;
};
partition@f80000 {
label = "user_data";
reg = <0xf80000 0x80000>;
read-only;
};
};
&wifi {
mtd-mac-address = <&factory 0x4>;
mtd-mac-address-increment = <(-1)>;
};