Hi:
I'm developing my product based on NXP ls1028 platform (openil 1-10). The baseboard is equipped with ar8033 and vsc8514, but the log always gives generic PHY. How can I add Ethernet PHY?Could you please help me out in resolving this issue?
=> mdio list
enetc-0:
emdio-3:
2 - Generic PHY <--> enetc-0
10 - Generic PHY <--> swp0
11 - Generic PHY <--> swp1
12 - Generic PHY <--> swp2
13 - Generic PHY <--> swp3
dts:
&enetc0 {
status = "okay";
phy-mode = "sgmii";
phy-handle = <&rdb_phy0>;
phy-reset-duration = <10>;
phy-reset-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
};
ðsw_ports {
port@0 {
status = "okay";
phy-mode = "qsgmii";
phy-handle = <&sw_phy0>;
};
port@1 {
status = "okay";
phy-mode = "qsgmii";
phy-handle = <&sw_phy1>;
};
port@2 {
status = "okay";
phy-mode = "qsgmii";
phy-handle = <&sw_phy2>;
};
port@3 {
status = "okay";
phy-mode = "qsgmii";
phy-handle = <&sw_phy3>;
};
};
&mdio0 {
status = "okay";
rdb_phy0: phy@2 {
reg = <2>;
};
sw_phy0: phy@10 {
reg = <0x10>;
};
sw_phy1: phy@11 {
reg = <0x11>;
};
sw_phy2: phy@12 {
reg = <0x12>;
};
sw_phy3: phy@13 {
reg = <0x13>;
};
};