brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 5e3579e Raw
45 lines · plain
1* Texas Instruments Davinci EMAC2 3This file provides information, what the device node4for the davinci_emac interface contains.5 6Required properties:7- compatible: "ti,davinci-dm6467-emac", "ti,am3517-emac" or8  "ti,dm816-emac"9- reg: Offset and length of the register set for the device10- ti,davinci-ctrl-reg-offset: offset to control register11- ti,davinci-ctrl-mod-reg-offset: offset to control module register12- ti,davinci-ctrl-ram-offset: offset to control module ram13- ti,davinci-ctrl-ram-size: size of control module ram14- interrupts: interrupt mapping for the davinci emac interrupts sources:15              4 sources: <Receive Threshold Interrupt16			  Receive Interrupt17			  Transmit Interrupt18			  Miscellaneous Interrupt>19 20Optional properties:21- phy-handle: See ethernet.txt file in the same directory.22              If absent, davinci_emac driver defaults to 100/FULL.23- ti,davinci-rmii-en: 1 byte, 1 means use RMII24- ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM?25 26The MAC address will be determined using the optional properties27defined in ethernet.txt.28 29Example (enbw_cmc board):30	eth0: emac@1e20000 {31		compatible = "ti,davinci-dm6467-emac";32		reg = <0x220000 0x4000>;33		ti,davinci-ctrl-reg-offset = <0x3000>;34		ti,davinci-ctrl-mod-reg-offset = <0x2000>;35		ti,davinci-ctrl-ram-offset = <0>;36		ti,davinci-ctrl-ram-size = <0x2000>;37		local-mac-address = [ 00 00 00 00 00 00 ];38		interrupts = <3339				3440				3541				3642				>;43		interrupt-parent = <&intc>;44	};45