ramips: mt7621-dts: move wan port to gmac1 YunCore FAP-640

move wan port to gmac1 to achieve 2Gbps CPU bandwidth between wan and
lan on YunCore FAP-640

Signed-off-by: Volodymyr Puiul <volodymyr.puiul@gmail.com>
This commit is contained in:
Volodymyr Puiul 2023-06-10 18:23:17 +04:00 committed by Hauke Mehrtens
parent 7b4a966de8
commit 47c2d50c03

View File

@ -148,10 +148,26 @@
}; };
&gmac0 { &gmac0 {
nvmem-cells = <&macaddr_factory_e006>;
nvmem-cell-names = "mac-address";
};
&gmac1 {
status = "okay";
label = "wan";
phy-handle = <&ethphy4>;
nvmem-cells = <&macaddr_factory_0004>; nvmem-cells = <&macaddr_factory_0004>;
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&mdio {
ethphy4: ethernet-phy@4 {
reg = <4>;
};
};
&switch0 { &switch0 {
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
@ -176,13 +192,6 @@
status = "okay"; status = "okay";
label = "lan1"; label = "lan1";
}; };
port@4 {
status = "okay";
label = "wan";
nvmem-cells = <&macaddr_factory_0004>;
nvmem-cell-names = "mac-address";
};
}; };
}; };
@ -201,5 +210,9 @@
macaddr_factory_0004: macaddr@0004 { macaddr_factory_0004: macaddr@0004 {
reg = <0x0004 0x6>; reg = <0x0004 0x6>;
}; };
macaddr_factory_e006: macaddr@e006 {
reg = <0xe006 0x6>;
};
}; };