Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Plutonium141 authored Sep 6, 2022
1 parent 331bece commit 11a0226
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions mt7621_xiaomi_mi-router-4a-3g-v2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
led-failsafe = &led_status_yellow;
led-running = &led_status_blue;
led-upgrade = &led_status_yellow;
label-mac-device = &gmac1;
label-mac-device = &wan;
};

chosen {
Expand Down Expand Up @@ -110,21 +110,6 @@
nvmem-cell-names = "mac-address";
};

&gmac1 {
status = "okay";
label = "wan";
phy-handle = <&ethphy4>;

nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};

&mdio {
ethphy4: ethernet-phy@4 {
reg = <4>;
};
};

&switch0 {
ports {
port@2 {
Expand All @@ -136,6 +121,13 @@
status = "okay";
label = "lan1";
};

wan: port@4 {
status = "okay";
label = "wan";
nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};
};
};

Expand Down

0 comments on commit 11a0226

Please sign in to comment.