Power & Source of Big Ideas

NanoPi M4 GPIO confusion..

Moderators: chensy, FATechsupport

Hi Folks,

I've been looking at the pinout and I'm a bit confused, the wiki page talks about

GPIO1_A1
GPIO1_C2
GPIO1_A3
GPIO1_A4
GPIO1_C6
GPIO1_C7
GPIO1_D0

That's 7 different pins on the 40 pin header, which one is actually GPIO1 ?

In Ubuntu, I found 5 GPIO's described in:
/sys/devices/platform/pinctrl/gpio/gpiochip0/label -> gpio0
/sys/devices/platform/pinctrl/gpio/gpiochip32/label -> gpio1
/sys/devices/platform/pinctrl/gpio/gpiochip64/label -> gpio2
/sys/devices/platform/pinctrl/gpio/gpiochip96/label -> gpio3
/sys/devices/platform/pinctrl/gpio/gpiochip128/label -> gpio4

It's not clear if the device tree (DTB) file is just screwed up or what. Please help me make sense of it. :)
on the wiki page
http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M4
they named the standard 40 pin Connector GPIO1 because of the additinal ports on the 24 pin row GPIO2 :(

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 106 on Tue Jun 04, 2019 5:48 pm

Users browsing this forum: No registered users and 2 guests