software:poe_management

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:poe_management [2020/10/30 10:50]
svanheule [Hardware combinations] No FW required for TI controllers
software:poe_management [2021/09/19 19:48]
pfertser [OpenWrt Support for PoE] add a link to C implementation
Line 1: Line 1:
 ====== PoE management ====== ====== PoE management ======
  
-On RTL8380 and RTL8390 switches based on Realtek's development boards, power over ethernet is usually not managed directly the SoC itself, but by an intermediate microcontroller. This microcontroller in turn talks to a PoE power sourcing equipment (PSE) controller chip. The Realtek platform supports both a Broadcom based, and a Microsemi based implementation. A daemon running on the OS will poll the controller to manage the PoE ports and inform about their status.+On RTL8380 and RTL8390 switches based on Realtek's development boards, power over ethernet is usually not managed directly by the SoC itself, but by an intermediate microcontroller. This microcontroller in turn talks to a PoE power sourcing equipment (PSE) controller chip. The Realtek platform supports both a Broadcom based, and a Microsemi based implementation. A daemon running on the OS will poll the controller to manage the PoE ports and inform about their status.
  
 The PSE controllers will always be in the PoE power domain, which needs to be isolated from the SoC to protect it from external PoE faults. This means that the PoE controller will talk to either the SoC or PSE controller through a pair of optocouplers or isolators. Be aware of this when probing the control signals on the PoE hardware. The PSE controllers will always be in the PoE power domain, which needs to be isolated from the SoC to protect it from external PoE faults. This means that the PoE controller will talk to either the SoC or PSE controller through a pair of optocouplers or isolators. Be aware of this when probing the control signals on the PoE hardware.
