socfpga-dwmac.txt 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. Altera SOCFPGA SoC DWMAC controller
  2. This is a variant of the dwmac/stmmac driver an inherits all descriptions
  3. present in Documentation/devicetree/bindings/net/stmmac.txt.
  4. The device node has additional properties:
  5. Required properties:
  6. - compatible : Should contain "altr,socfpga-stmmac" along with
  7. "snps,dwmac" and any applicable more detailed
  8. designware version numbers documented in stmmac.txt
  9. - altr,sysmgr-syscon : Should be the phandle to the system manager node that
  10. encompasses the glue register, the register offset, and the register shift.
  11. Optional properties:
  12. altr,emac-splitter: Should be the phandle to the emac splitter soft IP node if
  13. DWMAC controller is connected emac splitter.
  14. Example:
  15. gmac0: ethernet@ff700000 {
  16. compatible = "altr,socfpga-stmmac", "snps,dwmac-3.70a", "snps,dwmac";
  17. altr,sysmgr-syscon = <&sysmgr 0x60 0>;
  18. status = "disabled";
  19. reg = <0xff700000 0x2000>;
  20. interrupts = <0 115 4>;
  21. interrupt-names = "macirq";
  22. mac-address = [00 00 00 00 00 00];/* Filled in by U-Boot */
  23. clocks = <&emac_0_clk>;
  24. clock-names = "stmmaceth";
  25. };