Real Madrid legend Marcelo has decided it's time to hang up his boots.