summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2014-12-25 17:28:26 +0000
committerloos <loos@FreeBSD.org>2014-12-25 17:28:26 +0000
commit33bb6f5b7f954f2313634aa5df1785304b0720f2 (patch)
tree7efc209820f180b5b98b582612355489efbcd4b3 /sys/boot
parentcb33ab8e9b391aeb8fd22e852843269ccdf84a91 (diff)
downloadFreeBSD-src-33bb6f5b7f954f2313634aa5df1785304b0720f2.zip
FreeBSD-src-33bb6f5b7f954f2313634aa5df1785304b0720f2.tar.gz
Add interrupt support for GPIO pins on OMAP4 and AM335x.
This enables the use of GPIO pins as interrupt sources for kernel devices directly attached to gpiobus (userland notification will be added soon). The use of gpio interrupts for other kernel devices will be possible when intrng is complete. All GPIO pins can be set to trigger on: - active-low; - active-high; - rising edge; - falling edge. Tested on: Beaglebone-black
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/fdt/dts/arm/am335x.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/arm/am335x.dtsi b/sys/boot/fdt/dts/arm/am335x.dtsi
index 9378f34..feb32f2 100644
--- a/sys/boot/fdt/dts/arm/am335x.dtsi
+++ b/sys/boot/fdt/dts/arm/am335x.dtsi
@@ -99,6 +99,8 @@
0x481AE000 0x1000 >;
interrupts = < 96 97 98 99 32 33 62 63 >;
interrupt-parent = <&AINTC>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
};
uart0: serial@44E09000 {
OpenPOWER on IntegriCloud