need a dts file to set some pins as pulldown interrupts in kernel using a DTO - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85) +--- Forum: Linux on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=88) +--- Thread: need a dts file to set some pins as pulldown interrupts in kernel using a DTO (/showthread.php?tid=9035) |
need a dts file to set some pins as pulldown interrupts in kernel using a DTO - dkebler - 02-05-2020 I am using the latest stable ayufan bionic I need to use a few of the gpio pins as input interrupts. In an RPI that is a simple is setting a line the the /boot/firmware/config.txt file. ex. gpio=9,10,24,4=pd to set pins 0.10,24,4 as pulldowns But I guess that method has not been copied in the ayufan image. That leaves me to rebuild the kernel (not wanting to do that) or use a DTO which I understand is a way to add functionality to the kernel without a complete recompile. So I gotta believe someone has had a need of pins as interrupts on the rock64 and already has a working dts file. Besides being some pretty arcane syntax I can find no docs on this that pertain specifically to the rock64 let alone a sample dts file. Can anyone help out here with a working dts file and some details about how to compile/register it so it gets picked up at boot. here for example is a beagle black dts file about all I could find. Code: /* |