cavium-pip.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. * PIP Ethernet nexus.
  2. The PIP Ethernet nexus can control several data packet input/output
  3. devices. The devices have a two level grouping scheme. There may be
  4. several interfaces, and each interface may have several ports. These
  5. ports might be an individual Ethernet PHY.
  6. Properties for the PIP nexus:
  7. - compatible: "cavium,octeon-3860-pip"
  8. Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs.
  9. - reg: The base address of the PIP's register bank.
  10. - #address-cells: Must be <1>.
  11. - #size-cells: Must be <0>.
  12. Properties for PIP interfaces which is a child the PIP nexus:
  13. - compatible: "cavium,octeon-3860-pip-interface"
  14. Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs.
  15. - reg: The interface number.
  16. - #address-cells: Must be <1>.
  17. - #size-cells: Must be <0>.
  18. Properties for PIP port which is a child the PIP interface:
  19. - compatible: "cavium,octeon-3860-pip-port"
  20. Compatibility with all cn3XXX, cn5XXX and cn6XXX SOCs.
  21. - reg: The port number within the interface group.
  22. - phy-handle: Optional, see ethernet.txt file in the same directory.
  23. Example:
  24. pip@11800a0000000 {
  25. compatible = "cavium,octeon-3860-pip";
  26. #address-cells = <1>;
  27. #size-cells = <0>;
  28. reg = <0x11800 0xa0000000 0x0 0x2000>;
  29. interface@0 {
  30. compatible = "cavium,octeon-3860-pip-interface";
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. reg = <0>; /* interface */
  34. ethernet@0 {
  35. compatible = "cavium,octeon-3860-pip-port";
  36. reg = <0x0>; /* Port */
  37. local-mac-address = [ 00 0f b7 10 63 60 ];
  38. phy-handle = <&phy2>;
  39. };
  40. ethernet@1 {
  41. compatible = "cavium,octeon-3860-pip-port";
  42. reg = <0x1>; /* Port */
  43. local-mac-address = [ 00 0f b7 10 63 61 ];
  44. phy-handle = <&phy3>;
  45. };
  46. ethernet@2 {
  47. compatible = "cavium,octeon-3860-pip-port";
  48. reg = <0x2>; /* Port */
  49. local-mac-address = [ 00 0f b7 10 63 62 ];
  50. phy-handle = <&phy4>;
  51. };
  52. ethernet@3 {
  53. compatible = "cavium,octeon-3860-pip-port";
  54. reg = <0x3>; /* Port */
  55. local-mac-address = [ 00 0f b7 10 63 63 ];
  56. phy-handle = <&phy5>;
  57. };
  58. };
  59. interface@1 {
  60. compatible = "cavium,octeon-3860-pip-interface";
  61. #address-cells = <1>;
  62. #size-cells = <0>;
  63. reg = <1>; /* interface */
  64. ethernet@0 {
  65. compatible = "cavium,octeon-3860-pip-port";
  66. reg = <0x0>; /* Port */
  67. local-mac-address = [ 00 0f b7 10 63 64 ];
  68. phy-handle = <&phy6>;
  69. };
  70. };
  71. };