fsl-fec.txt 1.0 KB

12345678910111213141516171819202122232425262728
  1. * Freescale Fast Ethernet Controller (FEC)
  2. Required properties:
  3. - compatible : Should be "fsl,<soc>-fec"
  4. - reg : Address and length of the register set for the device
  5. - interrupts : Should contain fec interrupt
  6. - phy-mode : String, operation mode of the PHY interface.
  7. Supported values are: "mii", "gmii", "sgmii", "tbi", "rmii",
  8. "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii".
  9. Optional properties:
  10. - local-mac-address : 6 bytes, mac address
  11. - phy-reset-gpios : Should specify the gpio for phy reset
  12. - phy-reset-duration : Reset duration in milliseconds. Should present
  13. only if property "phy-reset-gpios" is available. Missing the property
  14. will have the duration be 1 millisecond. Numbers greater than 1000 are
  15. invalid and 1 millisecond will be used instead.
  16. Example:
  17. ethernet@83fec000 {
  18. compatible = "fsl,imx51-fec", "fsl,imx27-fec";
  19. reg = <0x83fec000 0x4000>;
  20. interrupts = <87>;
  21. phy-mode = "mii";
  22. phy-reset-gpios = <&gpio2 14 0>; /* GPIO2_14 */
  23. local-mac-address = [00 04 9F 01 1B B9];
  24. };