device port to spring config