mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-08 21:53:54 +08:00
10d79f7d3c
Specifying IDM register space in DT is not mendatory for SoCs where firmware takes care of IDM operations. This patch updates BGMAC driver's DT binding documentation indicating the same. Signed-off-by: Abhishek Shah <abhishek.shah@broadcom.com> Reviewed-by: Ray Jui <ray.jui@broadcom.com> Reviewed-by: Oza Oza <oza.oza@broadcom.com> Reviewed-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
32 lines
996 B
Plaintext
32 lines
996 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
|
|
(required for NSP and Northstar2)
|
|
"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";
|
|
};
|