[PATCH] ARM: dts: stm32: add EXTI interrupt-parent to pinctrl node on stm32mp131

Fabien Dessenne fabien.dessenne at foss.st.com
Tue May 3 02:06:21 PDT 2022


Add interrupt-parent property in pinctrl node to use GPIO as IRQ.

Signed-off-by: Amelie Delaunay <amelie.delaunay at foss.st.com>
Signed-off-by: Fabien Dessenne <fabien.dessenne at foss.st.com>
---
 arch/arm/boot/dts/stm32mp131.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi
index 58647396704f..f9ebc47e6421 100644
--- a/arch/arm/boot/dts/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/stm32mp131.dtsi
@@ -259,6 +259,8 @@ pinctrl: pinctrl at 50002000 {
 			#size-cells = <1>;
 			compatible = "st,stm32mp135-pinctrl";
 			ranges = <0 0x50002000 0x8400>;
+			interrupt-parent = <&exti>;
+			st,syscfg = <&exti 0x60 0xff>;
 			pins-are-numbered;
 
 			gpioa: gpio at 50002000 {
-- 
2.25.1




More information about the linux-arm-kernel mailing list