Jon Mason | 07d4510 | 2016-07-07 19:08:58 -0400 | [diff] [blame] | 1 | Broadcom AMAC Ethernet Controller Device Tree Bindings |
| 2 | ------------------------------------------------------------- |
| 3 | |
| 4 | Required properties: |
Jon Mason | 0086f09 | 2016-11-04 01:10:59 -0400 | [diff] [blame] | 5 | - 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 Shah | 10d79f7 | 2017-07-14 00:34:09 +0530 | [diff] [blame] | 14 | (required for NSP and Northstar2) |
Jon Mason | 0086f09 | 2016-11-04 01:10:59 -0400 | [diff] [blame] | 15 | "nicpm_base": Address and length of the NIC Port Manager |
| 16 | registers (required for Northstar2) |
Jon Mason | 07d4510 | 2016-07-07 19:08:58 -0400 | [diff] [blame] | 17 | - interrupts: Interrupt number |
| 18 | |
| 19 | Optional properties: |
| 20 | - mac-address: See ethernet.txt file in the same directory |
| 21 | |
| 22 | Examples: |
| 23 | |
| 24 | amac0: 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 | }; |