xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/brcm,systemport.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Broadcom BCM7xxx Ethernet Systemport Controller (SYSTEMPORT)
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: should be one of:
5*4882a593Smuzhiyun	      "brcm,systemport-v1.00"
6*4882a593Smuzhiyun	      "brcm,systemportlite-v1.00" or
7*4882a593Smuzhiyun	      "brcm,systemport"
8*4882a593Smuzhiyun- reg: address and length of the register set for the device.
9*4882a593Smuzhiyun- interrupts: interrupts for the device, first cell must be for the rx
10*4882a593Smuzhiyun  interrupts, and the second cell should be for the transmit queues. An
11*4882a593Smuzhiyun  optional third interrupt cell for Wake-on-LAN can be specified
12*4882a593Smuzhiyun- local-mac-address: Ethernet MAC address (48 bits) of this adapter
13*4882a593Smuzhiyun- phy-mode: Should be a string describing the PHY interface to the
14*4882a593Smuzhiyun  Ethernet switch/PHY, see Documentation/devicetree/bindings/net/ethernet.txt
15*4882a593Smuzhiyun- fixed-link: see Documentation/devicetree/bindings/net/fixed-link.txt for
16*4882a593Smuzhiyun  the property specific details
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunOptional properties:
19*4882a593Smuzhiyun- systemport,num-tier2-arb: number of tier 2 arbiters, an integer
20*4882a593Smuzhiyun- systemport,num-tier1-arb: number of tier 1 arbiters, an integer
21*4882a593Smuzhiyun- systemport,num-txq: number of HW transmit queues, an integer
22*4882a593Smuzhiyun- systemport,num-rxq: number of HW receive queues, an integer
23*4882a593Smuzhiyun- clocks: When provided, must be two phandles to the functional clocks nodes of
24*4882a593Smuzhiyun  the SYSTEMPORT block. The first phandle is the main SYSTEMPORT clock used
25*4882a593Smuzhiyun  during normal operation, while the second phandle is the Wake-on-LAN clock.
26*4882a593Smuzhiyun- clock-names: When provided, names of the functional clock phandles, first
27*4882a593Smuzhiyun  name should be "sw_sysport" and second should be "sw_sysportwol".
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunExample:
30*4882a593Smuzhiyunethernet@f04a0000 {
31*4882a593Smuzhiyun	compatible = "brcm,systemport-v1.00";
32*4882a593Smuzhiyun	reg = <0xf04a0000 0x4650>;
33*4882a593Smuzhiyun	local-mac-address = [ 00 11 22 33 44 55 ];
34*4882a593Smuzhiyun	fixed-link = <0 1 1000 0 0>;
35*4882a593Smuzhiyun	phy-mode = "gmii";
36*4882a593Smuzhiyun	interrupts = <0x0 0x16 0x0>,
37*4882a593Smuzhiyun		<0x0 0x17 0x0>;
38*4882a593Smuzhiyun};
39