Edda prosaica
The "Prose Edda" book "Gylfaginning" assigns him a role in Ragnarök: