Skip to content

Commit

Permalink
zynq7000: add SD card pins to board configs
Browse files Browse the repository at this point in the history
JIRA: RTOS-630
  • Loading branch information
jmaksymowicz committed Oct 25, 2023
1 parent 85671f0 commit 8e5a05b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
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

0 comments on commit 8e5a05b

Please sign in to comment.