File tree 3 files changed +24
-0
lines changed
arch/arm/boot/dts/overlays
3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
37
37
gpio-ir.dtbo \
38
38
gpio-ir-tx.dtbo \
39
39
gpio-key.dtbo \
40
+ gpio-no-bank0-irq.dtbo \
40
41
gpio-no-irq.dtbo \
41
42
gpio-poweroff.dtbo \
42
43
gpio-shutdown.dtbo \
Original file line number Diff line number Diff line change @@ -597,6 +597,15 @@ Params: gpio GPIO pin to trigger on (default 3)
597
597
keycode Set the key code for the button
598
598
599
599
600
+ Name: gpio-no-bank0-irq
601
+ Info: Use this overlay to disable GPIO interrupts for GPIOs in bank 0 (0-27),
602
+ which can be useful for UIO drivers.
603
+ N.B. Using this overlay will trigger a kernel WARN during booting, but
604
+ this can safely be ignored - the system should work as expected.
605
+ Load: dtoverlay=gpio-no-bank0-irq
606
+ Params: <None>
607
+
608
+
600
609
Name: gpio-no-irq
601
610
Info: Use this overlay to disable all GPIO interrupts, which can be useful
602
611
for user-space GPIO edge detection systems.
Original file line number Diff line number Diff line change
1
+ /dts-v1/;
2
+ /plugin/;
3
+
4
+ / {
5
+ compatible = "brcm,bcm2835";
6
+
7
+ fragment@0 {
8
+ // Configure the gpio pin controller
9
+ target = <&gpio>;
10
+ __overlay__ {
11
+ interrupts = <255 255>, <2 18>;
12
+ };
13
+ };
14
+ };
You can’t perform that action at this time.
0 commit comments