Commit 01c5c8c7 authored by Ludovic Barre's avatar Ludovic Barre Committed by Alexandre Torgue

ARM: dts: stm32: add support of exti on stm32h743 pinctrl

This patch adds support of external interrupt (exti) on
all gpio ports of stm32h743.
Signed-off-by: default avatarLudovic Barre <ludovic.barre@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent 8e0a29d8
...@@ -49,6 +49,8 @@ pin-controller { ...@@ -49,6 +49,8 @@ pin-controller {
#size-cells = <1>; #size-cells = <1>;
compatible = "st,stm32h743-pinctrl"; compatible = "st,stm32h743-pinctrl";
ranges = <0 0x58020000 0x3000>; ranges = <0 0x58020000 0x3000>;
interrupt-parent = <&exti>;
st,syscfg = <&syscfg 0x8>;
pins-are-numbered; pins-are-numbered;
gpioa: gpio@58020000 { gpioa: gpio@58020000 {
...@@ -57,6 +59,8 @@ gpioa: gpio@58020000 { ...@@ -57,6 +59,8 @@ gpioa: gpio@58020000 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
clocks = <&rcc GPIOA_CK>; clocks = <&rcc GPIOA_CK>;
st,bank-name = "GPIOA"; st,bank-name = "GPIOA";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpiob: gpio@58020400 { gpiob: gpio@58020400 {
...@@ -65,6 +69,8 @@ gpiob: gpio@58020400 { ...@@ -65,6 +69,8 @@ gpiob: gpio@58020400 {
reg = <0x400 0x400>; reg = <0x400 0x400>;
clocks = <&rcc GPIOB_CK>; clocks = <&rcc GPIOB_CK>;
st,bank-name = "GPIOB"; st,bank-name = "GPIOB";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpioc: gpio@58020800 { gpioc: gpio@58020800 {
...@@ -73,6 +79,8 @@ gpioc: gpio@58020800 { ...@@ -73,6 +79,8 @@ gpioc: gpio@58020800 {
reg = <0x800 0x400>; reg = <0x800 0x400>;
clocks = <&rcc GPIOC_CK>; clocks = <&rcc GPIOC_CK>;
st,bank-name = "GPIOC"; st,bank-name = "GPIOC";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpiod: gpio@58020c00 { gpiod: gpio@58020c00 {
...@@ -81,6 +89,8 @@ gpiod: gpio@58020c00 { ...@@ -81,6 +89,8 @@ gpiod: gpio@58020c00 {
reg = <0xc00 0x400>; reg = <0xc00 0x400>;
clocks = <&rcc GPIOD_CK>; clocks = <&rcc GPIOD_CK>;
st,bank-name = "GPIOD"; st,bank-name = "GPIOD";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpioe: gpio@58021000 { gpioe: gpio@58021000 {
...@@ -89,6 +99,8 @@ gpioe: gpio@58021000 { ...@@ -89,6 +99,8 @@ gpioe: gpio@58021000 {
reg = <0x1000 0x400>; reg = <0x1000 0x400>;
clocks = <&rcc GPIOE_CK>; clocks = <&rcc GPIOE_CK>;
st,bank-name = "GPIOE"; st,bank-name = "GPIOE";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpiof: gpio@58021400 { gpiof: gpio@58021400 {
...@@ -97,6 +109,8 @@ gpiof: gpio@58021400 { ...@@ -97,6 +109,8 @@ gpiof: gpio@58021400 {
reg = <0x1400 0x400>; reg = <0x1400 0x400>;
clocks = <&rcc GPIOF_CK>; clocks = <&rcc GPIOF_CK>;
st,bank-name = "GPIOF"; st,bank-name = "GPIOF";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpiog: gpio@58021800 { gpiog: gpio@58021800 {
...@@ -105,6 +119,8 @@ gpiog: gpio@58021800 { ...@@ -105,6 +119,8 @@ gpiog: gpio@58021800 {
reg = <0x1800 0x400>; reg = <0x1800 0x400>;
clocks = <&rcc GPIOG_CK>; clocks = <&rcc GPIOG_CK>;
st,bank-name = "GPIOG"; st,bank-name = "GPIOG";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpioh: gpio@58021c00 { gpioh: gpio@58021c00 {
...@@ -113,6 +129,8 @@ gpioh: gpio@58021c00 { ...@@ -113,6 +129,8 @@ gpioh: gpio@58021c00 {
reg = <0x1c00 0x400>; reg = <0x1c00 0x400>;
clocks = <&rcc GPIOH_CK>; clocks = <&rcc GPIOH_CK>;
st,bank-name = "GPIOH"; st,bank-name = "GPIOH";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpioi: gpio@58022000 { gpioi: gpio@58022000 {
...@@ -121,6 +139,8 @@ gpioi: gpio@58022000 { ...@@ -121,6 +139,8 @@ gpioi: gpio@58022000 {
reg = <0x2000 0x400>; reg = <0x2000 0x400>;
clocks = <&rcc GPIOI_CK>; clocks = <&rcc GPIOI_CK>;
st,bank-name = "GPIOI"; st,bank-name = "GPIOI";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpioj: gpio@58022400 { gpioj: gpio@58022400 {
...@@ -129,6 +149,8 @@ gpioj: gpio@58022400 { ...@@ -129,6 +149,8 @@ gpioj: gpio@58022400 {
reg = <0x2400 0x400>; reg = <0x2400 0x400>;
clocks = <&rcc GPIOJ_CK>; clocks = <&rcc GPIOJ_CK>;
st,bank-name = "GPIOJ"; st,bank-name = "GPIOJ";
interrupt-controller;
#interrupt-cells = <2>;
}; };
gpiok: gpio@58022800 { gpiok: gpio@58022800 {
...@@ -137,6 +159,8 @@ gpiok: gpio@58022800 { ...@@ -137,6 +159,8 @@ gpiok: gpio@58022800 {
reg = <0x2800 0x400>; reg = <0x2800 0x400>;
clocks = <&rcc GPIOK_CK>; clocks = <&rcc GPIOK_CK>;
st,bank-name = "GPIOK"; st,bank-name = "GPIOK";
interrupt-controller;
#interrupt-cells = <2>;
}; };
usart1_pins: usart1@0 { usart1_pins: usart1@0 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment