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.16. Page generated on 2014-08-06 21:37 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	Optional properties:
13	- interrupts: interrupt line number for the SMI error/done interrupt
14	- clocks: Phandle to the clock control device and gate bit
15	
16	The child nodes of the MDIO driver are the individual PHY devices
17	connected to this MDIO bus. They must have a "reg" property given the
18	PHY address on the MDIO bus.
19	
20	Example at the SoC level:
21	
22	mdio {
23		#address-cells = <1>;
24		#size-cells = <0>;
25		compatible = "marvell,orion-mdio";
26		reg = <0xd0072004 0x4>;
27	};
28	
29	And at the board level:
30	
31	mdio {
32		phy0: ethernet-phy@0 {
33			reg = <0>;
34		};
35	
36		phy1: ethernet-phy@1 {
37			reg = <1>;
38		};
39	}
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.