Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[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 The child nodes of the MDIO driver are the individual PHY devices
13 connected to this MDIO bus. They must have a "reg" property given the
14 PHY address on the MDIO bus.
15
16 Example at the SoC level:
17
18 mdio {
19         #address-cells = <1>;
20         #size-cells = <0>;
21         compatible = "marvell,orion-mdio";
22         reg = <0xd0072004 0x4>;
23 };
24
25 And at the board level:
26
27 mdio {
28         phy0: ethernet-phy@0 {
29                 reg = <0>;
30         };
31
32         phy1: ethernet-phy@1 {
33                 reg = <1>;
34         };
35 }