UPGRADE YOUR BROWSER
We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!
11-09-2016 04:57 AM - edited 11-09-2016 05:02 AM
I'm trying to find info on the required and optional bindings of for the GMII2RGMII IP block, which I'm using on my Zynq GEM1 interface.
I'm looking under linux-xlnx/Documentation/devicetree/bindings, but no success.
on this link I've found some example, but it seems old, the compatible = "xlnx,gmii2rgmii" string seems to be deprecated (?)
ps7_ethernet_1: ps7-ethernet@e000c00 { #address-cells = <1>; #size-cells = <0>; compatible = "xlnx,ps7-ethernet-1.00.a"; gmii2rgmii-phy-handle = <&phy1>; interrupt-parent = <&ps7_scugic_0>; interrupts = < 0 45 1 >; local-mac-address = [ 00 0a 35 00 00 00 ]; phy-handle = <&phy0>; phy-mode = "gmii"; reg = < 0xe000c000 0x1000 >; xlnx,enet-clk-freq-hz = <0x7735940>; xlnx,enet-reset = <0xffffffff>; xlnx,enet-slcr-1000mbps-div0 = <0x1>; xlnx,enet-slcr-1000mbps-div1 = <0x1>; xlnx,enet-slcr-100mbps-div0 = <0x1>; xlnx,enet-slcr-100mbps-div1 = <0x5>; xlnx,enet-slcr-10mbps-div0 = <0x1>; xlnx,enet-slcr-10mbps-div1 = <0x32>; xlnx,eth-mode = <0x0>; xlnx,has-mdio = <0x1>; xlnx,ptp-enet-clock = <111111115>; mdio { #address-cells = <1>; #size-cells = <0>; phy0: phy@7 { compatible = "marvell,88e1116r"; device_type = "ethernet-phy"; reg = <7>; } ; phy1: phy@8 { compatible = "xlnx,gmii2rgmii"; device_type = "ethernet-phy"; reg = <8>; } ; } ; } ;
11-09-2016 07:10 AM
Yes, the compatible string "xlnx,gmii2rgmii" doesn't exist in kernel 4.4. Looks like "xlnx,ps7-ethernet-1.00.a" should work. All the gmii2rgmii_phy functionality is in xlinix_emacps.c now.
11-13-2017 11:59 PM - edited 11-14-2017 12:00 AM
@rgrossman, coming back to this post ... I'm still having trouble getting my eth1 with GMII2RGMII convertor to work, see this new thread that I started.
I'm currently using Petalinux 2017.2, which uses kernel 4.9
Do you happen to have a device tree example for such eth + gmii2rgmii node? If so would you mind sharing it?