davinci_emac.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. * Texas Instruments Davinci EMAC
  2. This file provides information, what the device node
  3. for the davinci_emac interface contains.
  4. Required properties:
  5. - compatible: "ti,davinci-dm6467-emac" or "ti,am3517-emac"
  6. - reg: Offset and length of the register set for the device
  7. - ti,davinci-ctrl-reg-offset: offset to control register
  8. - ti,davinci-ctrl-mod-reg-offset: offset to control module register
  9. - ti,davinci-ctrl-ram-offset: offset to control module ram
  10. - ti,davinci-ctrl-ram-size: size of control module ram
  11. - interrupts: interrupt mapping for the davinci emac interrupts sources:
  12. 4 sources: <Receive Threshold Interrupt
  13. Receive Interrupt
  14. Transmit Interrupt
  15. Miscellaneous Interrupt>
  16. Optional properties:
  17. - phy-handle: See ethernet.txt file in the same directory.
  18. If absent, davinci_emac driver defaults to 100/FULL.
  19. - ti,davinci-rmii-en: 1 byte, 1 means use RMII
  20. - ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM?
  21. Example (enbw_cmc board):
  22. eth0: emac@1e20000 {
  23. compatible = "ti,davinci-dm6467-emac";
  24. reg = <0x220000 0x4000>;
  25. ti,davinci-ctrl-reg-offset = <0x3000>;
  26. ti,davinci-ctrl-mod-reg-offset = <0x2000>;
  27. ti,davinci-ctrl-ram-offset = <0>;
  28. ti,davinci-ctrl-ram-size = <0x2000>;
  29. local-mac-address = [ 00 00 00 00 00 00 ];
  30. interrupts = <33
  31. 34
  32. 35
  33. 36
  34. >;
  35. interrupt-parent = <&intc>;
  36. };