Select the area you want, then Filter-->Pixelate-->Mosaic.