stmmac.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. * STMicroelectronics 10/100/1000 Ethernet driver (GMAC)
  2. Required properties:
  3. - compatible: Should be "snps,dwmac-<ip_version>" "snps,dwmac"
  4. For backwards compatibility: "st,spear600-gmac" is also supported.
  5. - reg: Address and length of the register set for the device
  6. - interrupt-parent: Should be the phandle for the interrupt controller
  7. that services interrupts for this device
  8. - interrupts: Should contain the STMMAC interrupts
  9. - interrupt-names: Should contain the interrupt names "macirq"
  10. "eth_wake_irq" if this interrupt is supported in the "interrupts"
  11. property
  12. - phy-mode: String, operation mode of the PHY interface.
  13. Supported values are: "mii", "rmii", "gmii", "rgmii".
  14. - snps,phy-addr phy address to connect to.
  15. - snps,reset-gpio gpio number for phy reset.
  16. - snps,reset-active-low boolean flag to indicate if phy reset is active low.
  17. - snps,reset-delays-us is triplet of delays
  18. The 1st cell is reset pre-delay in micro seconds.
  19. The 2nd cell is reset pulse in micro seconds.
  20. The 3rd cell is reset post-delay in micro seconds.
  21. - snps,pbl Programmable Burst Length
  22. - snps,fixed-burst Program the DMA to use the fixed burst mode
  23. - snps,mixed-burst Program the DMA to use the mixed burst mode
  24. Optional properties:
  25. - mac-address: 6 bytes, mac address
  26. Examples:
  27. gmac0: ethernet@e0800000 {
  28. compatible = "st,spear600-gmac";
  29. reg = <0xe0800000 0x8000>;
  30. interrupt-parent = <&vic1>;
  31. interrupts = <24 23>;
  32. interrupt-names = "macirq", "eth_wake_irq";
  33. mac-address = [000000000000]; /* Filled in by U-Boot */
  34. phy-mode = "gmii";
  35. };