]> git.baikalelectronics.ru Git - uboot.git/commitdiff
ARM: dts: stm32: Add alternate pinmux for SPI2 pins
authorMarek Vasut <marex@denx.de>
Mon, 13 Jun 2022 09:55:20 +0000 (11:55 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 17 Jun 2022 07:31:19 +0000 (09:31 +0200)
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>
arch/arm/dts/stm32mp15-pinctrl.dtsi

index e0965c5936e3a2cb96cbfd72c0c972253591876c..b92a149a186275d7e093108572c0db22a13d57ae 100644 (file)
                };
        };
 
+       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 */