1884, from tommy in sense of "a simpleton" (1829), diminutive of Tom (as in tom-fool) + rot (n.).
tomcat
tome
tom-fool
tomfoolery
Tommy
tommyrot
tomography
tomorrow
tom-tom
-tomy
ton