A High-granularity timing detector for the ATLAS Phase-II upgrade