From 8cc10d06b833ed917a19ad358c8ebbed8bc19555 Mon Sep 17 00:00:00 2001 From: Niklaus Giger Date: Tue, 5 Feb 2008 10:26:41 +0100 Subject: [PATCH] ppc4xx: PPC405GPr fix missing register definitions Signed-off-by: Niklaus Giger --- include/ppc405.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/ppc405.h b/include/ppc405.h index b5ad38fc52..cbfe89ee41 100644 --- a/include/ppc405.h +++ b/include/ppc405.h @@ -784,6 +784,14 @@ #define reset (CNTRL_DCR_BASE+0x3) /* reset register */ #define strap (CNTRL_DCR_BASE+0x4) /* strap register */ +#define CPC0_CR0 (CNTRL_DCR_BASE+0x1) /* chip control register 0 */ +#define CPC0_CR1 (CNTRL_DCR_BASE+0x2) /* chip control register 1 */ +#define CPC0_PSR (CNTRL_DCR_BASE+0x4) /* chip pin strapping register */ + +/* CPC0_ECR/CPC0_EIRR: PPC405GPr only */ +#define CPC0_EIRR (CNTRL_DCR_BASE+0x6) /* external interrupt routing register */ +#define CPC0_ECR (0xaa) /* edge conditioner register */ + #define ecr (0xaa) /* edge conditioner register (405gpr) */ /* Bit definitions */ -- 2.39.5