ARM: dts: stm32: Add alternate pinmux for SPI2 pins
authorMarek Vasut <marex@denx.de>
Sun, 26 Jun 2022 00:21:01 +0000 (02:21 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 5 Jul 2022 09:42:11 +0000 (11:42 +0200)
Add another mux option for SPI2 pins, this is used on DRC Compact board.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi

index 667d8b74a8a4066234f6bda4257e3106f2226148..01242cb005b60dd5b5c7de96379dc277dab47259 100644 (file)
                };
        };
 
+       spi2_pins_b: spi2-1 {
+               pins1 {
+                       pinmux = <STM32_PINMUX('I', 1, AF5)>, /* SPI2_SCK */
+                                <STM32_PINMUX('I', 3, AF5)>; /* SPI2_MOSI */
+                       bias-disable;
+                       drive-push-pull;
+                       slew-rate = <1>;
+               };
+
+               pins2 {
+                       pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI2_MISO */
+                       bias-disable;
+               };
+       };
+
        spi4_pins_a: spi4-0 {
                pins {
                        pinmux = <STM32_PINMUX('E', 12, AF5)>, /* SPI4_SCK */