boards: arm: mimxrt1020_evk: SD Card

Porting code from mimxrt1050_evk to this board to enable use of the SD
card.  Note that this board does not have the power pin connected to the
SD card and must use the no-1-8-v option for the USDHC driver as in
PR #34205 for the mm_swiftio.

Tested with samples/subsys/fs/fat_fs.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
This commit is contained in:
Jake Mercer 2021-05-14 17:40:24 +01:00 committed by Kumar Gala
commit 28f0a7a2ac
4 changed files with 111 additions and 0 deletions

View file

@ -116,3 +116,9 @@ arduino_serial: &lpuart2 {};
&usb1 {
status = "okay";
};
&usdhc1 {
status = "okay";
cd-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
no-1-8-v;
};