]> www.infradead.org Git - users/willy/xarray.git/commitdiff
ARM: dts: stm32: add counter subnodes on stm32mp135f-dk
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Mon, 16 Dec 2024 15:39:06 +0000 (16:39 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 20 Dec 2024 07:20:25 +0000 (08:20 +0100)
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>
arch/arm/boot/dts/st/stm32mp135f-dk.dts

index 3a276589fef793ed4ee27f74f1d5a63168fa5110..19a32f7d4d7da9325a2bc9e88d50a4ea9c2571e7 100644 (file)
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                /* PWM output on pin 7 of the expansion connector (CN8.7) using TIM3_CH4 func */
                pinctrl-0 = <&pwm3_pins_a>;
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                /* PWM output on pin 31 of the expansion connector (CN8.31) using TIM4_CH2 func */
                pinctrl-0 = <&pwm4_pins_a>;
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                /* PWM output on pin 32 of the expansion connector (CN8.32) using TIM8_CH3 func */
                pinctrl-0 = <&pwm8_pins_a>;
 
 &timers14 {
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                /* PWM output on pin 33 of the expansion connector (CN8.33) using TIM14_CH1 func */
                pinctrl-0 = <&pwm14_pins_a>;