]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: stm32: Add pinmux for CM4 leds pins
authorAntonio Borneo <antonio.borneo@foss.st.com>
Tue, 10 Jun 2025 15:23:07 +0000 (17:23 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Wed, 3 Sep 2025 16:37:03 +0000 (18:37 +0200)
The GPIO H7 on boards stm32mp15xx-dkx and the GPIO D8 on boards
stm32mp15xx-ed1 are used by the coprocessor Cortex-M4.
Linux running on Cortex-A should not use the GPIO and should left
it available for the coprocessor.

Add two pinmux groups, one for each families of boards, setting
the GPIO function as Reserved (RSVD).

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Link: https://lore.kernel.org/r/20250610152309.299438-4-antonio.borneo@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp15-pinctrl.dtsi

index 40605ea85ee1dd4cbf8489b8d446427c933ed598..835b034d0aa7eb6375cc35f775492b94ab26d5fe 100644 (file)
                };
        };
 
+       /omit-if-no-ref/
+       m4_leds_orange_pins_a: m4-leds-orange-0 {
+               pins {
+                       pinmux = <STM32_PINMUX('H', 7, RSVD)>;
+               };
+       };
+
+       /omit-if-no-ref/
+       m4_leds_orange_pins_b: m4-leds-orange-1 {
+               pins {
+                       pinmux = <STM32_PINMUX('D', 8, RSVD)>;
+               };
+       };
+
        /omit-if-no-ref/
        mco1_pins_a: mco1-0 {
                pins {