DeepRTL2: A Versatile Model for RTL-Related Tasks