]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: stm32: add counter subnodes on stm32mp157c-ev1
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Mon, 16 Dec 2024 15:39:07 +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/stm32mp157c-ev1.dts

index 9eb9a1bf4f2c14eedc982034c7cfab35ba257419..8f99c30f1af1e35cb91400483d52d90ad9eb7b4a 100644 (file)
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                pinctrl-0 = <&pwm2_pins_a>;
                pinctrl-1 = <&pwm2_sleep_pins_a>;
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                pinctrl-0 = <&pwm8_pins_a>;
                pinctrl-1 = <&pwm8_sleep_pins_a>;
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                pinctrl-0 = <&pwm12_pins_a>;
                pinctrl-1 = <&pwm12_sleep_pins_a>;