The Sumerian god known for farming and irrigation was Enkimdu.
Enkimdu was a Mesopotamian agricultural deity associated with cultivation, canals, embankments, and irrigation. One of his epithets was “lord of embankments and ditches,” reflecting the importance of controlling river water in the farming landscapes of southern Mesopotamia.
He is best known from the Sumerian poem Dumuzi and Enkimdu, in which he represents the settled farmer in a contrast with Dumuzi, the shepherd. Enkimdu also appears in Enki and the World Order, where he is entrusted with agricultural works, and in texts describing the practical labor of irrigating fields.
Enkimdu is sometimes confused with Enki because their names look similar. Enki was the god of freshwater, wisdom, and craftsmanship, whereas Enkimdu had the more specialized role of agriculture and irrigation. Enlil was a major sky and wind deity, and Enkidu was the wild man and companion of Gilgamesh, not a farming god. Evidence suggests Enkimdu may have been worshiped at Umma, though the surviving evidence is limited.