POE design to support both Mode A and B
You can design for both modes, by including two diode bridges, one for each mode, and connecting them together. For more information, I think you'll find this article very heplful:

link to EDN article