xref: /linux/Documentation/devicetree/bindings/net/nixge.txt (revision 307797159ac25fe5a2048bf5c6a5718298edca57)
1* NI XGE Ethernet controller
2
3Required properties:
4- compatible: Should be "ni,xge-enet-2.00"
5- reg: Address and length of the register set for the device
6- interrupts: Should contain tx and rx interrupt
7- interrupt-names: Should be "rx" and "tx"
8- phy-mode: See ethernet.txt file in the same directory.
9- phy-handle: See ethernet.txt file in the same directory.
10- nvmem-cells: Phandle of nvmem cell containing the MAC address
11- nvmem-cell-names: Should be "address"
12
13Examples (10G generic PHY):
14	nixge0: ethernet@40000000 {
15		compatible = "ni,xge-enet-2.00";
16		reg = <0x40000000 0x6000>;
17
18		nvmem-cells = <&eth1_addr>;
19		nvmem-cell-names = "address";
20
21		interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>, <0 30 IRQ_TYPE_LEVEL_HIGH>;
22		interrupt-names = "rx", "tx";
23		interrupt-parent = <&intc>;
24
25		phy-mode = "xgmii";
26		phy-handle = <&ethernet_phy1>;
27
28		ethernet_phy1: ethernet-phy@4 {
29			compatible = "ethernet-phy-ieee802.3-c45";
30			reg = <4>;
31		};
32	};
33