blob: ad16c1f481f77fed199e1c24bc3450aa75fbb970 [file] [log] [blame]
Jon Mason07d45102016-07-07 19:08:58 -04001Broadcom AMAC Ethernet Controller Device Tree Bindings
2-------------------------------------------------------------
3
4Required properties:
Jon Mason0086f092016-11-04 01:10:59 -04005 - compatible: "brcm,amac"
6 "brcm,nsp-amac"
7 "brcm,ns2-amac"
8 - reg: Address and length of the register set for the device. It
9 contains the information of registers in the same order as
10 described by reg-names
11 - reg-names: Names of the registers.
12 "amac_base": Address and length of the GMAC registers
13 "idm_base": Address and length of the GMAC IDM registers
Abhishek Shah10d79f72017-07-14 00:34:09 +053014 (required for NSP and Northstar2)
Jon Mason0086f092016-11-04 01:10:59 -040015 "nicpm_base": Address and length of the NIC Port Manager
16 registers (required for Northstar2)
Jon Mason07d45102016-07-07 19:08:58 -040017 - interrupts: Interrupt number
18
19Optional properties:
20- mac-address: See ethernet.txt file in the same directory
21
22Examples:
23
24amac0: ethernet@18022000 {
25 compatible = "brcm,nsp-amac";
26 reg = <0x18022000 0x1000>,
27 <0x18110000 0x1000>;
28 reg-names = "amac_base", "idm_base";
29 interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
30 status = "disabled";
31};