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