An Enhanced Driver's License (EDL) is a special type of license issued by certain U.S. states that complies with the federal REAL ID Act. While an EDL is valid for domestic air travel and entry into federal facilities, it is not a passport and cannot be used for international travel, including land or sea border crossings into the United States from Mexico.
For re-entry from Mexico, you must present a valid passport, a passport card, or a trusted traveler program card (such as NEXUS, SENTRI, or FAST). An EDL alone will not suffice for crossing an international border.