Commit 1657ca6e authored by Erwan Le Ray's avatar Erwan Le Ray Committed by Greg Kroah-Hartman

ARM: dts: stm32: Add wakeup management on stm32mp15x UART nodes

Add EXTI lines to the following UART nodes which are used for
wakeup from CStop.
- EXTI line 26 to USART1
- EXTI line 27 to USART2
- EXTI line 28 to USART3
- EXTI line 29 to USART6
- EXTI line 30 to UART4
- EXTI line 31 to UART5
- EXTI line 32 to UART7
- EXTI line 33 to UART8
Signed-off-by: default avatarErwan Le Ray <erwan.leray@foss.st.com>
Link: https://lore.kernel.org/r/20210319184253.5841-6-erwan.leray@foss.st.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3d530017
...@@ -452,32 +452,36 @@ spdifrx: audio-controller@4000d000 { ...@@ -452,32 +452,36 @@ spdifrx: audio-controller@4000d000 {
usart2: serial@4000e000 { usart2: serial@4000e000 {
compatible = "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x4000e000 0x400>; reg = <0x4000e000 0x400>;
interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&exti 27 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc USART2_K>; clocks = <&rcc USART2_K>;
wakeup-source;
status = "disabled"; status = "disabled";
}; };
usart3: serial@4000f000 { usart3: serial@4000f000 {
compatible = "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x4000f000 0x400>; reg = <0x4000f000 0x400>;
interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&exti 28 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc USART3_K>; clocks = <&rcc USART3_K>;
wakeup-source;
status = "disabled"; status = "disabled";
}; };
uart4: serial@40010000 { uart4: serial@40010000 {
compatible = "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x40010000 0x400>; reg = <0x40010000 0x400>;
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&exti 30 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc UART4_K>; clocks = <&rcc UART4_K>;
wakeup-source;
status = "disabled"; status = "disabled";
}; };
uart5: serial@40011000 { uart5: serial@40011000 {
compatible = "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x40011000 0x400>; reg = <0x40011000 0x400>;
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&exti 31 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc UART5_K>; clocks = <&rcc UART5_K>;
wakeup-source;
status = "disabled"; status = "disabled";
}; };
...@@ -577,16 +581,18 @@ dac2: dac@2 { ...@@ -577,16 +581,18 @@ dac2: dac@2 {
uart7: serial@40018000 { uart7: serial@40018000 {
compatible = "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x40018000 0x400>; reg = <0x40018000 0x400>;
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&exti 32 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc UART7_K>; clocks = <&rcc UART7_K>;
wakeup-source;
status = "disabled"; status = "disabled";
}; };
uart8: serial@40019000 { uart8: serial@40019000 {
compatible = "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x40019000 0x400>; reg = <0x40019000 0x400>;
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&exti 33 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc UART8_K>; clocks = <&rcc UART8_K>;
wakeup-source;
status = "disabled"; status = "disabled";
}; };
...@@ -665,8 +671,9 @@ counter { ...@@ -665,8 +671,9 @@ counter {
usart6: serial@44003000 { usart6: serial@44003000 {
compatible = "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x44003000 0x400>; reg = <0x44003000 0x400>;
interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&exti 29 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc USART6_K>; clocks = <&rcc USART6_K>;
wakeup-source;
status = "disabled"; status = "disabled";
}; };
...@@ -1505,8 +1512,9 @@ usbphyc_port1: usb-phy@1 { ...@@ -1505,8 +1512,9 @@ usbphyc_port1: usb-phy@1 {
usart1: serial@5c000000 { usart1: serial@5c000000 {
compatible = "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x5c000000 0x400>; reg = <0x5c000000 0x400>;
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; interrupts-extended = <&exti 26 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rcc USART1_K>; clocks = <&rcc USART1_K>;
wakeup-source;
status = "disabled"; status = "disabled";
}; };
......
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