aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2022-06-13 11:55:20 +0200
committerPatrick Delaunay <patrick.delaunay@foss.st.com>2022-06-17 09:31:19 +0200
commitcb6d857db2667dbd44fc9b2786c69f7cf07109b6 (patch)
treefe79e661998c85a7ef7d878def3698e8c69b326e
parent3577cc0632e1124e7c3cd549e0a612312626d510 (diff)
downloadu-boot-cb6d857db2667dbd44fc9b2786c69f7cf07109b6.zip
u-boot-cb6d857db2667dbd44fc9b2786c69f7cf07109b6.tar.gz
u-boot-cb6d857db2667dbd44fc9b2786c69f7cf07109b6.tar.bz2
ARM: dts: stm32: Add alternate pinmux for SPI2 pins
Add another mux option for SPI2 pins, this is used on DRC Compact board. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
-rw-r--r--arch/arm/dts/stm32mp15-pinctrl.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp15-pinctrl.dtsi b/arch/arm/dts/stm32mp15-pinctrl.dtsi
index e0965c5..b92a149 100644
--- a/arch/arm/dts/stm32mp15-pinctrl.dtsi
+++ b/arch/arm/dts/stm32mp15-pinctrl.dtsi
@@ -1778,6 +1778,21 @@
};
};
+ spi2_pins_b: spi2-1 {
+ pins1 {
+ pinmux = <STM32_PINMUX('I', 1, 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;
+ };
+ };
+
spi4_pins_a: spi4-0 {
pins {
pinmux = <STM32_PINMUX('E', 12, AF5)>, /* SPI4_SCK */