GPIO Base address

Options
Vittorio
Vittorio New Member Posts: 2
Hi,
I'm new to the forum and I would like to ask a question: what is the GPIO base address for the Up Squared board (CPU N4200)?

Comments

  • Nicola Lunghi
    Nicola Lunghi Emutex Posts: 131 mod
    Options
    Hi
    why do you need the base address?
    Intel GPIO register are very different from for example RPi and its best not to mess with them unless you know well the internal register specification (and you have access to Intel documentation that is not all public)
    Better to stick to /sys/class/gpio if its not absolutely necessary.
    If you still want to do so you can have a look at the source of Intel driver in the kernel source.
    Regards
    Nicola Lunghi
  • Vittorio
    Vittorio New Member Posts: 2
    Options
    My only option is accessing the physical registers. Therefore, I need not only the GPIO controller/s base address but the details for the offsets of each GPIO register. Usually such information are documented in the board datasheet...