Green’s Dictionary of Slang

tommy n.14

(US) the penis.

[US]Ely’s Hawk & Buzzard (NY) 15 Mar. 1/2: Arhur the Bould, who [...] employed his time in exhibiting his little tommy to the most juvenile members of the establishment [i.e. a brothel], giving them actual proofs of its utility [etc].