Of the prosopopoeia, or personification, there are two kinds; one, when actions and character are attributed to irrational, or even inanimate objects; the other, when a probable but fictitious speech is assigned to a real character.

2013, Graham Harvey, Animism: Respecting the Living World, page 4:

Hence the frequency and beauty of the prosopopoeia in poetry, where trees, mountains, and streams are personified, and the inanimate parts of nature acquire sentiment and passion.