adverbial phrase (particle に); from 一心 (noun) meaning "one heart/mind"
Analysis. 一 (one) + 心 (heart/mind) + に (adverbial particle); literally "with one heart," expressing unified mental focus or commitment.
Etymology. 一 (one) derives from Proto-Japonic *ito, related to Old Japanese ito and Korean il. 心 (heart/mind) derives from Sino-Japanese 心 (xīn), which in Old Chinese originally meant the physical heart before extending to mind and emotion—cognate with English "cord" in its sense of inner binding.
Dictionary entry by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version