stm32-dwmac.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. STMicroelectronics STM32 / MCU DWMAC glue layer controller
  2. This file documents platform glue layer for stmmac.
  3. Please see stmmac.txt for the other unchanged properties.
  4. The device node has following properties.
  5. Required properties:
  6. - compatible: Should be "st,stm32-dwmac" to select glue, and
  7. "snps,dwmac-3.50a" to select IP version.
  8. - clocks: Must contain a phandle for each entry in clock-names.
  9. - clock-names: Should be "stmmaceth" for the host clock.
  10. Should be "mac-clk-tx" for the MAC TX clock.
  11. Should be "mac-clk-rx" for the MAC RX clock.
  12. - st,syscon : Should be phandle/offset pair. The phandle to the syscon node which
  13. encompases the glue register, and the offset of the control register.
  14. Example:
  15. ethernet@40028000 {
  16. compatible = "st,stm32-dwmac", "snps,dwmac-3.50a";
  17. status = "disabled";
  18. reg = <0x40028000 0x8000>;
  19. reg-names = "stmmaceth";
  20. interrupts = <0 61 0>, <0 62 0>;
  21. interrupt-names = "macirq", "eth_wake_irq";
  22. clock-names = "stmmaceth", "mac-clk-tx", "mac-clk-rx";
  23. clocks = <&rcc 0 25>, <&rcc 0 26>, <&rcc 0 27>;
  24. st,syscon = <&syscfg 0x4>;
  25. snps,pbl = <8>;
  26. snps,mixed-burst;
  27. dma-ranges;
  28. };