diff options
author | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-18 10:02:15 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-08-18 10:02:15 +0000 |
commit | 5ec65e96b29b96074b40fb093e8c3cdf65b78a8a (patch) | |
tree | 14faecd8faed37afce8c9ed6c26930676229a8e7 /Omap35xxPkg/Include | |
parent | ddff87b79e5811b7f3d79990b1580d27b310e4ae (diff) | |
download | edk2-5ec65e96b29b96074b40fb093e8c3cdf65b78a8a.tar.gz edk2-5ec65e96b29b96074b40fb093e8c3cdf65b78a8a.tar.bz2 edk2-5ec65e96b29b96074b40fb093e8c3cdf65b78a8a.zip |
Omap35xxPkg/Library/RealTimeClockLib: Add RTC Support
Omap35xxPkg/MmcHostDxe: Implement MmcHost protocol for Omap35xx
BeagleBoardPkg: Use Omap35xx RTC and MmcHost drivers
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12161 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Omap35xxPkg/Include')
-rw-r--r-- | Omap35xxPkg/Include/TPS65950.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Omap35xxPkg/Include/TPS65950.h b/Omap35xxPkg/Include/TPS65950.h index 8ba9dbaf2f..977219f747 100644 --- a/Omap35xxPkg/Include/TPS65950.h +++ b/Omap35xxPkg/Include/TPS65950.h @@ -19,14 +19,14 @@ #define EXTERNAL_DEVICE_REGISTER_TO_REGISTER(x) ((x) & 0xFF) #define EXTERNAL_DEVICE_REGISTER(SlaveAddress, Register) (((SlaveAddress) & 0xFF) << 8 | ((Register) & 0xFF)) -//I2C Address group +// I2C Address group #define I2C_ADDR_GRP_ID1 0x48 #define I2C_ADDR_GRP_ID2 0x49 #define I2C_ADDR_GRP_ID3 0x4A #define I2C_ADDR_GRP_ID4 0x4B #define I2C_ADDR_GRP_ID5 0x12 -//MMC definitions. +// MMC definitions. #define VMMC1_DEV_GRP 0x82 #define DEV_GRP_P1 BIT5 @@ -43,13 +43,23 @@ #define GPIODATAIN1 0x98 //I2C_ADDR_GRP_ID2 #define CARD_DETECT_BIT BIT0 -//LEDEN register +// LEDEN register #define LEDEN 0xEE #define LEDAON BIT0 #define LEDBON BIT1 #define LEDAPWM BIT4 #define LEDBPWM BIT5 +// RTC registers +#define SECONDS_REG 0x1C +#define MINUTES_REG 0x1D +#define HOURS_REG 0x1E +#define DAYS_REG 0x1F +#define MONTHS_REG 0x20 +#define YEARS_REG 0x21 +#define WEEKS_REG 0x22 +#define RTC_CTRL_REG 0x29 + // USB PHY power #define VAUX2_DEDICATED 0x79 #define VAUX2_DEV_GRP 0x76 |