UPDATE 1-US crude prices rise on returning refineries; gasoline slumps to pre-Harvey levels

pre-Harvey levels@

* Several U.S. refiners, pipelines, re-open after Harvey

* But over 11 pct of U.S. refining capacity remains offline (Adds refinery capacity detail, updates prices)

SINGAPORE, Sept 5 (Reuters) - U.S. oil prices edged up on Tuesday as the gradual restart of refineries in the Gulf of Mexico that were shut by Hurricane Harvey raised demand for crude, their main feedstock.

The return of many U.S. refineries also ended a spike in gasoline prices, as initial fears of a serious supply crunch faded.

U.S. West Texas Intermediate (WTI) crude futures were at $47.41 barrel at 0255 GMT, up 12 cents, or 0.3 percent, from their last settlement.

Gasoline futures, by contrast, fell 3.5 percent from their last close, to $1.68 per gallon, down from $2.17 a gallon on Aug. 31 and back to levels last seen before Hurricane Harvey hit the U.S. Gulf coast and its large refining industry.

"Gasoline fell as refineries in Texas began to reopen," said William O'Loughlin, investment analyst at Rivkin Securities.

Texas on Monday edged towards recovery from the devastation of Hurricane Harvey as shipping channels, oil pipelines and refineries restarted some operations.

The Department of Energy said that eight U.S. oil refineries with a total of 2.1 million bpd, or 11.4 percent of total U.S. refining capacity, were still shut down as of Monday afternoon.

Harvey hit the Texan coast late on Aug. 25 and at its peak knocked out almost a quarter of the entire U.S. refining capacity.

In international oil markets, Brent crude futures dipped 19 cents, or 0.4 percent, to $52.15 a barrel as traders pulled money out of oil - seen as a riskier asset - and instead poured it into gold, an investor safe-haven, following North Korea's most powerful nuclear test to date.

(Reporting by Henning Gloystein; Editing by Joseph Radford and Richard Pullin)