On Tue, 16 May 2023 at 07:36, ido berenbaum <ido.b...@gmail.com> wrote: > > Hi, I was trying to understand the architecture of the vexpress virtual > machine in regards to adding new gpios that are going to be external. > First, is it right to act as if I am developing on a physical board and add > the gpios to the VexpressMachineState struct? > Secondly, which gpio type fits here? I see that for fsl_imx7 it is the > imx_gpio, but what is for vexpress? Should I create one? > Or, can I use pl061?
The vexpress is a model of a real piece of hardware, so the answer is "you model what the real hardware is doing". You should be able to find that out in the technical reference manual for the board / daughterboard. Why are you interested in the vexpress in particular? It is a pretty elderly development board... thanks -- PMM