Phase diagram of a high-temperature superconductor in the Bi2Sr2CuOy system