|
@@ -27,12 +27,23 @@
|
|
#define I2C_RD_OK 2
|
|
#define I2C_RD_OK 2
|
|
#define I2CWRITE 0
|
|
#define I2CWRITE 0
|
|
|
|
|
|
-#define _PRCMU_TCDM_BASE U8500_PRCMU_TCDM_BASE
|
|
|
|
-#define PRCM_XP70_CUR_PWR_STATE (_PRCMU_TCDM_BASE + 0xFFC) /* 4 BYTES */
|
|
|
|
-
|
|
|
|
-#define PRCM_REQ_MB5 (_PRCMU_TCDM_BASE + 0xE44) /* 4 bytes */
|
|
|
|
-#define PRCM_ACK_MB5 (_PRCMU_TCDM_BASE + 0xDF4) /* 4 bytes */
|
|
|
|
|
|
+#define PRCMU_BASE U8500_PRCMU_BASE
|
|
|
|
+#define PRCM_UARTCLK_MGT_REG (PRCMU_BASE + 0x018)
|
|
|
|
+#define PRCM_MSPCLK_MGT_REG (PRCMU_BASE + 0x01C)
|
|
|
|
+#define PRCM_I2CCLK_MGT_REG (PRCMU_BASE + 0x020)
|
|
|
|
+#define PRCM_SDMMCCLK_MGT_REG (PRCMU_BASE + 0x024)
|
|
|
|
+#define PRCM_PER1CLK_MGT_REG (PRCMU_BASE + 0x02C)
|
|
|
|
+#define PRCM_PER2CLK_MGT_REG (PRCMU_BASE + 0x030)
|
|
|
|
+#define PRCM_PER3CLK_MGT_REG (PRCMU_BASE + 0x034)
|
|
|
|
+#define PRCM_PER5CLK_MGT_REG (PRCMU_BASE + 0x038)
|
|
|
|
+#define PRCM_PER6CLK_MGT_REG (PRCMU_BASE + 0x03C)
|
|
|
|
+#define PRCM_PER7CLK_MGT_REG (PRCMU_BASE + 0x040)
|
|
|
|
|
|
|
|
+#define PRCM_ARM_IT1_CLEAR (PRCMU_BASE + 0x48C)
|
|
|
|
+#define PRCM_TCR (PRCMU_BASE + 0x1C8)
|
|
|
|
+#define PRCM_REQ_MB5 (PRCMU_BASE + 0xE44)
|
|
|
|
+#define PRCM_ACK_MB5 (PRCMU_BASE + 0xDF4)
|
|
|
|
+#define PRCM_XP70_CUR_PWR_STATE (PRCMU_BASE + 0xFFC)
|
|
/* Mailbox 5 Requests */
|
|
/* Mailbox 5 Requests */
|
|
#define PRCM_REQ_MB5_I2COPTYPE_REG (PRCM_REQ_MB5 + 0x0)
|
|
#define PRCM_REQ_MB5_I2COPTYPE_REG (PRCM_REQ_MB5 + 0x0)
|
|
#define PRCM_REQ_MB5_BIT_FIELDS (PRCM_REQ_MB5 + 0x1)
|
|
#define PRCM_REQ_MB5_BIT_FIELDS (PRCM_REQ_MB5 + 0x1)
|
|
@@ -52,4 +63,7 @@
|
|
extern int prcmu_i2c_read(u8 reg, u16 slave);
|
|
extern int prcmu_i2c_read(u8 reg, u16 slave);
|
|
extern int prcmu_i2c_write(u8 reg, u16 slave, u8 reg_data);
|
|
extern int prcmu_i2c_write(u8 reg, u16 slave, u8 reg_data);
|
|
|
|
|
|
|
|
+void u8500_prcmu_enable(u32 *reg);
|
|
|
|
+void db8500_prcmu_init(void);
|
|
|
|
+
|
|
#endif /* __MACH_PRCMU_FW_V1_H */
|
|
#endif /* __MACH_PRCMU_FW_V1_H */
|