Compounds, and pharmaceutically acceptable salts thereof, useful as inhibitors of sodium channels are provided. The compounds have the formula (I) wherein R is H or CH2OPO(OH)2. Also provided are pharmaceutical compositions comprising the compounds or pharmaceutically acceptable salts and methods of using the compounds, pharmaceutically acceptable salts, and pharmaceutical compositions in the treatment of various disorders, including pain.