For the dragonboard 410c, the values that we see in examples should be changed by adding an offet of 390.
To get the correct value, you can check with midnight commander (sudo apt install mc).
Midnight commander is a very convenient file manager on the console. It works fine on the Dragonboard.
On the command line:
cd /sys/class/gpio
ls
cd gpiochip390
ls
cat ngpio
It gives 122, the other 2 chips give 4.
cat base
It gives 390
So all the old docs should be converted:
user led 1 | 69 | 411
user led 2 | 69 | 510
user led 3 | 69 | 1 + 382 OR 386 (UNTESTED)
user led 4 | 69 | 2 + 382 OR 386 (UNTESTED)
D410c | Mezz | GPIO | OLD | NEW
------±-----±-------±----±----
J8.23 | G1.1 | GPIO A | 36 | 426
J8.24 | G1.2 | GPIO B | 12 | 402
J8.25 | (NA) | GPIO C | 13 | 403
J8.26 | (NA) | GPIO D | 69 | 459
J8.27 | G2.1 | GPIO E | 115 | 505
J8.28 | G2.2 | GPIO F | 4 | 4 + 382 OR 386 (UNTESTED)
J8.29 | G3.1 | GPIO G | 24 | 414
J8.30 | G3.2 | GPIO H | 25 | 415
J8.31 | G4.1 | GPIO I | 35 | 425
J8.32 | G4.2 | GPIO J | 34 | 424
J8.33 | G5.1 | GPIO K | 28 | 418
J8.34 | G5.2 | GPIO L | 33 | 423