Commit | Line | Data |
---|---|---|
42f59967 HS |
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: | |
dd0df47d | 7 | - compatible: "ti,davinci-dm6467-emac" or "ti,am3517-emac" |
42f59967 HS |
8 | - reg: Offset and length of the register set for the device |
9 | - ti,davinci-ctrl-reg-offset: offset to control register | |
10 | - ti,davinci-ctrl-mod-reg-offset: offset to control module register | |
11 | - ti,davinci-ctrl-ram-offset: offset to control module ram | |
12 | - ti,davinci-ctrl-ram-size: size of control module ram | |
42f59967 HS |
13 | - interrupts: interrupt mapping for the davinci emac interrupts sources: |
14 | 4 sources: <Receive Threshold Interrupt | |
15 | Receive Interrupt | |
16 | Transmit Interrupt | |
17 | Miscellaneous Interrupt> | |
18 | ||
19 | Optional properties: | |
e8f08ee0 | 20 | - phy-handle: See ethernet.txt file in the same directory. |
2c2dc161 | 21 | If absent, davinci_emac driver defaults to 100/FULL. |
731ff244 | 22 | - ti,davinci-rmii-en: 1 byte, 1 means use RMII |
589dcb8a | 23 | - ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM? |
42f59967 HS |
24 | |
25 | Example (enbw_cmc board): | |
26 | eth0: emac@1e20000 { | |
27 | compatible = "ti,davinci-dm6467-emac"; | |
28 | reg = <0x220000 0x4000>; | |
29 | ti,davinci-ctrl-reg-offset = <0x3000>; | |
30 | ti,davinci-ctrl-mod-reg-offset = <0x2000>; | |
31 | ti,davinci-ctrl-ram-offset = <0>; | |
32 | ti,davinci-ctrl-ram-size = <0x2000>; | |
33 | local-mac-address = [ 00 00 00 00 00 00 ]; | |
34 | interrupts = <33 | |
35 | 34 | |
36 | 35 | |
37 | 36 | |
38 | >; | |
39 | interrupt-parent = <&intc>; | |
40 | }; |