dts: arm: st: f7: add st,stm32-qdec child nodes (disabled)
Add st,stm32-qdec child nodes (disabled) under TIM nodes in STM32F7
DTSI files. Nodes are disabled by default; boards may enable them via
overlays. No functional change.
Signed-off-by: Ritesh Kudkelwar <ritesh.kumar0793@gmail.com>
diff --git a/dts/arm/st/f7/stm32f7.dtsi b/dts/arm/st/f7/stm32f7.dtsi
index eebadda..4118234 100644
--- a/dts/arm/st/f7/stm32f7.dtsi
+++ b/dts/arm/st/f7/stm32f7.dtsi
@@ -17,6 +17,7 @@
#include <zephyr/dt-bindings/reset/stm32f2_4_7_reset.h>
#include <zephyr/dt-bindings/adc/adc.h>
#include <zephyr/dt-bindings/memory-controller/stm32-fmc-sdram.h>
+#include <zephyr/dt-bindings/sensor/qdec_stm32.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr.h>
#include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
#include <freq.h>
@@ -441,6 +442,12 @@
status = "disabled";
#pwm-cells = <3>;
};
+
+ qdec {
+ compatible = "st,stm32-qdec";
+ st,input-filter-level = <NO_FILTER>;
+ status = "disabled";
+ };
};
timers2: timers@40000000 {
@@ -464,6 +471,12 @@
compatible = "st,stm32-counter";
status = "disabled";
};
+
+ qdec {
+ compatible = "st,stm32-qdec";
+ st,input-filter-level = <NO_FILTER>;
+ status = "disabled";
+ };
};
timers3: timers@40000400 {
@@ -487,6 +500,12 @@
compatible = "st,stm32-counter";
status = "disabled";
};
+
+ qdec {
+ compatible = "st,stm32-qdec";
+ st,input-filter-level = <NO_FILTER>;
+ status = "disabled";
+ };
};
timers4: timers@40000800 {
@@ -510,6 +529,12 @@
compatible = "st,stm32-counter";
status = "disabled";
};
+
+ qdec {
+ compatible = "st,stm32-qdec";
+ st,input-filter-level = <NO_FILTER>;
+ status = "disabled";
+ };
};
timers5: timers@40000c00 {
@@ -533,6 +558,12 @@
compatible = "st,stm32-counter";
status = "disabled";
};
+
+ qdec {
+ compatible = "st,stm32-qdec";
+ st,input-filter-level = <NO_FILTER>;
+ status = "disabled";
+ };
};
timers6: timers@40001000 {
@@ -585,6 +616,12 @@
status = "disabled";
#pwm-cells = <3>;
};
+
+ qdec {
+ compatible = "st,stm32-qdec";
+ st,input-filter-level = <NO_FILTER>;
+ status = "disabled";
+ };
};
timers9: timers@40014000 {