xilinx_emaclite.txt 1.42 KB
Newer Older
정종선 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
Xilinx Axi Ethernetlite controller Device Tree Bindings
---------------------------------------------------------

Required properties:
- compatible		: Should be "xlnx,opb-ethernetlite-1.01.a" or
			  "xlnx,opb-ethernetlite-1.01.b" or
			  "xlnx,opb-ethernetlite-1.00.a" or
			  "xlnx,xps-ethernetlite-2.00.a" or
			  "xlnx,xps-ethernetlite-2.01.a" or
			  "xlnx,xps-ethernetlite-3.00.a" or.
- reg			: Physical base address and size of the Axi ethernetlite
			  registers map.
- interrupts		: Property with a value describing the interrupt
			  number.
- interrupt-parent	: Must be core interrupt controller.
- phy-handle		: See ethernet.txt file in the same directory.
- local-mac-address	: See ethernet.txt file in the same directory.

Optional properties:
- xlnx,tx-ping-pong	: If present, hardware supports tx ping pong buffer.
- xlnx,rx-ping-pong	: If present, hardware supports rx ping pong buffer.

Example:
	axi_ethernetlite_1: ethernet@40e00000 {
                        compatible = "xlnx,axi-ethernetlite-3.0", "xlnx,xps-ethernetlite-1.00.a";
                        device_type = "network";
                        interrupt-parent = <&axi_intc_1>;
                        interrupts = <1 0>;
                        local-mac-address = [00 0a 35 00 00 00];
                        phy-handle = <&phy0>;
                        reg = <0x40e00000 0x10000>;
                        xlnx,rx-ping-pong;
                        xlnx,tx-ping-pong;
	}