ramips: fix fap640 mac addresses

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2023-05-25 10:54:51 +02:00
parent d9e62da73d
commit b30bcf501a

View File

@@ -1,4 +1,4 @@
From dbd1fbf93aa42f4bd69ec6af4c4741229f5d7005 Mon Sep 17 00:00:00 2001
From a508da9dd0951d42064b8054f5a6e37c6c8bc3ba Mon Sep 17 00:00:00 2001
From: Volodymyr Puiul <volodymyr.puiul@gmail.com>
Date: Thu, 8 Dec 2022 15:20:40 +0100
Subject: [PATCH] ramips: add support for YunCore FAP640
@@ -51,18 +51,18 @@ lan: 44:xx:xx:b7:xx:xx
Signed-off-by: Volodymyr Puiul <volodymyr.puiul@gmail.com>
---
.../ramips/dts/mt7621_yuncore_fap640.dts | 198 ++++++++++++++++++
.../ramips/dts/mt7621_yuncore_fap640.dts | 200 ++++++++++++++++++
target/linux/ramips/image/mt7621.mk | 10 +
.../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 5 +
3 files changed, 213 insertions(+)
3 files changed, 215 insertions(+)
create mode 100644 target/linux/ramips/dts/mt7621_yuncore_fap640.dts
diff --git a/target/linux/ramips/dts/mt7621_yuncore_fap640.dts b/target/linux/ramips/dts/mt7621_yuncore_fap640.dts
new file mode 100644
index 0000000000..b48546d825
index 0000000000..05d03c9c9c
--- /dev/null
+++ b/target/linux/ramips/dts/mt7621_yuncore_fap640.dts
@@ -0,0 +1,198 @@
@@ -0,0 +1,200 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "mt7621.dtsi"
@@ -214,6 +214,8 @@ index 0000000000..b48546d825
+ reg = <0x0000 0 0 0 0>;
+ mediatek,mtd-eeprom = <&factory 0x0>;
+ mediatek,disable-radar-background;
+ mtd-mac-address = <&factory 0x4>;
+ mtd-mac-address-increment = <1>;
+ };
+};
+
@@ -250,7 +252,7 @@ index 0000000000..b48546d825
+ status = "okay";
+ label = "wan";
+ mtd-mac-address = <&factory 0x4>;
+ mtd-mac-address-increment = <1>;
+ // mtd-mac-address-increment = <1>;
+ };
+ };
+};
@@ -297,5 +299,5 @@ index 157e706534..be7b226c32 100644
+ ;;
esac
--
2.25.1
2.34.1