From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by ozlabs.org (Postfix) with ESMTP id 8E392DDED4 for ; Mon, 21 Jul 2008 23:11:29 +1000 (EST) Received: by yx-out-2324.google.com with SMTP id 8so237686yxg.39 for ; Mon, 21 Jul 2008 06:11:27 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=[127.0.1.1]) by terra with esmtp (Exim 4.69) (envelope-from ) id 1KKaok-0002Zn-NV for linuxppc-dev@ozlabs.org; Sun, 20 Jul 2008 11:27:22 -0400 From: Jon Smirl Subject: [PATCH] Add more register definitions for the MPC52xx PSC To: linuxppc-dev@ozlabs.org Date: Sun, 20 Jul 2008 11:27:22 -0400 Message-ID: <20080720152722.9874.45607.stgit@terra> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Add more register definitions for the MPC52xx PSC Signed-off-by: Jon Smirl --- include/asm-powerpc/mpc52xx_psc.h | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/include/asm-powerpc/mpc52xx_psc.h b/include/asm-powerpc/mpc52xx_psc.h index 0985dc8..4639598 100644 --- a/include/asm-powerpc/mpc52xx_psc.h +++ b/include/asm-powerpc/mpc52xx_psc.h @@ -162,8 +162,12 @@ struct mpc52xx_psc { u8 reserved5[3]; u8 ctlr; /* PSC + 0x1c */ u8 reserved6[3]; - u16 ccr; /* PSC + 0x20 */ - u8 reserved7[14]; + /* BitClkDiv field of CCR is byte swapped in + * the hardware for mpc5200/b compatibility */ + u32 ccr; /* PSC + 0x20 */ + u32 ac97_slots; /* PSC + 0x24 */ + u32 ac97_cmd; /* PSC + 0x28 */ + u32 ac97_data; /* PSC + 0x2c */ u8 ivr; /* PSC + 0x30 */ u8 reserved8[3]; u8 ip; /* PSC + 0x34 */