Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: stm32: add low power timer on STM32F746

Add device tree node for the low power timer on the STM32F746.

Signed-off-by: Ben Wolsieffer <ben.wolsieffer@hefring.com>
Link: https://lore.kernel.org/r/20250404143514.860126-1-ben.wolsieffer@hefring.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Ben Wolsieffer and committed by
Alexandre Torgue
1d0fec6f 9358c00c

+34
+34
arch/arm/boot/dts/st/stm32f746.dtsi
··· 43 43 #include "../armv7-m.dtsi" 44 44 #include <dt-bindings/clock/stm32fx-clock.h> 45 45 #include <dt-bindings/mfd/stm32f7-rcc.h> 46 + #include <dt-bindings/interrupt-controller/irq.h> 46 47 47 48 / { 48 49 #address-cells = <1>; ··· 242 241 pwm { 243 242 compatible = "st,stm32-pwm"; 244 243 #pwm-cells = <3>; 244 + status = "disabled"; 245 + }; 246 + }; 247 + 248 + lptimer1: timer@40002400 { 249 + #address-cells = <1>; 250 + #size-cells = <0>; 251 + compatible = "st,stm32-lptimer"; 252 + reg = <0x40002400 0x400>; 253 + interrupts-extended = <&exti 23 IRQ_TYPE_EDGE_RISING>; 254 + clocks = <&rcc 1 CLK_LPTIMER>; 255 + clock-names = "mux"; 256 + status = "disabled"; 257 + 258 + pwm { 259 + compatible = "st,stm32-pwm-lp"; 260 + #pwm-cells = <3>; 261 + status = "disabled"; 262 + }; 263 + 264 + trigger@0 { 265 + compatible = "st,stm32-lptimer-trigger"; 266 + reg = <0>; 267 + status = "disabled"; 268 + }; 269 + 270 + counter { 271 + compatible = "st,stm32-lptimer-counter"; 272 + status = "disabled"; 273 + }; 274 + 275 + timer { 276 + compatible = "st,stm32-lptimer-timer"; 245 277 status = "disabled"; 246 278 }; 247 279 };