1/*
2 * Copyright 2017, Data61
3 * Commonwealth Scientific and Industrial Research Organisation (CSIRO)
4 * ABN 41 687 119 230.
5 *
6 * This software may be distributed and modified according to the terms of
7 * the BSD 2-Clause license. Note that NO WARRANTY is provided.
8 * See "LICENSE_BSD2.txt" for details.
9 *
10 * @TAG(DATA61_BSD)
11 */
12
13#pragma once
14
15#define SDHC0_PADDR 0x12510000
16#define SDHC1_PADDR 0x12520000
17#define SDHC2_PADDR 0x12530000
18#define SDHC3_PADDR 0x12540000
19#define SDHC4_PADDR 0x12550000
20
21#define SDHC0_SIZE  0x1000
22#define SDHC1_SIZE  0x1000
23#define SDHC2_SIZE  0x1000
24#define SDHC3_SIZE  0x1000
25#define SDHC4_SIZE  0x1000
26
27#define SDHC0_IRQ   105
28#define SDHC1_IRQ   106
29#define SDHC2_IRQ   107
30#define SDHC3_IRQ   108
31#define SDHC4_IRQ   109
32
33enum sdio_id {
34    SDHC0 = 0,
35    SDHC1,
36    SDHC2,
37    SDHC3,
38    SDHC4,
39    NSDHC,
40    SDHC_DEFAULT = SDHC2
41};
42