davinci_emac.txt 1.3 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";
  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. - ti,davinci-rmii-en: use RMII
  12. - ti,davinci-no-bd-ram: has the emac controller BD RAM
  13. - phy-handle: Contains a phandle to an Ethernet PHY.
  14. if not, davinci_emac driver defaults to 100/FULL
  15. - interrupts: interrupt mapping for the davinci emac interrupts sources:
  16. 4 sources: <Receive Threshold Interrupt
  17. Receive Interrupt
  18. Transmit Interrupt
  19. Miscellaneous Interrupt>
  20. Optional properties:
  21. - local-mac-address : 6 bytes, mac address
  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. };