summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-09-14 19:59:34 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:00:58 +0200
commite6862997bd208467f0bffd542dd635d27c15adaa (patch)
treee74c1273caba09e1277aa2b5f0866dbe9f12900c
parentb841c01d6a9c00ea1a4168b30ad4d6f45b4e519e (diff)
downloadu-boot-imx-e6862997bd208467f0bffd542dd635d27c15adaa.zip
u-boot-imx-e6862997bd208467f0bffd542dd635d27c15adaa.tar.gz
u-boot-imx-e6862997bd208467f0bffd542dd635d27c15adaa.tar.bz2
arm, davinci: add some missing defines in hardware.h
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Paulraj Sandeep <s-paulraj@ti.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
-rw-r--r--arch/arm/include/asm/arch-davinci/hardware.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-davinci/hardware.h b/arch/arm/include/asm/arch-davinci/hardware.h
index dcc71d6..b6a3209 100644
--- a/arch/arm/include/asm/arch-davinci/hardware.h
+++ b/arch/arm/include/asm/arch-davinci/hardware.h
@@ -322,6 +322,11 @@ void davinci_errata_workarounds(void);
#else /* CONFIG_SOC_DA8XX */
+#define PSC_ENABLE 0x3
+#define PSC_DISABLE 0x2
+#define PSC_SYNCRESET 0x1
+#define PSC_SWRSTDISABLE 0x0
+
#define PSC_PSC0_MODULE_ID_CNT 16
#define PSC_PSC1_MODULE_ID_CNT 32
@@ -464,6 +469,12 @@ struct davinci_syscfg1_regs {
#define DDR_SLEW_CMOSEN_BIT 4
+#define VTP_POWERDWN (1 << 6)
+#define VTP_LOCK (1 << 7)
+#define VTP_CLKRZ (1 << 13)
+#define VTP_READY (1 << 15)
+#define VTP_IOPWRDWN (1 << 14)
+
/* Interrupt controller */
struct davinci_aintc_regs {
dv_reg revid;