ti-prueth.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Texas Instruments PRUSS Ethernet MAC
  2. ====================================
  3. Required properties:
  4. - compatible : Should be one of the following,
  5. "ti,am3359-prueth" for AM335x SoCs
  6. "ti,am4376-prueth" for AM437x SoCs
  7. "ti,am57-prueth" for AM57xx SoCs
  8. "ti,k2g-prueth" for 66AK2G SoCs
  9. - pruss : Must point to a pruss device node
  10. - sram : pHandle to OCMC SRAM node
  11. - interrupt-parent : pHandle to the PRUSS INTC node
  12. Must contain children, one for each of the MAC ports.
  13. Required properties for children:
  14. - phy-handle : See ethernet.txt file in the same directory.
  15. - phy-mode : See ethernet.txt file in the same directory.
  16. - interrupt-names : should be "rx", "tx" and "ptp_tx".
  17. ptp_tx is optional.
  18. - interrupts : should contain an array of PRUSS system event
  19. numbers used as the interrupt sources for Rx,
  20. Tx and PTP Tx event packet timestamping (with
  21. PRP firmware) respectively.
  22. Optional properties for children:
  23. - local-mac-address : mac address for the port.
  24. Example (am572x-idk board):
  25. ===========================
  26. pruss2_eth {
  27. compatible = "ti,am57-prueth";
  28. pruss = <&pruss2>;
  29. sram = <&ocmcram1>;
  30. interrupt-parent = <&pruss2_intc>;
  31. pruss2_emac0: ethernet-mii0 {
  32. phy-handle = <&pruss2_eth0_phy>;
  33. phy-mode = "mii";
  34. interrupts = <20>, <22>, <23>;
  35. interrupt-names = "rx", "tx", "ptp_tx";
  36. /* Filled in by bootloader */
  37. local-mac-address = [00 00 00 00 00 00];
  38. };
  39. pruss2_emac1: ethernet-mii1 {
  40. phy-handle = <&pruss2_eth1_phy>;
  41. phy-mode = "mii";
  42. interrupts = <21>, <23>, <24>;
  43. interrupt-names = "rx", "tx", "ptp_tx";
  44. /* Filled in by bootloader */
  45. local-mac-address = [00 00 00 00 00 00];
  46. };
  47. };