Move register flags to regmap file