blob: 9417e54c26c0eba82004047d06fda4f3dd4d02b8 [file] [log] [blame]
Thomas Petazzonifc8f5ad2012-11-12 17:03:47 +01001* Marvell MDIO Ethernet Controller interface
2
3The Ethernet controllers of the Marvel Kirkwood, Dove, Orion5x,
4MV78xx0, Armada 370 and Armada XP have an identical unit that provides
5an interface with the MDIO bus. This driver handles this MDIO
6interface.
7
8Required properties:
9- compatible: "marvell,orion-mdio"
10- reg: address and length of the SMI register
11
Florian Fainelli2ec98522013-03-22 03:39:27 +000012Optional properties:
13- interrupts: interrupt line number for the SMI error/done interrupt
Sebastian Hesselbarthb8075da2013-04-10 23:24:48 +000014- clocks: Phandle to the clock control device and gate bit
Florian Fainelli2ec98522013-03-22 03:39:27 +000015
Thomas Petazzonifc8f5ad2012-11-12 17:03:47 +010016The child nodes of the MDIO driver are the individual PHY devices
17connected to this MDIO bus. They must have a "reg" property given the
18PHY address on the MDIO bus.
19
20Example at the SoC level:
21
22mdio {
23 #address-cells = <1>;
24 #size-cells = <0>;
25 compatible = "marvell,orion-mdio";
26 reg = <0xd0072004 0x4>;
27};
28
29And at the board level:
30
31mdio {
32 phy0: ethernet-phy@0 {
33 reg = <0>;
34 };
35
36 phy1: ethernet-phy@1 {
37 reg = <1>;
38 };
39}