File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
arch/arm/boot/dts/overlays Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
39
39
gpio-ir.dtbo \
40
40
gpio-ir-tx.dtbo \
41
41
gpio-key.dtbo \
42
+ gpio-no-bank0-irq.dtbo \
42
43
gpio-no-irq.dtbo \
43
44
gpio-poweroff.dtbo \
44
45
gpio-shutdown.dtbo \
Original file line number Diff line number Diff line change @@ -619,6 +619,15 @@ Params: gpio GPIO pin to trigger on (default 3)
619
619
keycode Set the key code for the button
620
620
621
621
622
+ Name: gpio-no-bank0-irq
623
+ Info: Use this overlay to disable GPIO interrupts for GPIOs in bank 0 (0-27),
624
+ which can be useful for UIO drivers.
625
+ N.B. Using this overlay will trigger a kernel WARN during booting, but
626
+ this can safely be ignored - the system should work as expected.
627
+ Load: dtoverlay=gpio-no-bank0-irq
628
+ Params: <None>
629
+
630
+
622
631
Name: gpio-no-irq
623
632
Info: Use this overlay to disable all GPIO interrupts, which can be useful
624
633
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