Merge branch 'master' of git://git.denx.de/u-boot-mips
[oweals/u-boot.git] / arch / arm / include / asm / arch-pantheon / pantheon.h
index c7fe646128ec1b8a41137c7f1d0fd8382aa27649..d5e9ba048e43f33a92c3fe5c0cc962a63782c11e 100644 (file)
 /* Functional Clock Selection Mask */
 #define APBC_FNCLKSEL(x)        (((x) & 0xf) << 4)
 
+/* Common APMU register bit definitions */
+#define APMU_PERI_CLK  (1<<4)  /* Peripheral Clock Enable */
+#define APMU_AXI_CLK   (1<<3)  /* AXI Clock Enable*/
+#define APMU_PERI_RST  (1<<1)  /* Peripheral Reset */
+#define APMU_AXI_RST   (1<<0)  /* AXI Reset */
+
 /* Register Base Addresses */
 #define PANTHEON_DRAM_BASE     0xB0000000
 #define PANTHEON_TIMER_BASE    0xD4014000
@@ -42,6 +48,7 @@
 #define PANTHEON_GPIO_BASE     0xD4019000
 #define PANTHEON_MFPR_BASE     0xD401E000
 #define PANTHEON_MPMU_BASE     0xD4050000
+#define PANTHEON_APMU_BASE     0xD4282800
 #define PANTHEON_CPU_BASE      0xD4282C00
 
 #endif /* _PANTHEON_H */