aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKumar Gala <kumar.gala@linaro.org>2017-04-03 13:58:42 -0400
committerRob Herring <robh@kernel.org>2017-04-10 11:04:42 -0400
commitddc17771e215b2a8701f8c0f28bbe706f9a69733 (patch)
treea4be53de6f67f3cc244c219d2437f0599d7f4f87
parent8654cb8d0371de3f119c657531abf2ee4423cb44 (diff)
dt-bindings: arm,nvic: Binding for ARM NVIC interrupt controller on Cortex-M
Signed-off-by: Kumar Gala <kumar.gala@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/interrupt-controller/arm,nvic.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/arm,nvic.txt b/Documentation/devicetree/bindings/interrupt-controller/arm,nvic.txt
new file mode 100644
index 000000000000..386ab37a383f
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/arm,nvic.txt
@@ -0,0 +1,36 @@
1* ARM Nested Vector Interrupt Controller (NVIC)
2
3The NVIC provides an interrupt controller that is tightly coupled to
4Cortex-M based processor cores. The NVIC implemented on different SoCs
5vary in the number of interrupts and priority bits per interrupt.
6
7Main node required properties:
8
9- compatible : should be one of:
10 "arm,v6m-nvic"
11 "arm,v7m-nvic"
12 "arm,v8m-nvic"
13- interrupt-controller : Identifies the node as an interrupt controller
14- #interrupt-cells : Specifies the number of cells needed to encode an
15 interrupt source. The type shall be a <u32> and the value shall be 2.
16
17 The 1st cell contains the interrupt number for the interrupt type.
18
19 The 2nd cell is the priority of the interrupt.
20
21- reg : Specifies base physical address(s) and size of the NVIC registers.
22 This is at a fixed address (0xe000e100) and size (0xc00).
23
24- arm,num-irq-priority-bits: The number of priority bits implemented by the
25 given SoC
26
27Example:
28
29 intc: interrupt-controller@e000e100 {
30 compatible = "arm,v7m-nvic";
31 #interrupt-cells = <2>;
32 #address-cells = <1>;
33 interrupt-controller;
34 reg = <0xe000e100 0xc00>;
35 arm,num-irq-priority-bits = <4>;
36 };