ARM: dts: stm32: Add alternate pinmux for SPI2 pins
authorMarek Vasut <marex@denx.de>
Wed, 29 Apr 2020 16:37:40 +0000 (18:37 +0200)
committerAlexandre Torgue <alexandre.torgue@st.com>
Thu, 7 May 2020 12:48:06 +0000 (14:48 +0200)
Add another mux option for SPI2 pins, this is used on AV96 board.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi

index 2570253133fdb25b2853d1a9fa85235fbcee1a4b..deb4cf4e2ef0e49bf33b811a009c9717a113ca22 100644 (file)
                };
        };
 
+       spi2_pins_a: spi2-0 {
+               pins1 {
+                       pinmux = <STM32_PINMUX('B', 10, AF5)>, /* SPI1_SCK */
+                                <STM32_PINMUX('I', 3, AF5)>; /* SPI1_MOSI */
+                       bias-disable;
+                       drive-push-pull;
+                       slew-rate = <1>;
+               };
+
+               pins2 {
+                       pinmux = <STM32_PINMUX('I', 2, AF5)>; /* SPI1_MISO */
+                       bias-disable;
+               };
+       };
+
        usart2_pins_a: usart2-0 {
                pins1 {
                        pinmux = <STM32_PINMUX('F', 5, AF7)>, /* USART2_TX */