If the momentum of a photon is p, then its frequency is Where m is the rest mass of the photon
ph/c
pc/h
mh/c
mc/h