dynamically setting visibility of form fields based on the selected hardware type is not ideal UX as user is first displayed only few fields but on selection of hardware type more fields are generate, the more the fields the less likely the user is to fill the form.
We can split form into two sections/forms making it a stepped form along with displaying a step tracker. This will inform the user that there are two forms to fill and also give feedback on progress.