How to attach Ethernet PHY other than Generic PHY

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to attach Ethernet PHY other than Generic PHY

451 Views
Eddy1
Contributor IV

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>;
};

&ethsw_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>;
};
};

Tags (1)
0 Kudos
1 Reply

432 Views
Pavel
NXP Employee
NXP Employee

Is u-boot from NXP LSDK 2012 used on your board?

0 Kudos