aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts')
-rw-r--r--target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts15
1 files changed, 13 insertions, 2 deletions
diff --git a/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts b/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts
index 62e2e7f4cb..6d77be532b 100644
--- a/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts
+++ b/target/linux/mediatek/dts/mt7622-buffalo-wsr-2533dhp2.dts
@@ -218,8 +218,9 @@
phy-connection-type = "2500base-x";
- mtd-mac-address = <&factory 0x4>;
- mtd-mac-address-increment = <(-1)>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
+ mac-address-increment = <(-1)>;
fixed-link {
speed = <2500>;
@@ -337,3 +338,13 @@
&rtc {
status = "disabled";
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
+};