dts: stm32f4: Add wkup-pin node

For the F4 MCU family, a new DT node is defined to specify the pins
capable of waking the chip.

Signed-off-by: Tomáš Juřena <jurenatomas@gmail.com>
This commit is contained in:
Tomáš Juřena 2025-04-01 22:24:09 +02:00 committed by Benjamin Cabé
commit 6127264fe7

View file

@ -18,6 +18,7 @@
#include <zephyr/dt-bindings/adc/stm32f4_adc.h>
#include <zephyr/dt-bindings/reset/stm32f2_4_7_reset.h>
#include <zephyr/dt-bindings/sensor/qdec_stm32.h>
#include <zephyr/dt-bindings/power/stm32_pwr.h>
#include <freq.h>
/ {
@ -586,6 +587,22 @@
};
};
pwr: power@40007000 {
compatible = "st,stm32-pwr";
reg = <0x40007000 0x400>; /* PWR register bank */
status = "disabled";
wkup-pins-nb = <1>;
#address-cells = <1>;
#size-cells = <0>;
wkup-pin@1 {
reg = <0x1>;
wkup-gpios = <&gpioa 0 STM32_PWR_WKUP_PIN_NOT_MUXED>;
};
};
die_temp: dietemp {
compatible = "st,stm32-temp-cal";
ts-cal1-addr = <0x1FFF7A2C>;