About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / net / fsl-fec.txt




Custom Search

Based on kernel version 3.15.4. Page generated on 2014-07-07 09:01 EST.

1	* Freescale Fast Ethernet Controller (FEC)
2	
3	Required properties:
4	- compatible : Should be "fsl,<soc>-fec"
5	- reg : Address and length of the register set for the device
6	- interrupts : Should contain fec interrupt
7	- phy-mode : See ethernet.txt file in the same directory
8	
9	Optional properties:
10	- phy-reset-gpios : Should specify the gpio for phy reset
11	- phy-reset-duration : Reset duration in milliseconds.  Should present
12	  only if property "phy-reset-gpios" is available.  Missing the property
13	  will have the duration be 1 millisecond.  Numbers greater than 1000 are
14	  invalid and 1 millisecond will be used instead.
15	- phy-supply: regulator that powers the Ethernet PHY.
16	
17	Example:
18	
19	ethernet@83fec000 {
20		compatible = "fsl,imx51-fec", "fsl,imx27-fec";
21		reg = <0x83fec000 0x4000>;
22		interrupts = <87>;
23		phy-mode = "mii";
24		phy-reset-gpios = <&gpio2 14 0>; /* GPIO2_14 */
25		local-mac-address = [00 04 9F 01 1B B9];
26		phy-supply = <&reg_fec_supply>;
27	};
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.