Line 10: Line 10:
 | Cisco | [[:cisco-sx220|SG220-26P]] | RTL8382M | Microsemi PD69100 | PD69108 (?) | n/a | 802.3at | | Cisco | [[:cisco-sx220|SG220-26P]] | RTL8382M | Microsemi PD69100 | PD69108 (?) | n/a | 802.3at |
 | D-Link | [[:dgs-1210-10p|DGS-1210-10P F1]] | RTL8380M | Nuvoton M0516 (?) | BMC59121 | 1.8.2.1 | 802.3at | | D-Link | [[:dgs-1210-10p|DGS-1210-10P F1]] | RTL8380M | Nuvoton M0516 (?) | BMC59121 | 1.8.2.1 | 802.3at |
 +| Edge-CorE | ECS2100-10P | RTL8380M | Microchip PD69200 | Microchip PD69208M | n/a | 802.3at |
 | Netgear | [[:gs110tpp|GS110TPP v1]] | RTL8380M | Nuvoton M0516 | BCM59121 | 1.8.0.5 | 802.3at | | Netgear | [[:gs110tpp|GS110TPP v1]] | RTL8380M | Nuvoton M0516 | BCM59121 | 1.8.0.5 | 802.3at |
 +| Netgear | [[:GS310TP]] | RTL8380M | Nuvoton M0516 | BCM59121 | | 802.at |
 | Netgear | GS710TUP | | Nuvoton M0518 | BMC59121 ×2 | 4.1.0.1 | 802.3bt | | Netgear | GS710TUP | | Nuvoton M0518 | BMC59121 ×2 | 4.1.0.1 | 802.3bt |
 | Netgear | [[:gs728tpv2|GS728TP v2]] | RTL8391M | Nuvoton M0516 | BCM59121 ×3 | 2.0.2.7 | 802.3at | | Netgear | [[:gs728tpv2|GS728TP v2]] | RTL8391M | Nuvoton M0516 | BCM59121 ×3 | 2.0.2.7 | 802.3at |
 | TP-Link | [[:T1600G-52PS]] | RTL8393 | - | [[https://www.ti.com/lit/ds/symlink/tps23861.pdf|TI TPS23861PW]] ×12 | n/a | 802.3at | | TP-Link | [[:T1600G-52PS]] | RTL8393 | - | [[https://www.ti.com/lit/ds/symlink/tps23861.pdf|TI TPS23861PW]] ×12 | n/a | 802.3at |
-| Trendnet | [[:TPE-1620WS]] | RTL8382M | Nuvoton | BCM59121 ×2 | | 802.3at |+| Trendnet | [[:TPE-1620WS]] | RTL8382M | Nuvoton M0516LDE| BCM59121 ×2 | | 802.3at |
 | Zyxel | [[:GS1900-10HP]] | RTL8380M | STM 32F100 | BCM59121 | 1.6.0.4 (BCM59121), 1.0.0.1 (BCM59101) | 802.3at | | Zyxel | [[:GS1900-10HP]] | RTL8380M | STM 32F100 | BCM59121 | 1.6.0.4 (BCM59121), 1.0.0.1 (BCM59101) | 802.3at |
 | Zyxel | [[:Zyxel GS1920 series#GS1920-24HP]] | | STM 32F100 | [[https://docs.broadcom.com/doc/12358228|BMC59111]] ×6 | | 802.3at | | Zyxel | [[:Zyxel GS1920 series#GS1920-24HP]] | | STM 32F100 | [[https://docs.broadcom.com/doc/12358228|BMC59111]] ×6 | | 802.3at |
Line 24: Line 26:
 See [[Broadcom PoE control protocol]] for more details. See [[Broadcom PoE control protocol]] for more details.
  
-===== Microsemi platform  =====+===== Microchip/Microsemi platform  =====
  
-Like the Broadcom platform, the Microsemi PoE platform also uses a combination of a SoC-PSE bridge as controller, and PSE management ICs to control the power to the PoE devices.+Like the Broadcom platform, the Microchip PoE platform also uses a combination of a SoC-PSE bridge as controller, and PSE management ICs to control the power to the PoE devices.
  
-==== Documentation =====+=== Documentation ====
  
   * [[https://www.microsemi.com/document-portal/doc_download/132053-pd69108-pd63000-g-pd69000-pd69100-serial-communication-protocol|Microsemi Serial control protocol]] between SoC and management IC   * [[https://www.microsemi.com/document-portal/doc_download/132053-pd69108-pd63000-g-pd69000-pd69100-serial-communication-protocol|Microsemi Serial control protocol]] between SoC and management IC
   * PD69108 PSE controller: [[https://www.microchip.com/wwwproducts/en/PD69108|Product page]]   * PD69108 PSE controller: [[https://www.microchip.com/wwwproducts/en/PD69108|Product page]]
 +  * PD69200 PoE PSE Controller: [[http://ww1.microchip.com/downloads/en/DeviceDoc/PD69200_PoE_PSE_Controller_Datasheet_00003460A.pdf|Datasheet]]
 +  * PD69208T4/PD69204T4/PD69208M PSE Manager: [[https://ww1.microchip.com/downloads/en/DeviceDoc/PD69208T4_PD69204T4_PD69208M_PoE_PSE_Manager_Datasheet.pdf|Datasheet]]
 +
 +===== Texas Instruments ====
 +
 +Until now, only one switch series was based TI's PSE controllers. These can be controlled directly by the SoC, or (according to TI's product pages) by an intermediate MCU.
 +
 +===== OpenWrt Support for PoE ====
 +
 +If your switch is based on the Broadcom PoE platform, you will need the rtl83xx-poe package in order to use PoE. This is currently available from [[https://git.openwrt.org/?p=openwrt/staging/blogic.git;a=tree;f=package/rtl83xx-poe;hb=2540faec92abf8f5e52eae0e77bfbdb47457252d|blogic's staging tree]]. Note that the other PoE platforms are not supported by this package.
 +
 +Either compile the package separately and install it on the switch after booting up OpenWrt, or copy over the files in the files sub-directory over into the base-files directory of your OpenWrt git repository from which you build
 +the switch firmware.
 +
 +Information on how to configure is here: [[https://forum.openwrt.org/t/support-for-rtl838x-based-managed-switches/57875/284]].
 +
 +Please note this Lua implementation is no longer receiving updates and the new C code is in the works: [[https://patchwork.ozlabs.org/project/openwrt/patch/20210511152243.1167160-1-john@phrozen.org/]].
 +
 +==== Documentation ====
 +  * TPS23861 PSE controller: [[https://www.ti.com/lit/ds/symlink/tps23861.pdf|datasheet]] 
 +  * TPS23882 PSE controller: [[https://www.ti.com/lit/ds/symlink/tps23882.pdf|datasheet]]
 +
  • software/poe_management.txt
  • Last modified: 2021/09/19 19:48
  • by pfertser