They have slight differences on the logic board, but a 4,1 can have its firmware flashed to 5,1.
open