ARM: dts: stm32: Add alternate pinmux for SDMMC2 pins 4-7
authorMarek Vasut <marex@denx.de>
Tue, 31 Mar 2020 17:51:26 +0000 (19:51 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 1 Apr 2020 08:12:44 +0000 (10:12 +0200)
Add another mux option for SDMMC2 pins 4..7, this is used on AV96 board.

Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
arch/arm/dts/stm32mp157-pinctrl.dtsi

index 6842d4cdca9408a2e467f170df240fa103858939..964e4910ec3ba06034795c60a6374c9da5352c75 100644 (file)
                                };
                        };
 
+                       sdmmc2_d47_pins_b: sdmmc2-d47-1 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('A', 8, AF9)>, /* SDMMC2_D4 */
+                                                <STM32_PINMUX('A', 15, AF9)>, /* SDMMC2_D5 */
+                                                <STM32_PINMUX('C', 6, AF10)>, /* SDMMC2_D6 */
+                                                <STM32_PINMUX('C', 7, AF10)>; /* SDMMC2_D7 */
+                                       slew-rate = <1>;
+                                       drive-push-pull;
+                                       bias-pull-up;
+                               };
+                       };
+
+                       sdmmc2_d47_sleep_pins_b: sdmmc2-d47-sleep-1 {
+                               pins {
+                                       pinmux = <STM32_PINMUX('A', 8, ANALOG)>, /* SDMMC2_D4 */
+                                                <STM32_PINMUX('A', 15, ANALOG)>, /* SDMMC2_D5 */
+                                                <STM32_PINMUX('C', 6, ANALOG)>, /* SDMMC2_D6 */
+                                                <STM32_PINMUX('C', 7, ANALOG)>; /* SDMMC2_D7 */
+                               };
+                       };
+
                        spdifrx_pins_a: spdifrx-0 {
                                pins {
                                        pinmux = <STM32_PINMUX('G', 12, AF8)>; /* SPDIF_IN1 */