compileable, unsure if working
This commit is contained in:
parent
0a66e440fe
commit
66831e86ca
@ -23,6 +23,9 @@
|
|||||||
|
|
||||||
#include "qcom-ipq4019-ap.dk04.1.dtsi"
|
#include "qcom-ipq4019-ap.dk04.1.dtsi"
|
||||||
|
|
||||||
|
/* Delete the upstream single gmac node */
|
||||||
|
/delete-node/ &gmac;
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
|
|
||||||
model = "TRENDnet TEW-829DRU";
|
model = "TRENDnet TEW-829DRU";
|
||||||
@ -46,10 +49,8 @@
|
|||||||
mtd10 = &overlay_part;
|
mtd10 = &overlay_part;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Delete the upstream single gmac node */
|
soc {
|
||||||
/delete-node/ &gmac;
|
|
||||||
|
|
||||||
&soc {
|
|
||||||
edma: ethernet@c080000 {
|
edma: ethernet@c080000 {
|
||||||
compatible = "qcom,ess-edma";
|
compatible = "qcom,ess-edma";
|
||||||
reg = <0xc080000 0x8000>;
|
reg = <0xc080000 0x8000>;
|
||||||
@ -126,7 +127,9 @@
|
|||||||
|
|
||||||
&switch {
|
&switch {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
psgmii-ethphy = <ðphy13>;
|
||||||
|
|
||||||
/* Override: connect CPU port to edma, not upstream gmac */
|
/* Override: connect CPU port to edma, not upstream gmac */
|
||||||
ports {
|
ports {
|
||||||
port@0 {
|
port@0 {
|
||||||
@ -213,32 +216,21 @@
|
|||||||
&mdio {
|
&mdio {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
ethernet-phy-package@0 {
|
ethernet-phy-package@8 {
|
||||||
/*
|
/*
|
||||||
* QCA8075 PHYs are strapped to MDIO addresses 8-12
|
* QCA8075 PHYs are strapped to MDIO addresses 8-12
|
||||||
* on this board, NOT the upstream default of 0-4.
|
* on this board, NOT the upstream default of 0-4.
|
||||||
* Confirmed from manufacturer stock-fixed.dts.
|
* Confirmed from manufacturer stock-fixed.dts.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ethphy0: ethernet-phy@0 {
|
ethphy8: ethernet-phy@8 { reg = <8>; }; /* WAN2 */
|
||||||
reg = <8>; /* WAN2 */
|
ethphy9: ethernet-phy@9 { reg = <9>; }; /* WAN1 */
|
||||||
};
|
ethphy10: ethernet-phy@10 { reg = <10>; }; /* LAN1 */
|
||||||
|
ethphy11: ethernet-phy@11 { reg = <11>; }; /* LAN2 */
|
||||||
|
ethphy12: ethernet-phy@12 { reg = <12>; }; /* LAN3 */
|
||||||
|
|
||||||
ethphy1: ethernet-phy@1 {
|
/* PSGMII calibration PHY — base(8) + 5 = 13 */
|
||||||
reg = <9>; /* WAN1 */
|
ethphy13: ethernet-phy@13 { reg = <13>; };
|
||||||
};
|
|
||||||
|
|
||||||
ethphy2: ethernet-phy@2 {
|
|
||||||
reg = <10>; /* LAN1 */
|
|
||||||
};
|
|
||||||
|
|
||||||
ethphy3: ethernet-phy@3 {
|
|
||||||
reg = <11>; /* LAN2 */
|
|
||||||
};
|
|
||||||
|
|
||||||
ethphy4: ethernet-phy@4 {
|
|
||||||
reg = <12>; /* LAN3 */
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user