Skip to content
Snippets Groups Projects
Commit 86a9a67e authored by Gianfranco Mariotti's avatar Gianfranco Mariotti Committed by Tobias Kahlki
Browse files

[D18] external SD: enable WP and RESET

parent bb84b021
No related branches found
No related tags found
2 merge requests!455CI: Update gitlab-ci,!374dts:d18: Add support for D18 SMARC (aka Levy) module
......@@ -488,6 +488,7 @@ &usdhc2 {
pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
wp-gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
vmmc-supply = <&reg_usdhc2_vmmc>;
bus-width = <4>;
status = "okay";
......@@ -652,12 +653,6 @@ MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x41
>;
};
pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
fsl,pins = <
MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x41
>;
};
pinctrl_sai2: sai2grp {
fsl,pins = <
MX8MP_IOMUXC_SAI2_TXC__AUDIOMIX_SAI2_TX_BCLK 0xd6
......@@ -767,6 +762,8 @@ MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1
pinctrl_usdhc2_gpio: usdhc2gpiogrp {
fsl,pins = <
MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x1c4
MX8MP_IOMUXC_SD2_WP__GPIO2_IO20 0x41
MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x19
>;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment