marvell-armada-370-neta.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. * Marvell Armada 370 / Armada XP / Armada 3700 Ethernet Controller (NETA)
  2. Required properties:
  3. - compatible: could be one of the following:
  4. "marvell,armada-370-neta"
  5. "marvell,armada-xp-neta"
  6. "marvell,armada-3700-neta"
  7. - reg: address and length of the register set for the device.
  8. - interrupts: interrupt for the device
  9. - phy: See ethernet.txt file in the same directory.
  10. - phy-mode: See ethernet.txt file in the same directory
  11. - clocks: List of clocks for this device. At least one clock is
  12. mandatory for the core clock. If several clocks are given, then the
  13. clock-names property must be used to identify them.
  14. Optional properties:
  15. - tx-csum-limit: maximum mtu supported by port that allow TX checksum.
  16. Value is presented in bytes. If not used, by default 1600B is set for
  17. "marvell,armada-370-neta" and 9800B for others.
  18. - clock-names: List of names corresponding to clocks property; shall be
  19. "core" for core clock and "bus" for the optional bus clock.
  20. Optional properties (valid only for Armada XP/38x):
  21. - buffer-manager: a phandle to a buffer manager node. Please refer to
  22. Documentation/devicetree/bindings/net/marvell-neta-bm.txt
  23. - bm,pool-long: ID of a pool, that will accept all packets of a size
  24. higher than 'short' pool's threshold (if set) and up to MTU value.
  25. Obligatory, when the port is supposed to use hardware
  26. buffer management.
  27. - bm,pool-short: ID of a pool, that will be used for accepting
  28. packets of a size lower than given threshold. If not set, the port
  29. will use a single 'long' pool for all packets, as defined above.
  30. Example:
  31. ethernet@70000 {
  32. compatible = "marvell,armada-370-neta";
  33. reg = <0x70000 0x2500>;
  34. interrupts = <8>;
  35. clocks = <&gate_clk 4>;
  36. tx-csum-limit = <9800>
  37. phy = <&phy0>;
  38. phy-mode = "rgmii-id";
  39. buffer-manager = <&bm>;
  40. bm,pool-long = <0>;
  41. bm,pool-short = <1>;
  42. };