1*c66ec88fSEmmanuel Vadot* Texas Instruments Davinci EMAC 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThis file provides information, what the device node 4*c66ec88fSEmmanuel Vadotfor the davinci_emac interface contains. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired properties: 7*c66ec88fSEmmanuel Vadot- compatible: "ti,davinci-dm6467-emac", "ti,am3517-emac" or 8*c66ec88fSEmmanuel Vadot "ti,dm816-emac" 9*c66ec88fSEmmanuel Vadot- reg: Offset and length of the register set for the device 10*c66ec88fSEmmanuel Vadot- ti,davinci-ctrl-reg-offset: offset to control register 11*c66ec88fSEmmanuel Vadot- ti,davinci-ctrl-mod-reg-offset: offset to control module register 12*c66ec88fSEmmanuel Vadot- ti,davinci-ctrl-ram-offset: offset to control module ram 13*c66ec88fSEmmanuel Vadot- ti,davinci-ctrl-ram-size: size of control module ram 14*c66ec88fSEmmanuel Vadot- interrupts: interrupt mapping for the davinci emac interrupts sources: 15*c66ec88fSEmmanuel Vadot 4 sources: <Receive Threshold Interrupt 16*c66ec88fSEmmanuel Vadot Receive Interrupt 17*c66ec88fSEmmanuel Vadot Transmit Interrupt 18*c66ec88fSEmmanuel Vadot Miscellaneous Interrupt> 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel VadotOptional properties: 21*c66ec88fSEmmanuel Vadot- phy-handle: See ethernet.txt file in the same directory. 22*c66ec88fSEmmanuel Vadot If absent, davinci_emac driver defaults to 100/FULL. 23*c66ec88fSEmmanuel Vadot- ti,davinci-rmii-en: 1 byte, 1 means use RMII 24*c66ec88fSEmmanuel Vadot- ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM? 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel VadotThe MAC address will be determined using the optional properties 27*c66ec88fSEmmanuel Vadotdefined in ethernet.txt. 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel VadotExample (enbw_cmc board): 30*c66ec88fSEmmanuel Vadot eth0: emac@1e20000 { 31*c66ec88fSEmmanuel Vadot compatible = "ti,davinci-dm6467-emac"; 32*c66ec88fSEmmanuel Vadot reg = <0x220000 0x4000>; 33*c66ec88fSEmmanuel Vadot ti,davinci-ctrl-reg-offset = <0x3000>; 34*c66ec88fSEmmanuel Vadot ti,davinci-ctrl-mod-reg-offset = <0x2000>; 35*c66ec88fSEmmanuel Vadot ti,davinci-ctrl-ram-offset = <0>; 36*c66ec88fSEmmanuel Vadot ti,davinci-ctrl-ram-size = <0x2000>; 37*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 38*c66ec88fSEmmanuel Vadot interrupts = <33 39*c66ec88fSEmmanuel Vadot 34 40*c66ec88fSEmmanuel Vadot 35 41*c66ec88fSEmmanuel Vadot 36 42*c66ec88fSEmmanuel Vadot >; 43*c66ec88fSEmmanuel Vadot interrupt-parent = <&intc>; 44*c66ec88fSEmmanuel Vadot }; 45