Hello,
I cannot confirm anything without examination but it can be Fordyce spots, freckle,
lentigo, penile melanotic macule or penile melanosis. Melanosis is the benign pigmentation of the mucosal surface of the penis. The area is flat, and stable. Biopsy, if performed, will show clusters of melanocytes with a benign appearance. Lentigo is a small, sharply circumscribed, pigmented macule surrounded by normal-appearing skin.
I suggest you to get an examination done from a dermatologist.