1*c66ec88fSEmmanuel VadotBroadcom AMAC Ethernet Controller Device Tree Bindings 2*c66ec88fSEmmanuel Vadot------------------------------------------------------------- 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotRequired properties: 5*c66ec88fSEmmanuel Vadot - compatible: "brcm,amac" 6*c66ec88fSEmmanuel Vadot "brcm,nsp-amac" 7*c66ec88fSEmmanuel Vadot "brcm,ns2-amac" 8*c66ec88fSEmmanuel Vadot - reg: Address and length of the register set for the device. It 9*c66ec88fSEmmanuel Vadot contains the information of registers in the same order as 10*c66ec88fSEmmanuel Vadot described by reg-names 11*c66ec88fSEmmanuel Vadot - reg-names: Names of the registers. 12*c66ec88fSEmmanuel Vadot "amac_base": Address and length of the GMAC registers 13*c66ec88fSEmmanuel Vadot "idm_base": Address and length of the GMAC IDM registers 14*c66ec88fSEmmanuel Vadot (required for NSP and Northstar2) 15*c66ec88fSEmmanuel Vadot "nicpm_base": Address and length of the NIC Port Manager 16*c66ec88fSEmmanuel Vadot registers (required for Northstar2) 17*c66ec88fSEmmanuel Vadot - interrupts: Interrupt number 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel VadotThe MAC address will be determined using the optional properties 20*c66ec88fSEmmanuel Vadotdefined in ethernet.txt. 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel VadotExamples: 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadotamac0: ethernet@18022000 { 25*c66ec88fSEmmanuel Vadot compatible = "brcm,nsp-amac"; 26*c66ec88fSEmmanuel Vadot reg = <0x18022000 0x1000>, 27*c66ec88fSEmmanuel Vadot <0x18110000 0x1000>; 28*c66ec88fSEmmanuel Vadot reg-names = "amac_base", "idm_base"; 29*c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; 30*c66ec88fSEmmanuel Vadot}; 31