diff mbox series

[V2,04/14] ARM: dts: stm32: Add alternate pinmux for SDMMC2 pins 4-7

Message ID 20200331004851.282583-5-marex@denx.de
State Superseded
Headers show
Series ARM: stm32: Fix Avenger96 | expand

Commit Message

Marek Vasut March 31, 2020, 12:48 a.m. UTC
Add another mux option for SDMMC2 pins 4..7, this is used on AV96 board.

Signed-off-by: Marek Vasut <marex at denx.de>
Cc: Patrick Delaunay <patrick.delaunay at st.com>
Cc: Patrice Chotard <patrice.chotard at st.com>
---
V2: Use correct pin AFs
---
 arch/arm/dts/stm32mp157-pinctrl.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Comments

Patrice CHOTARD March 31, 2020, 8:27 a.m. UTC | #1
Hi Marek

On 3/31/20 2:48 AM, Marek Vasut wrote:
> Add another mux option for SDMMC2 pins 4..7, this is used on AV96 board.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Patrick Delaunay <patrick.delaunay at st.com>
> Cc: Patrice Chotard <patrice.chotard at st.com>
> ---
> V2: Use correct pin AFs
> ---

Reviewed-by: Patrice Chotard <patrice.chotard at st.com>

Thanks


>  arch/arm/dts/stm32mp157-pinctrl.dtsi | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp157-pinctrl.dtsi b/arch/arm/dts/stm32mp157-pinctrl.dtsi
> index 6842d4cdca..964e4910ec 100644
> --- a/arch/arm/dts/stm32mp157-pinctrl.dtsi
> +++ b/arch/arm/dts/stm32mp157-pinctrl.dtsi
> @@ -931,6 +931,27 @@
>  				};
>  			};
>  
> +			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 */
Patrick Delaunay March 31, 2020, 12:42 p.m. UTC | #2
Hi Marek

> -----Original Message-----
> From: Marek Vasut <marex at denx.de>
> Sent: mardi 31 mars 2020 02:49
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marex at denx.de>; Patrick DELAUNAY
> <patrick.delaunay at st.com>; Patrice CHOTARD <patrice.chotard at st.com>
> Subject: [PATCH V2 04/14] ARM: dts: stm32: Add alternate pinmux for SDMMC2
> pins 4-7
> Importance: High
> 
> Add another mux option for SDMMC2 pins 4..7, this is used on AV96 board.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Patrick Delaunay <patrick.delaunay at st.com>
> Cc: Patrice Chotard <patrice.chotard at st.com>
> ---
> V2: Use correct pin AFs
> ---

Reviewed-by: Patrick Delaunay <patrick.delaunay at st.com>

Thanks

Patrick
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32mp157-pinctrl.dtsi b/arch/arm/dts/stm32mp157-pinctrl.dtsi
index 6842d4cdca..964e4910ec 100644
--- a/arch/arm/dts/stm32mp157-pinctrl.dtsi
+++ b/arch/arm/dts/stm32mp157-pinctrl.dtsi
@@ -931,6 +931,27 @@ 
 				};
 			};
 
+			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 */