2016-07-08 06:08:58 +07:00
|
|
|
Broadcom AMAC Ethernet Controller Device Tree Bindings
|
|
|
|
-------------------------------------------------------------
|
|
|
|
|
|
|
|
Required properties:
|
2016-11-04 12:10:59 +07:00
|
|
|
- compatible: "brcm,amac"
|
|
|
|
"brcm,nsp-amac"
|
|
|
|
"brcm,ns2-amac"
|
|
|
|
- reg: Address and length of the register set for the device. It
|
|
|
|
contains the information of registers in the same order as
|
|
|
|
described by reg-names
|
|
|
|
- reg-names: Names of the registers.
|
|
|
|
"amac_base": Address and length of the GMAC registers
|
|
|
|
"idm_base": Address and length of the GMAC IDM registers
|
2017-07-14 02:04:09 +07:00
|
|
|
(required for NSP and Northstar2)
|
2016-11-04 12:10:59 +07:00
|
|
|
"nicpm_base": Address and length of the NIC Port Manager
|
|
|
|
registers (required for Northstar2)
|
2016-07-08 06:08:58 +07:00
|
|
|
- interrupts: Interrupt number
|
|
|
|
|
|
|
|
Optional properties:
|
|
|
|
- mac-address: See ethernet.txt file in the same directory
|
|
|
|
|
|
|
|
Examples:
|
|
|
|
|
|
|
|
amac0: ethernet@18022000 {
|
|
|
|
compatible = "brcm,nsp-amac";
|
|
|
|
reg = <0x18022000 0x1000>,
|
|
|
|
<0x18110000 0x1000>;
|
|
|
|
reg-names = "amac_base", "idm_base";
|
|
|
|
interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
};
|