Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zynq7000: add SD card pins to board configs #892

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions _projects/armv7a9-zynq7000-qemu/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@
#define QSPI_CLK 6
#define QSPI_FCLK 8

/* SD card configuration */
#define SD_CARD_CLK -1
#define SD_CARD_CMD -1
#define SD_CARD_D0 -1
#define SD_CARD_D1 -1
#define SD_CARD_D2 -1
#define SD_CARD_D3 -1
#define SD_CARD_CD -1
#define SD_CARD_WP -1

/* GPIO bank 0 configuration */
#define GPIO0_0 -1
#define GPIO0_1 -1
Expand Down
10 changes: 10 additions & 0 deletions _projects/armv7a9-zynq7000-zedboard/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,16 @@
#define QSPI_CLK 6
#define QSPI_FCLK 8

/* SD card configuration */
#define SD_CARD_CLK 40
#define SD_CARD_CMD 41
#define SD_CARD_D0 42
#define SD_CARD_D1 43
#define SD_CARD_D2 44
#define SD_CARD_D3 45
#define SD_CARD_CD 47
#define SD_CARD_WP 46

/* GPIO bank 0 configuration */
#define GPIO0_0 -1
#define GPIO0_1 -1
Expand Down
10 changes: 10 additions & 0 deletions _projects/armv7a9-zynq7000-zturn/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@
#define QSPI_CLK 6
#define QSPI_FCLK 8

/* SD card configuration */
#define SD_CARD_CLK 40
#define SD_CARD_CMD 41
#define SD_CARD_D0 42
#define SD_CARD_D1 43
#define SD_CARD_D2 44
#define SD_CARD_D3 45
#define SD_CARD_CD 46
#define SD_CARD_WP 47 /* Always pulled low on this board */

/* GPIO bank 0 configuration */
#define GPIO0_0 -1
#define GPIO0_1 -1
Expand Down
Loading