Skip to content

Commit 75530a7

Browse files
mfischerdavem330
authored andcommitted
dt-bindings: net: Add bindings for National Instruments XGE netdev
This adds bindings for the NI XGE 1G/10G network device. Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Moritz Fischer <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 56455e0 commit 75530a7

File tree

1 file changed

+32
-0
lines changed
  • Documentation/devicetree/bindings/net

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
* NI XGE Ethernet controller
2+
3+
Required 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+
13+
Examples (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+
};

0 commit comments

Comments
 (0)