[U-Boot] [PATCH] i.MX25: lcdc: Add register definitions

Timo Ketola timo at exertus.fi
Fri Apr 20 13:01:49 CEST 2012


Signed-off-by: Timo Ketola <timo at exertus.fi>
---
 arch/arm/include/asm/arch-mx25/imx-regs.h |   32 +++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/arch/arm/include/asm/arch-mx25/imx-regs.h b/arch/arm/include/asm/arch-mx25/imx-regs.h
index cf925d7..751a518 100644
--- a/arch/arm/include/asm/arch-mx25/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx25/imx-regs.h
@@ -170,6 +170,38 @@ struct aips_regs {
 	u32 mpr_8_15;
 };
 
+struct lcdc_regs {
+	u32 lssar;
+	u32 lsr;
+	u32 lvpwr;
+	u32 lcpr;
+	u32 lcwhb;
+	u32 lccmr;
+	u32 lpcr;
+	u32 lhcr;
+	u32 lvcr;
+	u32 lpor;
+	u32 lscr;
+	u32 lpccr;
+	u32 ldcr;
+	u32 lrmcr;
+	u32 licr;
+	u32 lier;
+	u32 lisr;
+	u32 pad0[3];
+	u32 lgwsar;
+	u32 lgwsr;
+	u32 lgwvpwr;
+	u32 lgwpor;
+	u32 lgwpr;
+
+	/* bglut starts at 0x800 or at word 0x200 and at this point we have
+	 * defined 25 registers */
+	u32 pad1[0x200 - 25];
+	u32 bglut[0x100];
+	u32 gwlut[0x100];
+};
+
 #endif
 
 /* AIPS 1 */
-- 
1.7.5.4



More information about the U-Boot mailing list