Skip to content

Commit

Permalink
WIFI-13253: Update edgecore eap111 dts file to fix eth0 and eth1 MAC …
Browse files Browse the repository at this point in the history
…addr assignment

Signed-off-by: Tanya Singh <[email protected]>
  • Loading branch information
tanyasingh-ec committed Feb 29, 2024
1 parent fea7a69 commit e6e23de
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions patches/0060-mediatek-add-edgecore-eap111-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Subject: [PATCH] mediatek: add edgecore eap111 support
Signed-off-by: John Crispin <[email protected]>
---
.../uboot-envtools/files/mediatek_filogic | 1 +
.../mediatek/dts/mt7981a-edgecore-eap111.dts | 189 +++
.../mediatek/dts/mt7981a-edgecore-eap111.dts | 194 +++
.../mediatek/files/drivers/net/phy/en8801sc.c | 1152 +++++++++++++++++
.../mediatek/files/drivers/net/phy/en8801sc.h | 255 ++++
.../filogic/base-files/etc/board.d/01_leds | 4 +
Expand Down Expand Up @@ -37,7 +37,7 @@ new file mode 100644
index 0000000000..e22c099b34
--- /dev/null
+++ b/target/linux/mediatek/dts/mt7981a-edgecore-eap111.dts
@@ -0,0 +1,189 @@
@@ -0,0 +1,194 @@
+/dts-v1/;
+
+#include "mt7981.dtsi"
Expand Down Expand Up @@ -111,7 +111,7 @@ index 0000000000..e22c099b34
+ reg = <0>;
+ phy-mode = "sgmii";
+ phy-handle = <&phy0>;
+ nvmem-cells = <&macaddr>;
+ nvmem-cells = <&macaddr1>;
+ nvmem-cell-names = "mac-address";
+ managed = "in-band-status";
+ };
Expand All @@ -121,8 +121,7 @@ index 0000000000..e22c099b34
+ reg = <1>;
+ phy-mode = "gmii";
+ phy-handle = <&int_gbe_phy>;
+ mac-address-increment = <1>;
+ nvmem-cells = <&macaddr>;
+ nvmem-cells = <&macaddr2>;
+ nvmem-cell-names = "mac-address";
+ };
+};
Expand Down Expand Up @@ -196,6 +195,12 @@ index 0000000000..e22c099b34
+ macaddr: macaddr@a {
+ reg = <0xa 0x6>;
+ };
+ macaddr1: macaddr@2a {
+ reg = <0x2a 0x6>;
+ };
+ macaddr2: macaddr@24 {
+ reg = <0x24 0x6>;
+ };
+ };
+
+ partition@380000 {
Expand Down

0 comments on commit e6e23de

Please sign in to comment.