Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / net / marvell-orion-mdio.txt
1 * Marvell MDIO Ethernet Controller interface
2
3 The Ethernet controllers of the Marvel Kirkwood, Dove, Orion5x,
4 MV78xx0, Armada 370 and Armada XP have an identical unit that provides
5 an interface with the MDIO bus. This driver handles this MDIO
6 interface.
7
8 Required properties:
9 - compatible: "marvell,orion-mdio"
10 - reg: address and length of the SMI register
11
12 Optional properties:
13 - interrupts: interrupt line number for the SMI error/done interrupt
14
15 The child nodes of the MDIO driver are the individual PHY devices
16 connected to this MDIO bus. They must have a "reg" property given the
17 PHY address on the MDIO bus.
18
19 Example at the SoC level:
20
21 mdio {
22         #address-cells = <1>;
23         #size-cells = <0>;
24         compatible = "marvell,orion-mdio";
25         reg = <0xd0072004 0x4>;
26 };
27
28 And at the board level:
29
30 mdio {
31         phy0: ethernet-phy@0 {
32                 reg = <0>;
33         };
34
35         phy1: ethernet-phy@1 {
36                 reg = <1>;
37         };
38 }