allwinner,sun7i-a20-gmac.txt 816 B

123456789101112131415161718192021222324252627
  1. * Allwinner GMAC ethernet controller
  2. This device is a platform glue layer for stmmac.
  3. Please see stmmac.txt for the other unchanged properties.
  4. Required properties:
  5. - compatible: Should be "allwinner,sun7i-a20-gmac"
  6. - clocks: Should contain the GMAC main clock, and tx clock
  7. The tx clock type should be "allwinner,sun7i-a20-gmac-clk"
  8. - clock-names: Should contain the clock names "stmmaceth",
  9. and "allwinner_gmac_tx"
  10. Optional properties:
  11. - phy-supply: phandle to a regulator if the PHY needs one
  12. Examples:
  13. gmac: ethernet@01c50000 {
  14. compatible = "allwinner,sun7i-a20-gmac";
  15. reg = <0x01c50000 0x10000>,
  16. <0x01c20164 0x4>;
  17. interrupts = <0 85 1>;
  18. interrupt-names = "macirq";
  19. clocks = <&ahb_gates 49>, <&gmac_tx>;
  20. clock-names = "stmmaceth", "allwinner_gmac_tx";
  21. phy-mode = "mii";
  22. };