sdhci-esdhc.h (19c3a0ef65adf090cb592dfe3e575f40322c88d8) sdhci-esdhc.h (ea35645a3c66a74af92d3bbb4eb131220fc3e58a)
1/*
2 * Freescale eSDHC controller driver generics for OF and pltfm.
3 *
4 * Copyright (c) 2007 Freescale Semiconductor, Inc.
5 * Copyright (c) 2009 MontaVista Software, Inc.
6 * Copyright (c) 2010 Pengutronix e.K.
7 * Author: Wolfram Sang <w.sang@pengutronix.de>
8 *

--- 23 unchanged lines hidden (view full) ---

32 */
33
34/* Present State Register */
35#define ESDHC_PRSSTAT 0x24
36#define ESDHC_CLOCK_STABLE 0x00000008
37
38/* Protocol Control Register */
39#define ESDHC_PROCTL 0x28
1/*
2 * Freescale eSDHC controller driver generics for OF and pltfm.
3 *
4 * Copyright (c) 2007 Freescale Semiconductor, Inc.
5 * Copyright (c) 2009 MontaVista Software, Inc.
6 * Copyright (c) 2010 Pengutronix e.K.
7 * Author: Wolfram Sang <w.sang@pengutronix.de>
8 *

--- 23 unchanged lines hidden (view full) ---

32 */
33
34/* Present State Register */
35#define ESDHC_PRSSTAT 0x24
36#define ESDHC_CLOCK_STABLE 0x00000008
37
38/* Protocol Control Register */
39#define ESDHC_PROCTL 0x28
40#define ESDHC_VOLT_SEL 0x00000400
40#define ESDHC_CTRL_4BITBUS (0x1 << 1)
41#define ESDHC_CTRL_8BITBUS (0x2 << 1)
42#define ESDHC_CTRL_BUSWIDTH_MASK (0x3 << 1)
43#define ESDHC_HOST_CONTROL_RES 0x01
44
45/* System Control Register */
46#define ESDHC_SYSTEM_CONTROL 0x2c
47#define ESDHC_CLOCK_MASK 0x0000fff0

--- 13 unchanged lines hidden ---
41#define ESDHC_CTRL_4BITBUS (0x1 << 1)
42#define ESDHC_CTRL_8BITBUS (0x2 << 1)
43#define ESDHC_CTRL_BUSWIDTH_MASK (0x3 << 1)
44#define ESDHC_HOST_CONTROL_RES 0x01
45
46/* System Control Register */
47#define ESDHC_SYSTEM_CONTROL 0x2c
48#define ESDHC_CLOCK_MASK 0x0000fff0

--- 13 unchanged lines hidden ---