ARM: dts: stm32: Add exti support to stm32mp157 pinctrl
authorLudovic Barre <ludovic.barre@st.com>
Thu, 26 Apr 2018 16:18:34 +0000 (18:18 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 24 May 2018 11:38:23 +0000 (12:38 +0100)
This patch adds support of external interrupt for
gpio[a..k], gpioz

Signed-off-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/boot/dts/stm32mp157-pinctrl.dtsi

index c074330..eb96ac3 100644 (file)
@@ -12,6 +12,8 @@
                        #size-cells = <1>;
                        compatible = "st,stm32mp157-pinctrl";
                        ranges = <0 0x50002000 0xa400>;
+                       interrupt-parent = <&exti>;
+                       st,syscfg = <&exti 0x60 0xff>;
                        pins-are-numbered;
 
                        gpioa: gpio@50002000 {
                        compatible = "st,stm32mp157-z-pinctrl";
                        ranges = <0 0x54004000 0x400>;
                        pins-are-numbered;
+                       interrupt-parent = <&exti>;
+                       st,syscfg = <&exti 0x60 0xff>;
                        status = "disabled";
 
                        gpioz: gpio@54004000 {