fsl-fec.txt 1.1 KB

123456789101112131415161718192021222324252627282930
  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. - phy-supply: regulator that powers the Ethernet PHY.
  17. Example:
  18. ethernet@83fec000 {
  19. compatible = "fsl,imx51-fec", "fsl,imx27-fec";
  20. reg = <0x83fec000 0x4000>;
  21. interrupts = <87>;
  22. phy-mode = "mii";
  23. phy-reset-gpios = <&gpio2 14 0>; /* GPIO2_14 */
  24. local-mac-address = [00 04 9F 01 1B B9];
  25. phy-supply = <&reg_fec_supply>;
  26. };