About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / net / allwinner,sun4i-mdio.txt




Custom Search

Based on kernel version 3.13. Page generated on 2014-01-20 22:01 EST.

1	* Allwinner A10 MDIO Ethernet Controller interface
2	
3	Required properties:
4	- compatible: should be "allwinner,sun4i-mdio".
5	- reg: address and length of the register set for the device.
6	
7	Optional properties:
8	- phy-supply: phandle to a regulator if the PHY needs one
9	
10	Example at the SoC level:
11	mdio@01c0b080 {
12		compatible = "allwinner,sun4i-mdio";
13		reg = <0x01c0b080 0x14>;
14		#address-cells = <1>;
15		#size-cells = <0>;
16	};
17	
18	And at the board level:
19	
20	mdio@01c0b080 {
21		phy-supply = <&reg_emac_3v3>;
22	
23		phy0: ethernet-phy@0 {
24			reg = <0>;
25		};
26	};
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.