About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / net / marvell-orion-mdio.txt




Custom Search

Based on kernel version 3.9. Page generated on 2013-05-02 22:59 EST.

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	}
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.