pse-pi.rst 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. .. SPDX-License-Identifier: GPL-2.0
  2. PSE Power Interface (PSE PI) Documentation
  3. ==========================================
  4. The Power Sourcing Equipment Power Interface (PSE PI) plays a pivotal role in
  5. the architecture of Power over Ethernet (PoE) systems. It is essentially a
  6. blueprint that outlines how one or multiple power sources are connected to the
  7. eight-pin modular jack, commonly known as the Ethernet RJ45 port. This
  8. connection scheme is crucial for enabling the delivery of power alongside data
  9. over Ethernet cables.
  10. Documentation and Standards
  11. ---------------------------
  12. The IEEE 802.3 standard provides detailed documentation on the PSE PI.
  13. Specifically:
  14. - Section "33.2.3 PI pin assignments" covers the pin assignments for PoE
  15. systems that utilize two pairs for power delivery.
  16. - Section "145.2.4 PSE PI" addresses the configuration for PoE systems that
  17. deliver power over all four pairs of an Ethernet cable.
  18. PSE PI and Single Pair Ethernet
  19. -------------------------------
  20. Single Pair Ethernet (SPE) represents a different approach to Ethernet
  21. connectivity, utilizing just one pair of conductors for both data and power
  22. transmission. Unlike the configurations detailed in the PSE PI for standard
  23. Ethernet, which can involve multiple power sourcing arrangements across four or
  24. two pairs of wires, SPE operates on a simpler model due to its single-pair
  25. design. As a result, the complexities of choosing between alternative pin
  26. assignments for power delivery, as described in the PSE PI for multi-pair
  27. Ethernet, are not applicable to SPE.
  28. Understanding PSE PI
  29. --------------------
  30. The Power Sourcing Equipment Power Interface (PSE PI) is a framework defining
  31. how Power Sourcing Equipment (PSE) delivers power to Powered Devices (PDs) over
  32. Ethernet cables. It details two main configurations for power delivery, known
  33. as Alternative A and Alternative B, which are distinguished not only by their
  34. method of power transmission but also by the implications for polarity and data
  35. transmission direction.
  36. Alternative A and B Overview
  37. ----------------------------
  38. - **Alternative A:** Utilizes RJ45 conductors 1, 2, 3 and 6. In either case of
  39. networks 10/100BaseT or 1G/2G/5G/10GBaseT, the pairs used are carrying data.
  40. The power delivery's polarity in this alternative can vary based on the MDI
  41. (Medium Dependent Interface) or MDI-X (Medium Dependent Interface Crossover)
  42. configuration.
  43. - **Alternative B:** Utilizes RJ45 conductors 4, 5, 7 and 8. In case of
  44. 10/100BaseT network the pairs used are spare pairs without data and are less
  45. influenced by data transmission direction. This is not the case for
  46. 1G/2G/5G/10GBaseT network. Alternative B includes two configurations with
  47. different polarities, known as variant X and variant S, to accommodate
  48. different network requirements and device specifications.
  49. Table 145-3 PSE Pinout Alternatives
  50. -----------------------------------
  51. The following table outlines the pin configurations for both Alternative A and
  52. Alternative B.
  53. +------------+-------------------+-----------------+-----------------+-----------------+
  54. | Conductor | Alternative A | Alternative A | Alternative B | Alternative B |
  55. | | (MDI-X) | (MDI) | (X) | (S) |
  56. +============+===================+=================+=================+=================+
  57. | 1 | Negative V | Positive V | - | - |
  58. +------------+-------------------+-----------------+-----------------+-----------------+
  59. | 2 | Negative V | Positive V | - | - |
  60. +------------+-------------------+-----------------+-----------------+-----------------+
  61. | 3 | Positive V | Negative V | - | - |
  62. +------------+-------------------+-----------------+-----------------+-----------------+
  63. | 4 | - | - | Negative V | Positive V |
  64. +------------+-------------------+-----------------+-----------------+-----------------+
  65. | 5 | - | - | Negative V | Positive V |
  66. +------------+-------------------+-----------------+-----------------+-----------------+
  67. | 6 | Positive V | Negative V | - | - |
  68. +------------+-------------------+-----------------+-----------------+-----------------+
  69. | 7 | - | - | Positive V | Negative V |
  70. +------------+-------------------+-----------------+-----------------+-----------------+
  71. | 8 | - | - | Positive V | Negative V |
  72. +------------+-------------------+-----------------+-----------------+-----------------+
  73. .. note::
  74. - "Positive V" and "Negative V" indicate the voltage polarity for each pin.
  75. - "-" indicates that the pin is not used for power delivery in that
  76. specific configuration.
  77. PSE PI compatibilities
  78. ----------------------
  79. The following table outlines the compatibility between the pinout alternative
  80. and the 1000/2.5G/5G/10GBaseT in the PSE 2 pairs connection.
  81. +---------+---------------+---------------------+-----------------------+
  82. | Variant | Alternative | Power Feeding Type | Compatibility with |
  83. | | (A/B) | (Direct/Phantom) | 1000/2.5G/5G/10GBaseT |
  84. +=========+===============+=====================+=======================+
  85. | 1 | A | Phantom | Yes |
  86. +---------+---------------+---------------------+-----------------------+
  87. | 2 | B | Phantom | Yes |
  88. +---------+---------------+---------------------+-----------------------+
  89. | 3 | B | Direct | No |
  90. +---------+---------------+---------------------+-----------------------+
  91. .. note::
  92. - "Direct" indicate a variant where the power is injected directly to pairs
  93. without using magnetics in case of spare pairs.
  94. - "Phantom" indicate power path over coils/magnetics as it is done for
  95. Alternative A variant.
  96. In case of PSE 4 pairs, a PSE supporting only 10/100BaseT (which mean Direct
  97. Power on pinout Alternative B) is not compatible with a 4 pairs
  98. 1000/2.5G/5G/10GBaseT.
  99. PSE Power Interface (PSE PI) Connection Diagram
  100. -----------------------------------------------
  101. The diagram below illustrates the connection architecture between the RJ45
  102. port, the Ethernet PHY (Physical Layer), and the PSE PI (Power Sourcing
  103. Equipment Power Interface), demonstrating how power and data are delivered
  104. simultaneously through an Ethernet cable. The RJ45 port serves as the physical
  105. interface for these connections, with each of its eight pins connected to both
  106. the Ethernet PHY for data transmission and the PSE PI for power delivery.
  107. .. code-block::
  108. +--------------------------+
  109. | |
  110. | RJ45 Port |
  111. | |
  112. +--+--+--+--+--+--+--+--+--+ +-------------+
  113. 1| 2| 3| 4| 5| 6| 7| 8| | |
  114. | | | | | | | o-------------------+ |
  115. | | | | | | o--|-------------------+ +<--- PSE 1
  116. | | | | | o--|--|-------------------+ |
  117. | | | | o--|--|--|-------------------+ |
  118. | | | o--|--|--|--|-------------------+ PSE PI |
  119. | | o--|--|--|--|--|-------------------+ |
  120. | o--|--|--|--|--|--|-------------------+ +<--- PSE 2 (optional)
  121. o--|--|--|--|--|--|--|-------------------+ |
  122. | | | | | | | | | |
  123. +--+--+--+--+--+--+--+--+--+ +-------------+
  124. | |
  125. | Ethernet PHY |
  126. | |
  127. +--------------------------+
  128. Simple PSE PI Configuration for Alternative A
  129. ---------------------------------------------
  130. The diagram below illustrates a straightforward PSE PI (Power Sourcing
  131. Equipment Power Interface) configuration designed to support the Alternative A
  132. setup for Power over Ethernet (PoE). This implementation is tailored to provide
  133. power delivery through the data-carrying pairs of an Ethernet cable, suitable
  134. for either MDI or MDI-X configurations, albeit supporting one variation at a
  135. time.
  136. .. code-block::
  137. +-------------+
  138. | PSE PI |
  139. 8 -----+ +-------------+
  140. 7 -----+ Rail 1 |
  141. 6 -----+------+----------------------+
  142. 5 -----+ | |
  143. 4 -----+ | Rail 2 | PSE 1
  144. 3 -----+------/ +------------+
  145. 2 -----+--+-------------/ |
  146. 1 -----+--/ +-------------+
  147. |
  148. +-------------+
  149. In this configuration:
  150. - Pins 1 and 2, as well as pins 3 and 6, are utilized for power delivery in
  151. addition to data transmission. This aligns with the standard wiring for
  152. 10/100BaseT Ethernet networks where these pairs are used for data.
  153. - Rail 1 and Rail 2 represent the positive and negative voltage rails, with
  154. Rail 1 connected to pins 1 and 2, and Rail 2 connected to pins 3 and 6.
  155. More advanced PSE PI configurations may include integrated or external
  156. switches to change the polarity of the voltage rails, allowing for
  157. compatibility with both MDI and MDI-X configurations.
  158. More complex PSE PI configurations may include additional components, to support
  159. Alternative B, or to provide additional features such as power management, or
  160. additional power delivery capabilities such as 2-pair or 4-pair power delivery.
  161. .. code-block::
  162. +-------------+
  163. | PSE PI |
  164. | +---+
  165. 8 -----+--------+ | +-------------+
  166. 7 -----+--------+ | Rail 1 |
  167. 6 -----+--------+ +-----------------+
  168. 5 -----+--------+ | |
  169. 4 -----+--------+ | Rail 2 | PSE 1
  170. 3 -----+--------+ +----------------+
  171. 2 -----+--------+ | |
  172. 1 -----+--------+ | +-------------+
  173. | +---+
  174. +-------------+
  175. Device Tree Configuration: Describing PSE PI Configurations
  176. -----------------------------------------------------------
  177. The necessity for a separate PSE PI node in the device tree is influenced by
  178. the intricacy of the Power over Ethernet (PoE) system's setup. Here are
  179. descriptions of both simple and complex PSE PI configurations to illustrate
  180. this decision-making process:
  181. **Simple PSE PI Configuration:**
  182. In a straightforward scenario, the PSE PI setup involves a direct, one-to-one
  183. connection between a single PSE controller and an Ethernet port. This setup
  184. typically supports basic PoE functionality without the need for dynamic
  185. configuration or management of multiple power delivery modes. For such simple
  186. configurations, detailing the PSE PI within the existing PSE controller's node
  187. may suffice, as the system does not encompass additional complexity that
  188. warrants a separate node. The primary focus here is on the clear and direct
  189. association of power delivery to a specific Ethernet port.
  190. **Complex PSE PI Configuration:**
  191. Contrastingly, a complex PSE PI setup may encompass multiple PSE controllers or
  192. auxiliary circuits that collectively manage power delivery to one Ethernet
  193. port. Such configurations might support a range of PoE standards and require
  194. the capability to dynamically configure power delivery based on the operational
  195. mode (e.g., PoE2 versus PoE4) or specific requirements of connected devices. In
  196. these instances, a dedicated PSE PI node becomes essential for accurately
  197. documenting the system architecture. This node would serve to detail the
  198. interactions between different PSE controllers, the support for various PoE
  199. modes, and any additional logic required to coordinate power delivery across
  200. the network infrastructure.
  201. **Guidance:**
  202. For simple PSE setups, including PSE PI information in the PSE controller node
  203. might suffice due to the straightforward nature of these systems. However,
  204. complex configurations, involving multiple components or advanced PoE features,
  205. benefit from a dedicated PSE PI node. This method adheres to IEEE 802.3
  206. specifications, improving documentation clarity and ensuring accurate
  207. representation of the PoE system's complexity.
  208. PSE PI Node: Essential Information
  209. ----------------------------------
  210. The PSE PI (Power Sourcing Equipment Power Interface) node in a device tree can
  211. include several key pieces of information critical for defining the power
  212. delivery capabilities and configurations of a PoE (Power over Ethernet) system.
  213. Below is a list of such information, along with explanations for their
  214. necessity and reasons why they might not be found within a PSE controller node:
  215. 1. **Powered Pairs Configuration**
  216. - *Description:* Identifies the pairs used for power delivery in the
  217. Ethernet cable.
  218. - *Necessity:* Essential to ensure the correct pairs are powered according
  219. to the board's design.
  220. - *PSE Controller Node:* Typically lacks details on physical pair usage,
  221. focusing on power regulation.
  222. 2. **Polarity of Powered Pairs**
  223. - *Description:* Specifies the polarity (positive or negative) for each
  224. powered pair.
  225. - *Necessity:* Critical for safe and effective power transmission to PDs.
  226. - *PSE Controller Node:* Polarity management may exceed the standard
  227. functionalities of PSE controllers.
  228. 3. **PSE Cells Association**
  229. - *Description:* Details the association of PSE cells with Ethernet ports or
  230. pairs in multi-cell configurations.
  231. - *Necessity:* Allows for optimized power resource allocation in complex
  232. systems.
  233. - *PSE Controller Node:* Controllers may not manage cell associations
  234. directly, focusing instead on power flow regulation.
  235. 4. **Support for PoE Standards**
  236. - *Description:* Lists the PoE standards and configurations supported by the
  237. system.
  238. - *Necessity:* Ensures system compatibility with various PDs and adherence
  239. to industry standards.
  240. - *PSE Controller Node:* Specific capabilities may depend on the overall PSE
  241. PI design rather than the controller alone. Multiple PSE cells per PI
  242. do not necessarily imply support for multiple PoE standards.
  243. 5. **Protection Mechanisms**
  244. - *Description:* Outlines additional protection mechanisms, such as
  245. overcurrent protection and thermal management.
  246. - *Necessity:* Provides extra safety and stability, complementing PSE
  247. controller protections.
  248. - *PSE Controller Node:* Some protections may be implemented via
  249. board-specific hardware or algorithms external to the controller.