swap the pos of reg and dat of sm712_write*
call sm712_writel instead of raw writel.