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

Documentation: add Broadcom SYSTEMPORT Device Tree bindings

Add the Device Tree bindings documentation for the Broadcom SYSTEMPORT
Ethernet MAC controller hardware.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Florian Fainelli and committed by
David S. Miller
fcecaeb0 80105bef

+29
+29
Documentation/devicetree/bindings/net/broadcom-systemport.txt
··· 1 + * Broadcom BCM7xxx Ethernet Systemport Controller (SYSTEMPORT) 2 + 3 + Required properties: 4 + - compatible: should be one of "brcm,systemport-v1.00" or "brcm,systemport" 5 + - reg: address and length of the register set for the device. 6 + - interrupts: interrupts for the device, first cell must be for the the rx 7 + interrupts, and the second cell should be for the transmit queues 8 + - local-mac-address: Ethernet MAC address (48 bits) of this adapter 9 + - phy-mode: Should be a string describing the PHY interface to the 10 + Ethernet switch/PHY, see Documentation/devicetree/bindings/net/ethernet.txt 11 + - fixed-link: see Documentation/devicetree/bindings/net/fsl-tsec-phy.txt for 12 + the property specific details 13 + 14 + Optional properties: 15 + - systemport,num-tier2-arb: number of tier 2 arbiters, an integer 16 + - systemport,num-tier1-arb: number of tier 1 arbiters, an integer 17 + - systemport,num-txq: number of HW transmit queues, an integer 18 + - systemport,num-rxq: number of HW receive queues, an integer 19 + 20 + Example: 21 + ethernet@f04a0000 { 22 + compatible = "brcm,systemport-v1.00"; 23 + reg = <0xf04a0000 0x4650>; 24 + local-mac-address = [ 00 11 22 33 44 55 ]; 25 + fixed-link = <0 1 1000 0 0>; 26 + phy-mode = "gmii"; 27 + interrupts = <0x0 0x16 0x0>, 28 + <0x0 0x17 0x0>; 29 + };