How to use dts or other setup to declare gpio pin Interrupt (e.g. a button)?
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

here is more explanation of how to implment

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

Possibly Related Threads…
Thread Author Replies Views Last Post
  RPi.GPIO python module for Pine A64/A64+ aquilegia 98 105,014 12-15-2022, 08:40 PM
Last Post: Fadazo
  fm transmitter with gpio weasel18 2 3,790 09-10-2019, 04:28 AM
Last Post: desai_amogh
Lightbulb Sample GPIO codes highlighting RPi.GPIO-PineA64 and the PI bus MarkHaysHarris777 6 9,018 06-07-2019, 12:37 AM
Last Post: tllim
Star GPIO, SPI and I2C C++ Lib databit 7 9,168 02-04-2019, 05:45 AM
Last Post: Jeff R
Information Howto: Controlling Pine64 GPIO via the filesystem (sysfs) on linux pfeerick 4 10,285 01-24-2019, 03:36 AM
Last Post: Fifth
  +LTS/SOPINE +PINEBOOK configuring Euler Bus pin generate interrupt RANJITT76 0 2,044 01-10-2019, 02:45 AM
Last Post: RANJITT76
  GPIO and SPI SamR1 20 25,949 03-15-2018, 10:32 AM
Last Post: jomoengineer
Question GPIO shockr 7 12,310 03-11-2018, 01:52 AM
Last Post: jomoengineer
  Read GPIO problem shworker 14 16,955 08-17-2017, 01:21 PM
Last Post: martinayotte
  GPIO fiq capability joseph 3 4,914 11-10-2016, 06:07 PM
Last Post: joseph

Forum Jump:

Users browsing this thread: 1 Guest(s)