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