Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / Documentation / devicetree / bindings / net / fsl-fec.txt
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 };