[PATCH V2 02/14] ARM: dts: stm32: Add alternate pinmux for SDMMC1 direction pins
Patrice CHOTARD
patrice.chotard at st.com
Tue Mar 31 10:26:58 CEST 2020
Hi Marek
On 3/31/20 2:48 AM, Marek Vasut wrote:
> Add another mux option for SDMMC1 direction pins, in particular
> SDMMC1_D123DIR, 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: New patch
> ---
Reviewed-by: Patrice Chotard <patrice.chotard at st.com>
Thanks
> arch/arm/dts/stm32mp157-pinctrl.dtsi | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp157-pinctrl.dtsi b/arch/arm/dts/stm32mp157-pinctrl.dtsi
> index 81a363d93d..6842d4cdca 100644
> --- a/arch/arm/dts/stm32mp157-pinctrl.dtsi
> +++ b/arch/arm/dts/stm32mp157-pinctrl.dtsi
> @@ -832,6 +832,30 @@
> };
> };
>
> + sdmmc1_dir_pins_b: sdmmc1-dir-1 {
> + pins1 {
> + pinmux = <STM32_PINMUX('F', 2, AF11)>, /* SDMMC1_D0DIR */
> + <STM32_PINMUX('E', 14, AF8)>, /* SDMMC1_D123DIR */
> + <STM32_PINMUX('B', 9, AF11)>; /* SDMMC1_CDIR */
> + slew-rate = <1>;
> + drive-push-pull;
> + bias-pull-up;
> + };
> + pins2{
> + pinmux = <STM32_PINMUX('E', 4, AF8)>; /* SDMMC1_CKIN */
> + bias-pull-up;
> + };
> + };
> +
> + sdmmc1_dir_sleep_pins_b: sdmmc1-dir-sleep-1 {
> + pins {
> + pinmux = <STM32_PINMUX('F', 2, ANALOG)>, /* SDMMC1_D0DIR */
> + <STM32_PINMUX('E', 14, ANALOG)>, /* SDMMC1_D123DIR */
> + <STM32_PINMUX('B', 9, ANALOG)>, /* SDMMC1_CDIR */
> + <STM32_PINMUX('E', 4, ANALOG)>; /* SDMMC1_CKIN */
> + };
> + };
> +
> sdmmc2_b4_pins_a: sdmmc2-b4-0 {
> pins1 {
> pinmux = <STM32_PINMUX('B', 14, AF9)>, /* SDMMC2_D0 */
More information about the U-Boot
mailing list