Merge tag 's390-5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / net / davinci_emac.txt
1 * Texas Instruments Davinci EMAC
2
3 This file provides information, what the device node
4 for the davinci_emac interface contains.
5
6 Required properties:
7 - compatible: "ti,davinci-dm6467-emac", "ti,am3517-emac" or
8   "ti,dm816-emac"
9 - reg: Offset and length of the register set for the device
10 - ti,davinci-ctrl-reg-offset: offset to control register
11 - ti,davinci-ctrl-mod-reg-offset: offset to control module register
12 - ti,davinci-ctrl-ram-offset: offset to control module ram
13 - ti,davinci-ctrl-ram-size: size of control module ram
14 - interrupts: interrupt mapping for the davinci emac interrupts sources:
15               4 sources: <Receive Threshold Interrupt
16                           Receive Interrupt
17                           Transmit Interrupt
18                           Miscellaneous Interrupt>
19
20 Optional properties:
21 - phy-handle: See ethernet.txt file in the same directory.
22               If absent, davinci_emac driver defaults to 100/FULL.
23 - nvmem-cells: phandle, reference to an nvmem node for the MAC address
24 - nvmem-cell-names: string, should be "mac-address" if nvmem is to be used
25 - ti,davinci-rmii-en: 1 byte, 1 means use RMII
26 - ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM?
27
28 Example (enbw_cmc board):
29         eth0: emac@1e20000 {
30                 compatible = "ti,davinci-dm6467-emac";
31                 reg = <0x220000 0x4000>;
32                 ti,davinci-ctrl-reg-offset = <0x3000>;
33                 ti,davinci-ctrl-mod-reg-offset = <0x2000>;
34                 ti,davinci-ctrl-ram-offset = <0>;
35                 ti,davinci-ctrl-ram-size = <0x2000>;
36                 local-mac-address = [ 00 00 00 00 00 00 ];
37                 interrupts = <33
38                                 34
39                                 35
40                                 36
41                                 >;
42                 interrupt-parent = <&intc>;
43         };