PINE64

Full Version: How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using armbian bionic mainline kernel on A64-v1.1 board
Linux pine64 4.19.38-sunxi64 #5.83 SMP Fri May 3 21:02:31 CEST 2019 aarch64 aarch64 aarch64 GNU/Linux

In RPI bionic could just set values in boot.txt.  Is this possible in armbian bionic mainline?

I know that one can use device tree overlays but can't find any examples specific to the A64.

Anyone have a dts file or otherwise know how to declare a pin as an interruptible input?  I've come across nothing in any A64 docs.
Looks like I tracked down an example dts file here
https://github.com/armbian/sunxi-DT-over...button.dts

here is more explanation of how to implment
https://docs.armbian.com/Hardware_Allwin...m-overlays

Still need to edit, compile and try it, but at least good example to go from