summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net/fsl-fec.txt
blob: de439517dff08b00d73b10493e93a1f7dfb527e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
* Freescale Fast Ethernet Controller (FEC)

Required properties:
- compatible : Should be "fsl,<soc>-fec"
- reg : Address and length of the register set for the device
- interrupts : Should contain fec interrupt
- phy-mode : String, operation mode of the PHY interface.
  Supported values are: "mii", "gmii", "sgmii", "tbi", "rmii",
  "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii".
- phy-reset-gpios : Should specify the gpio for phy reset

Optional properties:
- local-mac-address : 6 bytes, mac address

Example:

fec@83fec000 {
	compatible = "fsl,imx51-fec", "fsl,imx27-fec";
	reg = <0x83fec000 0x4000>;
	interrupts = <87>;
	phy-mode = "mii";
	phy-reset-gpios = <&gpio1 14 0>; /* GPIO2_14 */
	local-mac-address = [00 04 9F 01 1B B9];
};
OpenPOWER on IntegriCloud