standard ethernet pinout for M12 A coded
Mouser M12 Vs RJ45

On page 2 of this info sheet from Phoenix Contact, it says 
"There is still no agreed standard on wiring an eight-pin variant for Industrial Ethernet."

Hope that helps