]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: stm32: Document output pins for PWMs on stm32mp135f-dk
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Thu, 13 Jun 2024 08:02:28 +0000 (10:02 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 5 Jul 2024 12:45:24 +0000 (14:45 +0200)
To simplify identifying the pins where the PWM output is routed to,
add a comment to each PWM device about the respective pin on the
expansion connector.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp135f-dk.dts

index 970de441fbaadfb062d07a24eed58f0c903f7f8d..faccdda588e5b629b5320ad095cfcbd9d1c87cb4 100644 (file)
        /delete-property/dma-names;
        status = "disabled";
        pwm {
+               /* PWM output on pin 7 of the expansion connector (CN8.7) using TIM3_CH4 func */
                pinctrl-0 = <&pwm3_pins_a>;
                pinctrl-1 = <&pwm3_sleep_pins_a>;
                pinctrl-names = "default", "sleep";
        /delete-property/dma-names;
        status = "disabled";
        pwm {
+               /* PWM output on pin 31 of the expansion connector (CN8.31) using TIM4_CH2 func */
                pinctrl-0 = <&pwm4_pins_a>;
                pinctrl-1 = <&pwm4_sleep_pins_a>;
                pinctrl-names = "default", "sleep";
        /delete-property/dma-names;
        status = "disabled";
        pwm {
+               /* PWM output on pin 32 of the expansion connector (CN8.32) using TIM8_CH3 func */
                pinctrl-0 = <&pwm8_pins_a>;
                pinctrl-1 = <&pwm8_sleep_pins_a>;
                pinctrl-names = "default", "sleep";
 &timers14 {
        status = "disabled";
        pwm {
+               /* PWM output on pin 33 of the expansion connector (CN8.33) using TIM14_CH1 func */
                pinctrl-0 = <&pwm14_pins_a>;
                pinctrl-1 = <&pwm14_sleep_pins_a>;
                pinctrl-names = "default", "sleep";