mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 18:41:48 +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>
20 lines
576 B
Plaintext
20 lines
576 B
Plaintext
* Allwinner EMAC ethernet controller
|
|
|
|
Required properties:
|
|
- compatible: should be "allwinner,sun4i-a10-emac" (Deprecated:
|
|
"allwinner,sun4i-emac")
|
|
- reg: address and length of the register set for the device.
|
|
- interrupts: interrupt for the device
|
|
- phy: see ethernet.txt file in the same directory.
|
|
- clocks: A phandle to the reference clock for this device
|
|
|
|
Example:
|
|
|
|
emac: ethernet@01c0b000 {
|
|
compatible = "allwinner,sun4i-a10-emac";
|
|
reg = <0x01c0b000 0x1000>;
|
|
interrupts = <55>;
|
|
clocks = <&ahb_gates 17>;
|
|
phy = <&phy0>;
|
|
};
|