davinci_emac.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. The MAC address will be determined using the optional properties
  23. defined in ethernet.txt.
  24. Example (enbw_cmc board):
  25. eth0: emac@1e20000 {
  26. compatible = "ti,davinci-dm6467-emac";
  27. reg = <0x220000 0x4000>;
  28. ti,davinci-ctrl-reg-offset = <0x3000>;
  29. ti,davinci-ctrl-mod-reg-offset = <0x2000>;
  30. ti,davinci-ctrl-ram-offset = <0>;
  31. ti,davinci-ctrl-ram-size = <0x2000>;
  32. local-mac-address = [ 00 00 00 00 00 00 ];
  33. interrupts = <33
  34. 34
  35. 35
  36. 36
  37. >;
  38. interrupt-parent = <&intc>;
  39. };