diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2006-11-01 01:38:16 +0100 |
---|---|---|
committer | Bartlomiej Sieka <tur@semihalf.com> | 2006-11-01 01:38:16 +0100 |
commit | dae80f3caf9754a6dd3ddf3cf903d0c46cbd4385 (patch) | |
tree | cc2d0e674989c960fb0c40d1db5d3c4bf48f77d1 /include/mpc5xxx.h | |
parent | 82d9c9ec29a1bec1b03ba616425ebaed231072c8 (diff) | |
download | u-boot-imx-dae80f3caf9754a6dd3ddf3cf903d0c46cbd4385.zip u-boot-imx-dae80f3caf9754a6dd3ddf3cf903d0c46cbd4385.tar.gz u-boot-imx-dae80f3caf9754a6dd3ddf3cf903d0c46cbd4385.tar.bz2 |
- Add MPC5XXX register definition MPC5XXX_WU_GPIO_DATA_I and change the
MPC5XXX_WU_GPIO_DATA macro to MPC5XXX_WU_GPIO_DATA_O (per MPC5200 User's
Manual). Replace the uses of MPC5XXX_WU_GPIO_DATA with
MPC5XXX_WU_GPIO_DATA_O for affected boards.
- Add defintions for some MPC5XXX GPIO pins.
Diffstat (limited to 'include/mpc5xxx.h')
-rw-r--r-- | include/mpc5xxx.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/mpc5xxx.h b/include/mpc5xxx.h index 1d20d1d..089aa13 100644 --- a/include/mpc5xxx.h +++ b/include/mpc5xxx.h @@ -188,7 +188,14 @@ #define MPC5XXX_WU_GPIO_ENABLE (MPC5XXX_WU_GPIO + 0x0000) #define MPC5XXX_WU_GPIO_ODE (MPC5XXX_WU_GPIO + 0x0004) #define MPC5XXX_WU_GPIO_DIR (MPC5XXX_WU_GPIO + 0x0008) -#define MPC5XXX_WU_GPIO_DATA (MPC5XXX_WU_GPIO + 0x000c) +#define MPC5XXX_WU_GPIO_DATA_O (MPC5XXX_WU_GPIO + 0x000c) +#define MPC5XXX_WU_GPIO_DATA_I (MPC5XXX_WU_GPIO + 0x0020) + +/* GPIO pins */ +#define GPIO_WKUP_7 0x80000000UL +#define GPIO_PSC6_0 0x10000000UL +#define GPIO_PSC3_9 0x04000000UL +#define GPIO_PSC1_4 0x01000000UL /* PCI registers */ #define MPC5XXX_PCI_CMD (MPC5XXX_PCI + 0x04) |