-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIFI-13253: Update edgecore eap111 dts file to fix eth0 and eth1 MAC …
…addr assignment Signed-off-by: Tanya Singh <[email protected]>
- Loading branch information
1 parent
fea7a69
commit e6e23de
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 + | ||
|
@@ -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" | ||
|
@@ -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"; | ||
+ }; | ||
|
@@ -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"; | ||
+ }; | ||
+}; | ||
|
@@ -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 { | ||
|