Creating this post as reference to anyone else trying to get the second Ethernet PHY on the TE0706 working.
Hardware:
- Module: TE0715-04-15-1I3
- Carrier: TE0706
Tools:
- Vivado: 2018.3
- Petalinux: 2018.3
References:
This post was my initial reference:
https://forum.trenz-electronic.de/index.php/topic,789.msg3458.html#msg3458
This reference design was my starting point:
https://shop.trenz-electronic.de/en/Download/?path=Trenz_Electronic/TE0720/Reference_Design/2016.2/carrier_te0706_eth
Vivado Changes:
- Modified the pinout from the reference project to match the TE0715
- For the TE0715, all IO needs to be set to 1.8V. This involves updating the constraints to set the correct IO standard. It also means changing the jumpers on the TE0706 to 1.8V
Petalinux Changes:
- Updated my system-user.dtsi to add the following to gem1 in device tree: gmii2rgmii-phy-handle = <&gmii_to_rgmii_0>;
&gem1 {
gmii2rgmii-phy-handle = <&gmii_to_rgmii_0>;
};
- In kernel config (petalinux-config -c kernel), added support for GMII2RGMII driver
I am not sure if all of the above are required to make it work as I haven't gone back through and removed each change to test. I did try a variety of other suggestions posted on the Xilinx forums but they seemed to cause more problems. I assume those suggestions are for older version of Vivado/Petalinux or different hardware platforms.