RGMII doesn't work with ksz9031

Thanks!
I tried it. And it can work now.
I refer to

and

and

There are two ways can make it works.
way #1:
add “fixed-link” to file “platform/t23x/concord/kernel-dts/cvb/tegra234-ethernet-3737-0000.dtsi”.
fixed-link{
speed = <1000>;
full-duplex;
}
then comment phy-handle.
//phy-handle = <&rgmii_phy>;
then it can work, But only fixed speed to 1000Mbps.If I want to use 100Mbps,I should change speed = <100>.

way #2:
I Changed the tegra_defconfig . Let “CONFIG_MICREL_PHY=y”, Because I use ksz9031.
Then I changed tegra234-ethernet-3737-0000.dtsi almost like this:
tegra234-ethernet-3737-0000.dtsi (1.7 KB)

Then it can word with both 100Mbps and 1000Mbps.

Thanks!

1 Like