]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: stm32: add iwdg1 node in stm32mp131.dtsi
authorGatien Chevallier <gatien.chevallier@foss.st.com>
Fri, 31 Oct 2025 10:00:40 +0000 (11:00 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 14 Nov 2025 08:39:50 +0000 (09:39 +0100)
Add the IWDG1 node in the stm32mp131.dtsi SoC device tree file. It can
be used by Linux as the Cortex-A7 watchdog when it's configured as
non-secure.

Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com>
Link: https://lore.kernel.org/r/20251031-iwdg1-v2-1-2dc6e0116725@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp131.dtsi

index fd730aa37c22e02ec2fd8171f569ab681f47d737..a18da1a04fe3537f4fdc2d76a9ec7e6bd9d2cd1b 100644 (file)
                                        reg = <1>;
                                };
                        };
+
+                       iwdg1: watchdog@5c003000 {
+                               compatible = "st,stm32mp1-iwdg";
+                               reg = <0x5c003000 0x400>;
+                               interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&rcc IWDG1>, <&scmi_clk CK_SCMI_LSI>;
+                               clock-names = "pclk", "lsi";
+                               access-controllers = <&etzpc 12>;
+                               status = "disabled";
+                       };
                };
 
                /*