davinci_emac.txt 1.4 KB

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