Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <robh@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Moritz Fischer and committed by
David S. Miller
75530a78 56455e09

+32
+32
Documentation/devicetree/bindings/net/nixge.txt
··· 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 + };