mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
ARM: DTS: stm32: add SDMMC support fo stm32h743-eval
Add pinctrl and sdmmc nodes to add MMC support for STM32H743 evaluation board. Evaluation board needs a second pinctrl node "pinctrl_sdmmc1_level_shifter" to drive a level shifter on MMC bus. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
This commit is contained in:
parent
eccac3e120
commit
d8f69e563b
2 changed files with 20 additions and 0 deletions
|
@ -259,6 +259,17 @@
|
|||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
pinctrl_sdmmc1_level_shifter: sdmmc0_ls@0 {
|
||||
pins {
|
||||
pinmux = <STM32H7_PB8_FUNC_SDMMC1_CKIN>,
|
||||
<STM32H7_PB9_FUNC_SDMMC1_CDIR>,
|
||||
<STM32H7_PC6_FUNC_SDMMC1_D0DIR>,
|
||||
<STM32H7_PC7_FUNC_SDMMC1_D123DIR>;
|
||||
drive-push-pull;
|
||||
slew-rate = <3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -98,3 +98,12 @@
|
|||
st,sdram-refcount = <1539>;
|
||||
};
|
||||
};
|
||||
|
||||
&sdmmc1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&sdmmc1_pins>,
|
||||
<&pinctrl_sdmmc1_level_shifter>;
|
||||
pinctrl-names = "default";
|
||||
bus-width = <4>;
|
||||
st,dirpol;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue