The iPhone 7 will boot-loop if the charging port is faulty or you have damaged the connector. Purchase another charge port from a reputable supplier.
open