Most likely it was originally Quechua, see Adelaar 1998. “The Name of the Sweet Potato: A Case of Pre-Conquest Contact between South America and the Pacific.” https://doi.org/10.1515/9783110806946.403