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

index f7634c51efb26f3dee33dd49d29237499bcd6bb0..a5511b1f0ce306feea5d8657721b078161d01a36 100644 (file)
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                pinctrl-0 = <&pwm1_pins_a>;
                pinctrl-1 = <&pwm1_sleep_pins_a>;
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                pinctrl-0 = <&pwm3_pins_a>;
                pinctrl-1 = <&pwm3_sleep_pins_a>;
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                pinctrl-0 = <&pwm4_pins_a &pwm4_pins_b>;
                pinctrl-1 = <&pwm4_sleep_pins_a &pwm4_sleep_pins_b>;
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                pinctrl-0 = <&pwm5_pins_a>;
                pinctrl-1 = <&pwm5_sleep_pins_a>;
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        timer@5 {
                status = "okay";
        };
        /delete-property/dmas;
        /delete-property/dma-names;
        status = "disabled";
+       counter {
+               status = "okay";
+       };
        pwm {
                pinctrl-0 = <&pwm12_pins_a>;
                pinctrl-1 = <&pwm12_sleep_pins_a>;