Skip to contentSkip to conversation

ep93xx/micro9: Update platform code

PATCH New h.feurstein 1 participant 1 message Sep 24, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 ep93xx/micro9: Update platform code

ARM: Update Contec Micro9 platform code and add Micro9-Slim support

---
 arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h |   11 ++
 arch/arm/mach-ep93xx/micro9.c                   |  122 +++++++++++++----------
 2 files changed, 82 insertions(+), 51 deletions(-)
(quoted diff) +0 -0

b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
index 0fbf87b..587756d 100644

arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +11 -0
@@ -218,6 +218,17 @@
 #define EP93XX_SYSCON_KEYTCHCLKDIV_ADIV	(1<<16)
 #define EP93XX_SYSCON_KEYTCHCLKDIV_KEN	(1<<15)
 #define EP93XX_SYSCON_KEYTCHCLKDIV_KDIV	(1<<0)
+#define EP93XX_SYSCON_SYSCFG		EP93XX_SYSCON_REG(0x9c)
+#define EP93XX_SYSCON_SYSCFG_REV_MASK	(0xf0000000)
+#define EP93XX_SYSCON_SYSCFG_REV_SHIFT	(28)
+#define EP93XX_SYSCON_SYSCFG_SBOOT	(1<<8)
+#define EP93XX_SYSCON_SYSCFG_LCSN7	(1<<7)
+#define EP93XX_SYSCON_SYSCFG_LCSN6	(1<<6)
+#define EP93XX_SYSCON_SYSCFG_LASDO	(1<<5)
+#define EP93XX_SYSCON_SYSCFG_LEEDA	(1<<4)
+#define EP93XX_SYSCON_SYSCFG_LEECLK	(1<<3)
+#define EP93XX_SYSCON_SYSCFG_LCSN2	(1<<1)
+#define EP93XX_SYSCON_SYSCFG_LCSN1	(1<<0)
 #define EP93XX_SYSCON_SWLOCK		EP93XX_SYSCON_REG(0xc0)
 
 #define EP93XX_WATCHDOG_BASE		EP93XX_APB_IOMEM(0x00140000)
arch/arm/mach-ep93xx/micro9.c +71 -51

173 lines not on this page · raw message

Signature · 1 line
1.6.0.2