xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/brcm,amac.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBroadcom AMAC Ethernet Controller Device Tree Bindings
2*4882a593Smuzhiyun-------------------------------------------------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun - compatible:	"brcm,amac"
6*4882a593Smuzhiyun		"brcm,nsp-amac"
7*4882a593Smuzhiyun		"brcm,ns2-amac"
8*4882a593Smuzhiyun - reg:		Address and length of the register set for the device. It
9*4882a593Smuzhiyun		contains the information of registers in the same order as
10*4882a593Smuzhiyun		described by reg-names
11*4882a593Smuzhiyun - reg-names:	Names of the registers.
12*4882a593Smuzhiyun		"amac_base":	Address and length of the GMAC registers
13*4882a593Smuzhiyun		"idm_base":	Address and length of the GMAC IDM registers
14*4882a593Smuzhiyun				(required for NSP and Northstar2)
15*4882a593Smuzhiyun		"nicpm_base":	Address and length of the NIC Port Manager
16*4882a593Smuzhiyun				registers (required for Northstar2)
17*4882a593Smuzhiyun - interrupts:	Interrupt number
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunThe MAC address will be determined using the optional properties
20*4882a593Smuzhiyundefined in ethernet.txt.
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunExamples:
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunamac0: ethernet@18022000 {
25*4882a593Smuzhiyun	compatible = "brcm,nsp-amac";
26*4882a593Smuzhiyun	reg = <0x18022000 0x1000>,
27*4882a593Smuzhiyun	      <0x18110000 0x1000>;
28*4882a593Smuzhiyun	reg-names = "amac_base", "idm_base";
29*4882a593Smuzhiyun	interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
30*4882a593Smuzhiyun};
31