Младшая Эдда
The "Prose Edda" book "Gylfaginning" assigns him a role in Ragnarök: