forked from Minki/linux
0086f0944f
Clean-up the documentation to the bgmac-amac driver, per suggestion by Rob Herring, and add details for NS2 support. Signed-off-by: Jon Mason <jon.mason@broadcom.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
31 lines
958 B
Plaintext
31 lines
958 B
Plaintext
Broadcom AMAC Ethernet Controller Device Tree Bindings
|
|
-------------------------------------------------------------
|
|
|
|
Required properties:
|
|
- 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
|
|
"nicpm_base": Address and length of the NIC Port Manager
|
|
registers (required for Northstar2)
|
|
- 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>;
|
|
status = "disabled";
|
|
};
|