On 5/3/22 11:06, Fabien Dessenne wrote:
Add interrupt-parent property in pinctrl node to use GPIO as IRQ.
Signed-off-by: Amelie Delaunay <amelie.delaunay@xxxxxxxxxxx>
Signed-off-by: Fabien Dessenne <fabien.dessenne@xxxxxxxxxxx>
---
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@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@50002000 {
Applied on stm32-next.
Thanks.
Alex