mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Add devicetree bindings snapshot to the devicetree project.
This snapshot is taken as of the
'commit 5fba1b18cfc72e264e5f3ce49020ed322aa6ac9f ("Merge 5.6-rc3
into android-mainline")' of the kernel project.
Change-Id: Ia087ab2b7d4a2616ea446a69683a8b5b821d0448
26 lines
969 B
Plaintext
26 lines
969 B
Plaintext
* Xtensa built-in Programmable Interrupt Controller (PIC)
|
|
|
|
Required properties:
|
|
- compatible: Should be "cdns,xtensa-pic".
|
|
- interrupt-controller: Identifies the node as an interrupt controller.
|
|
- #interrupt-cells: The number of cells to define the interrupts.
|
|
It may be either 1 or 2.
|
|
When it's 1, the first cell is the internal IRQ number.
|
|
When it's 2, the first cell is the IRQ number, and the second cell
|
|
specifies whether it's internal (0) or external (1).
|
|
Periferals are usually connected to a fixed external IRQ, but for different
|
|
core variants it may be mapped to different internal IRQ.
|
|
IRQ sensitivity and priority are fixed for each core variant and may not be
|
|
changed at runtime.
|
|
|
|
Examples:
|
|
pic: pic {
|
|
compatible = "cdns,xtensa-pic";
|
|
/* one cell: internal irq number,
|
|
* two cells: second cell == 0: internal irq number
|
|
* second cell == 1: external irq number
|
|
*/
|
|
#interrupt-cells = <2>;
|
|
interrupt-controller;
|
|
};
|