summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt
blob: 022946caa7e23a8099ef9b8f3166708a51024c03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Broadcom GMAC Ethernet Controller Device Tree Bindings
-------------------------------------------------------------

Required properties:
 - compatible:	"brcm,bgmac-nsp"
 - reg:		Address and length of the GMAC registers,
		Address and length of the GMAC IDM registers
 - reg-names:	Names of the registers.  Must have both "gmac_base" and
		"idm_base"
 - interrupts:	Interrupt number

Optional properties:
- mac-address:	See ethernet.txt file in the same directory

Examples:

gmac0: ethernet@18022000 {
	compatible = "brcm,bgmac-nsp";
	reg = <0x18022000 0x1000>,
	      <0x18110000 0x1000>;
	reg-names = "gmac_base", "idm_base";
	interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
	status = "disabled";
};