-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
overlays: Add overlay for missing AUX interrupt controller support (#…
…2391) Upstream Linux today does not support the AUX interrupt controller yet. To make sure it can use our device tree, add an overlay that reverts it to something upstream understands again. See: raspberrypi/firmware#943 Signed-off-by: Alexander Graf <agraf@suse.de>
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
arch/arm/boot/dts/overlays/upstream-aux-interrupt-overlay.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Overlay for missing AUX interrupt controller | ||
// Instead we bind all AUX devices to the generic AUX interrupt line | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "brcm,bcm2708"; | ||
|
||
fragment@0 { | ||
target = <&uart1>; | ||
__overlay__ { | ||
interrupt-parent = <&intc>; | ||
interrupts = <0x1 0x1d>; | ||
}; | ||
}; | ||
|
||
fragment@1 { | ||
target = <&spi1>; | ||
__overlay__ { | ||
interrupt-parent = <&intc>; | ||
interrupts = <0x1 0x1d>; | ||
}; | ||
}; | ||
|
||
fragment@2 { | ||
target = <&spi2>; | ||
__overlay__ { | ||
interrupt-parent = <&intc>; | ||
interrupts = <0x1 0x1d>; | ||
}; | ||
}; | ||
}; | ||
|