I want to use P9_19 and P9_20 (so I have a set of contiguious GPIOs), but they are allocated by i2c2. Is there a way to free up these pins so I can use them in my overlay? I found a discussion in this thread but no clear answer.
Some options I’m considering:
Option 1: build a new kernel. I’d rather avoid this.
Option 2: decompile am335x-boneblack.dtsi and modify it. Would this work? I couldn’t find this file on my BBB.
Option 3: do something in the overlay? Is there a way to unallocate previously allocated pins?
Freeing up the HDMI pins was straightforward, just don’t load the overlay, but i2c2 seems to be more hardwired. Any suggestions?