Commit-ID: 3027f78bb7243bef28c103507fc857e1471d769d Gitweb: http://git.kernel.org/tip/3027f78bb7243bef28c103507fc857e1471d769d Author: Alexandre TORGUE <alexandre.tor...@st.com> AuthorDate: Tue, 20 Sep 2016 18:00:56 +0200 Committer: Thomas Gleixner <t...@linutronix.de> CommitDate: Wed, 21 Sep 2016 14:13:21 +0200
Documentation/dt-bindings: Document STM32 EXTI controller bindings Originally-from: Maxime Coquelin <mcoquelin.st...@gmail.com> Signed-off-by: Alexandre TORGUE <alexandre.tor...@st.com> Cc: Mark Rutland <mark.rutl...@arm.com> Cc: devicet...@vger.kernel.org Cc: Daniel Thompson <daniel.thomp...@linaro.org> Cc: Jason Cooper <ja...@lakedaemon.net> Cc: a...@arndb.de Cc: Marc Zyngier <marc.zyng...@arm.com> Cc: bruherr...@gmail.com Cc: Linus Walleij <linus.wall...@linaro.org> Cc: linux-g...@vger.kernel.org Cc: Rob Herring <robh...@kernel.org> Cc: lee.jo...@linaro.org Cc: linux-arm-ker...@lists.infradead.org Link: http://lkml.kernel.org/r/1474387259-18926-2-git-send-email-alexandre.tor...@st.com Signed-off-by: Thomas Gleixner <t...@linutronix.de> --- .../bindings/interrupt-controller/st,stm32-exti.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt b/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt new file mode 100644 index 0000000..6e7703d --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/st,stm32-exti.txt @@ -0,0 +1,20 @@ +STM32 External Interrupt Controller + +Required properties: + +- compatible: Should be "st,stm32-exti" +- reg: Specifies base physical address and size of the registers +- interrupt-controller: Indentifies the node as an interrupt controller +- #interrupt-cells: Specifies the number of cells to encode an interrupt + specifier, shall be 2 +- interrupts: interrupts references to primary interrupt controller + +Example: + +exti: interrupt-controller@40013c00 { + compatible = "st,stm32-exti"; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0x40013C00 0x400>; + interrupts = <1>, <2>, <3>, <6>, <7>, <8>, <9>, <10>, <23>, <40>, <41>, <42>, <62>, <76>; +};