mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
mediatek-sdk: Support AN8801SB PHY for EAP112
Signed-off-by: Sebastian Huang <sebastian_huang@accton.com>
This commit is contained in:
committed by
John Crispin
parent
6ed93db422
commit
5c892e7a0c
@@ -169,7 +169,8 @@
|
|||||||
compatible = "mediatek,eth-mac";
|
compatible = "mediatek,eth-mac";
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
phy-handle = <&phy1>; // add phy handler
|
phy-handle = <&phy30>;
|
||||||
|
phy-handle2 = <&phy1>;
|
||||||
mtd-mac-address = <&factory 0x24>;
|
mtd-mac-address = <&factory 0x24>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -193,6 +194,16 @@
|
|||||||
nvmem-cell-names = "phy-cal-data";
|
nvmem-cell-names = "phy-cal-data";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
phy30: ethernet-phy@30 { // AN8801SB
|
||||||
|
compatible = "ethernet-phy-idc0ff.0421";
|
||||||
|
reg = <30>; //0x1e
|
||||||
|
phy-mode = "sgmii";
|
||||||
|
full-duplex;
|
||||||
|
pause;
|
||||||
|
airoha,surge = <0>;
|
||||||
|
airoha,polarity = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
phy1: ethernet-phy@1 {
|
phy1: ethernet-phy@1 {
|
||||||
compatible = "ethernet-phy-id03a2.9471";
|
compatible = "ethernet-phy-id03a2.9471";
|
||||||
reg = <24>; // set phy address to 0x18
|
reg = <24>; // set phy address to 0x18
|
||||||
@@ -200,9 +211,8 @@
|
|||||||
reset-assert-us = <600>;
|
reset-assert-us = <600>;
|
||||||
reset-deassert-us = <20000>;
|
reset-deassert-us = <20000>;
|
||||||
phy-mode = "sgmii";
|
phy-mode = "sgmii";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&hnat {
|
&hnat {
|
||||||
|
|||||||
Reference in New Issue
Block a user