Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
24 lines
797 B
Plaintext
24 lines
797 B
Plaintext
OpenRISC 1000 Programmable Interrupt Controller
|
|
|
|
Required properties:
|
|
|
|
- compatible : should be "opencores,or1k-pic-level" for variants with
|
|
level triggered interrupt lines, "opencores,or1k-pic-edge" for variants with
|
|
edge triggered interrupt lines or "opencores,or1200-pic" for machines
|
|
with the non-spec compliant or1200 type implementation.
|
|
|
|
"opencores,or1k-pic" is also provided as an alias to "opencores,or1200-pic",
|
|
but this is only for backwards compatibility.
|
|
|
|
- interrupt-controller : Identifies the node as an interrupt controller
|
|
- #interrupt-cells : Specifies the number of cells needed to encode an
|
|
interrupt source. The value shall be 1.
|
|
|
|
Example:
|
|
|
|
intc: interrupt-controller {
|
|
compatible = "opencores,or1k-pic-level";
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
};
|