U-boot axi ethernet-lite driver

Introduction

The AXI Ethernet Lite MAC supports the IEEE Std. 802.3 Media Independent Interface (MII) to industry standard Physical Layer (PHY) devices and communicates to a processor via AXI4 or AXI4-Lite interface. The design provides a 10 megabits per second (Mbps) and 100 Mbps (also known as Fast Ethernet) Interface, delivering the minimal functions necessary to provide an Ethernet interface with the least resources used.

Configuration

CONFIG_DM_ETH=y
CONFIG_XILINX_EMACLITE=y

Device tree

ethernet@40e00000 {
	compatible = "xlnx,axi-ethernetlite-3.0", "xlnx,xps-ethernetlite-1.00.a";
	device_type = "network";
	local-mac-address = [00 0a 35 00 00 00];
	phy-handle = <&phy0>;
	reg = <0x40e00000 0x10000>;
 	xlnx,rx-ping-pong = <0x1>;
	xlnx,tx-ping-pong = <0x1>;
	mdio {
		#address-cells = <1>;
		#size-cells = <0>;
			phy0: phy@7 {
				compatible = "marvell,88e1111";
				device_type = "ethernet-phy";
				reg = <7>;
			} ;
	};
} ;

Test procedure

  • Not tested

Features

  • Parameterized AXI slave interface based on the AXI4 or AXI4-Lite specification
  • Media Independent Interface (MII) for connection to external 10/100 Mbps PHY transceivers
  • Independent internal 2K byte Tx and Rx dual port memory for holding data for one packet
  • Optional MDIO interface for PHY access

© Copyright 2019 - 2022 Xilinx Inc. Privacy Policy