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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer sasisaketh
Observer
554 Views
Registered: ‎09-23-2016

DTS for Gigabit ethernet controller in Zynq 7020

Hi,

 

The 2 GigE controllers of Zynq 7020 are being used in our design, out of which we have enabled one in the DTS(device tree). After loading Ethernet kernel, we are getting phy IDs properly. We are also receiving receive interrupt and transmit interrupt. But we are not seeing any pulses on TX_CTRL"

 

We are using the Cadence driver for handling MAC and following is snippet of DTS.

 

ethernet@e000b000 {

compatible = "cdns,zynq-gem", "cdns,gem";

reg = <0xe000b000 0x1000>;

status = "okay";

interrupts = <0x0 0x16 0x4>;

clocks = <0x1 0x1e 0x1 0x1e 0x1 0xd>;

clock-names = "pclk", "hclk", "tx_clk";

#address-cells = <0x1>;

#size-cells = <0x0>;

phy-reset-duration = <1>;

phy-reset-gpio = <0x4 0x2d 0x0>;

 

local-mac-address = [00 0a 35 00 00 01];

phy-reset-active-low;

phy-handle = <&phy3>;

    phy-mode = "rgmii-id";

xlnx,ptp-enet-clock = <0x69f6bcb>;

phy3: ethernet-phy@3{

     ti,rx-internal-delay = <0x8>; 

     ti,tx-internal-delay = <0xa>;

     ti,fifo-depth = <0x01>;

     reset-gpios = <0x4 0x2d 0x0>;

        reg = <3>;

   };

};

 

Kindly enlighten us in this regard.

 

Thanks,

Saketh.

0 Kudos