Auraicept na nÉces and the Ogham Tracts
The tract does not insist on trees. In the Book of Ballymote text (Calder, 1917) the letters are named 'secundum alios' after Fénius Farsaid's noblest scholars and, by others, after forest trees 'metaphorically'.
George Calder, Auraicept na n-Éces (Edinburgh, 1917), p. 275, translating the Book of Ballymote, fol. 309a
Medieval Irish scholars' primer whose Ogham tract names the ogham letters and links them to trees.