ARM: dts: stm32: add counter subnodes on stm32mp157c-ev1

Enable the counter nodes without dedicated pins. With such configuration,
the counter interface can be used on internal clock to generate events.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
This commit is contained in:
Fabrice Gasnier 2024-12-16 16:39:07 +01:00 committed by Alexandre Torgue
parent 2879145733
commit 00de202284

View File

@ -306,6 +306,9 @@ &timers2 {
/delete-property/dmas;
/delete-property/dma-names;
status = "disabled";
counter {
status = "okay";
};
pwm {
pinctrl-0 = <&pwm2_pins_a>;
pinctrl-1 = <&pwm2_sleep_pins_a>;
@ -321,6 +324,9 @@ &timers8 {
/delete-property/dmas;
/delete-property/dma-names;
status = "disabled";
counter {
status = "okay";
};
pwm {
pinctrl-0 = <&pwm8_pins_a>;
pinctrl-1 = <&pwm8_sleep_pins_a>;
@ -336,6 +342,9 @@ &timers12 {
/delete-property/dmas;
/delete-property/dma-names;
status = "disabled";
counter {
status = "okay";
};
pwm {
pinctrl-0 = <&pwm12_pins_a>;
pinctrl-1 = <&pwm12_sleep_pins_a>;