From 2a25b845380f05ada3918532fd433308564c9be7 Mon Sep 17 00:00:00 2001 From: Kelvin Lawson Date: Thu, 12 Dec 2013 01:12:40 +0000 Subject: [PATCH] dm36x: Add PSC regs. --- ports/arm/platforms/dm36x/dm36x-io.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ports/arm/platforms/dm36x/dm36x-io.h b/ports/arm/platforms/dm36x/dm36x-io.h index d420359..1df08cd 100644 --- a/ports/arm/platforms/dm36x/dm36x-io.h +++ b/ports/arm/platforms/dm36x/dm36x-io.h @@ -168,8 +168,9 @@ #define DM36X_PSC_PTSTAT 0x128 #define DM36X_PSC_PDSTAT 0x200 #define DM36X_PSC_PDCTL1 0x304 -#define DM36X_PSC_MDSTAT_I2C 0x800 + (18 * 4) -#define DM36X_PSC_MDCTL_I2C 0xA00 + (18 * 4) +#define DM36X_PSC_MDSTAT_BASE 0x800 +#define DM36X_PSC_MDCTL_BASE 0xA00 +#define DM36X_PSC_MOD_I2C 18 /** I2C registers */