mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-04 11:43:54 +08:00
e8f08ee0ad
This patch is an attempt to gather the Ethernet related bindings in one file, like it's done in the MMC and some other subsystems. It should save some of the trouble of documenting several properties over and over in each binding document, instead only making reference to the main file. I have used the Embedded Power Architecture(TM) Platform Requirements (ePAPR) standard as a base for the properties description, also documenting some ad-hoc properties that have been introduced over time despite having direct analogs in ePAPR. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
* Texas Instruments Davinci EMAC
|
|
|
|
This file provides information, what the device node
|
|
for the davinci_emac interface contains.
|
|
|
|
Required properties:
|
|
- compatible: "ti,davinci-dm6467-emac" or "ti,am3517-emac"
|
|
- reg: Offset and length of the register set for the device
|
|
- ti,davinci-ctrl-reg-offset: offset to control register
|
|
- ti,davinci-ctrl-mod-reg-offset: offset to control module register
|
|
- ti,davinci-ctrl-ram-offset: offset to control module ram
|
|
- ti,davinci-ctrl-ram-size: size of control module ram
|
|
- interrupts: interrupt mapping for the davinci emac interrupts sources:
|
|
4 sources: <Receive Threshold Interrupt
|
|
Receive Interrupt
|
|
Transmit Interrupt
|
|
Miscellaneous Interrupt>
|
|
|
|
Optional properties:
|
|
- phy-handle: See ethernet.txt file in the same directory.
|
|
If absent, davinci_emac driver defaults to 100/FULL.
|
|
- ti,davinci-rmii-en: 1 byte, 1 means use RMII
|
|
- ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM?
|
|
|
|
Example (enbw_cmc board):
|
|
eth0: emac@1e20000 {
|
|
compatible = "ti,davinci-dm6467-emac";
|
|
reg = <0x220000 0x4000>;
|
|
ti,davinci-ctrl-reg-offset = <0x3000>;
|
|
ti,davinci-ctrl-mod-reg-offset = <0x2000>;
|
|
ti,davinci-ctrl-ram-offset = <0>;
|
|
ti,davinci-ctrl-ram-size = <0x2000>;
|
|
local-mac-address = [ 00 00 00 00 00 00 ];
|
|
interrupts = <33
|
|
34
|
|
35
|
|
36
|
|
>;
|
|
interrupt-parent = <&intc>;
|
|
};
|