Enables ATP binding activity and magnesium ion transmembrane transporter activity. Acts upstream of or within magnesium ion transport. Located in basolateral plasma membrane. Is expressed in several structures, including central nervous system; genitourinary system; gut; liver; and retina. Human ortholog(s) of this gene implicated in renal hypomagnesemia 6. Orthologous to human CNNM2 (cyclin and CBS domain divalent metal cation transport mediator 2). [provided by Alliance of Genome Resources, Apr 2022]