From 0f28b36980972b2f6bf3d88656bfb4ec29419f48 Mon Sep 17 00:00:00 2001 From: Kelvin Lawson Date: Fri, 6 Dec 2013 01:40:06 +0000 Subject: [PATCH] dm36x: Add PSC registers. --- ports/arm/platforms/dm36x/dm36x-io.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ports/arm/platforms/dm36x/dm36x-io.h b/ports/arm/platforms/dm36x/dm36x-io.h index fe0b434..03d0ab9 100644 --- a/ports/arm/platforms/dm36x/dm36x-io.h +++ b/ports/arm/platforms/dm36x/dm36x-io.h @@ -158,6 +158,14 @@ #define DM36X_PLLC_PLLDIV9 0x174 +/** Power and sleep controller registers */ +#define DM36X_PSC_BASE 0x01C41000 /* PSC registers */ +#define DM36X_PSC_PTCMD 0x120 +#define DM36X_PSC_PTSTAT 0x128 +#define DM36X_PSC_MDSTAT_I2C 0x800 + (18 * 4) +#define DM36X_PSC_MDCTL_I2C 0xA00 + (18 * 4) + + /** I2C registers */ #define DM36X_I2C_BASE 0x01C21000 /* I2C */ #define DM36X_I2C_ICOAR 0x00