For a quick demo, I need to turn on/off one of the spare LEDs on the 6SLEVM (i.MX6 SoloLite EVK).
I'm demoing an Android app running on that board.
I see how to do it from a C program but not from Java in an Android app.
Sample java blog suggests finding it in the "Device Tree" the write to it like writing a file.
e.g. URI = /sys/devices/virtual/gpio/gpio115/value, or similar location in /sys/classes... or something like that.
Then, to check from the command line, I'd type "echo 1 > /sys/devices/virtual/gpio/gpio115/value"
But I can't find a "device" in the tree that looks like it's for that LED.
On the schematic, it's HSIC_STROBE (and HSIC_STROBE_GPIO).
In reference guide, it mentions GPIO3_20 for ALT5 (a/k/a gpio3.GPIO). I have no idea how that implies a node in the Device Tree.
In the schematic, it's D23, driven by Q5 (page 14).