add sane value for reg_val if not sun5i or sun7i