Passage 7.17.10
ἐνταῦθα ἄλλοι τε τῶν Λυδῶν καὶ αὐτὸς Ἄττης ἀπέθανεν ὑπὸ τοῦ ὑός· καί τι ἑπόμενον τούτοις Γαλατῶν δρῶσιν οἱ Πεσσινοῦντα ἔχοντες, ὑῶν οὐχ ἁπτόμενοι. νομίζουσί γε μὴν οὐχ οὕτω τὰ ἐς τὸν Ἄττην, ἀλλὰ ἐπιχώριός ἐστιν ἄλλος σφίσιν ἐς αὐτὸν λόγος, Δία ὑπνωμένον ἀφεῖναι σπέρμα ἐς γῆν, τὴν δὲ ἀνὰ χρόνον ἀνεῖναι δαίμονα διπλᾶ ἔχοντα αἰδοῖα, τὰ μὲν ἀνδρός, τὰ δὲ αὐτῶν γυναικός· ὄνομα δὲ Ἄγδιστιν αὐτῷ τίθενται. θεοὶ δὲ Ἄγδιστιν δείσαντες τὰ αἰδοῖά οἱ τὰ ἀνδρὸς ἀποκόπτουσιν.
In this place, many others among the Lydians died, and Attis himself was slain by a boar. Henceforth, the people dwelling in Pessinus, as a consequence of these events, observe a custom derived from this incident by refraining from touching swine. However, their own tradition concerning Attis is quite different: they recount that Zeus once emitted seed upon the earth in his sleep, and after some time, the earth gave birth to a divine being possessing dual sexual organs—those both of a man and of a woman. They name this divinity Agdistis. But the gods, fearing Agdistis, severed from it the male organs.