mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 22:02:28 +00: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>
35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
* MIX Ethernet controller.
|
|
|
|
Properties:
|
|
- compatible: "cavium,octeon-5750-mix"
|
|
|
|
Compatibility with all cn5XXX and cn6XXX SOCs populated with MIX
|
|
devices.
|
|
|
|
- reg: The base addresses of four separate register banks. The first
|
|
bank contains the MIX registers. The second bank the corresponding
|
|
AGL registers. The third bank are the AGL registers shared by all
|
|
MIX devices present. The fourth bank is the AGL_PRT_CTL shared by
|
|
all MIX devices present.
|
|
|
|
- cell-index: A single cell specifying which portion of the shared
|
|
register banks corresponds to this MIX device.
|
|
|
|
- interrupts: Two interrupt specifiers. The first is the MIX
|
|
interrupt routing and the second the routing for the AGL interrupts.
|
|
|
|
- phy-handle: Optional, see ethernet.txt file in the same directory.
|
|
|
|
Example:
|
|
ethernet@1070000100800 {
|
|
compatible = "cavium,octeon-5750-mix";
|
|
reg = <0x10700 0x00100800 0x0 0x100>, /* MIX */
|
|
<0x11800 0xE0000800 0x0 0x300>, /* AGL */
|
|
<0x11800 0xE0000400 0x0 0x400>, /* AGL_SHARED */
|
|
<0x11800 0xE0002008 0x0 0x8>; /* AGL_PRT_CTL */
|
|
cell-index = <1>;
|
|
interrupts = <1 18>, < 1 46>;
|
|
local-mac-address = [ 00 0f b7 10 63 54 ];
|
|
phy-handle = <&phy1>;
|
|
};
|