RX 580 & RX 480 on same mining Rig

Hello friends,
I have 4 RX 480 on my rig. next week i m gonna buy 2 RX 580. Now my Question is can i use both model cards on the same Rig??? will i get maximum output from my rig?

Thanks