Hi Albert,
Make sure the settings
Step 1:
drivers/net/tsec.c
I removed TBICR_ANEG_ENABLE option from TBICR_ANEG_ENABLE macro
The edited one looks like this.
#ifndef CONFIG_TSEC_TBICR_SETTINGS
#define CONFIG_TSEC_TBICR_SETTINGS ( \
TBICR_PHY_RESET \
/* TBICR_ANEG_ENABLE */
| TBICR_FULL_DUPLEX \
| TBICR_SPEED1_SET \
)
#endif /* CONFIG_TSEC_TBICR_SETTINGS */
Step 2:
In your dts change the tsec of your mdio to tbi PHY.
mdio0: mdio@e1120 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "fsl,fman-mdio";
reg = <0xe1120 0xee0>;
interrupts = <26 1 0 0>;
tbi0: tbi-phy@8 {
reg = <0x8>;
device_type = "tbi-phy";
};
};
Check you PHY address in the following:
=> mii info
PHY 0x04: OUI = 0x5043, Model = 0x1C, Rev = 0x00, 10baseT, HDX
PHY 0x05: OUI = 0x5043, Model = 0x1C, Rev = 0x00, 10baseT, HDX
PHY 0x06: OUI = 0x5043, Model = 0x1C, Rev = 0x00, 10baseT, HDX
PHY 0x07: OUI = 0x5043, Model = 0x1C, Rev = 0x00, 10baseT, HDX
PHY 0x08: OUI = 0x0000, Model = 0x00, Rev = 0x00, 1000baseX, FDX
PHY 0x09: OUI = 0x5043, Model = 0x1C, Rev = 0x00, 10baseT, HDX
PHY 0x0A: OUI = 0x5043, Model = 0x1C, Rev = 0x00, 10baseT, HDX
PHY 0x0B: OUI = 0x5043, Model = 0x1C, Rev = 0x00, 10baseT, HDX
In this ours is PHY 0x08.