diff options
Diffstat (limited to 'chip')
-rw-r--r-- | chip/mt_scp/mt8192/intc.h | 3 | ||||
-rw-r--r-- | chip/mt_scp/mt8195/intc.h | 3 | ||||
-rw-r--r-- | chip/mt_scp/rv32i_common/registers.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/chip/mt_scp/mt8192/intc.h b/chip/mt_scp/mt8192/intc.h index b2035a9025..63eb1243b3 100644 --- a/chip/mt_scp/mt8192/intc.h +++ b/chip/mt_scp/mt8192/intc.h @@ -7,6 +7,9 @@ #define __CROS_EC_INTC_H /* INTC */ +#define SCP_INTC_IRQ_POL0 0xef001f20 +#define SCP_INTC_IRQ_POL1 0x0800001d +#define SCP_INTC_IRQ_POL2 0x00000020 #define SCP_INTC_GRP_LEN 3 #define SCP_INTC_IRQ_COUNT 96 diff --git a/chip/mt_scp/mt8195/intc.h b/chip/mt_scp/mt8195/intc.h index f098229e8c..87181c46ca 100644 --- a/chip/mt_scp/mt8195/intc.h +++ b/chip/mt_scp/mt8195/intc.h @@ -7,6 +7,9 @@ #define __CROS_EC_INTC_H /* INTC */ +#define SCP_INTC_IRQ_POL0 0xef001f20 +#define SCP_INTC_IRQ_POL1 0x044001dd +#define SCP_INTC_IRQ_POL2 0xffffdfe0 #define SCP_INTC_IRQ_POL3 0xfffffff3 #define SCP_INTC_GRP_LEN 4 #define SCP_INTC_IRQ_COUNT 127 diff --git a/chip/mt_scp/rv32i_common/registers.h b/chip/mt_scp/rv32i_common/registers.h index 82450be169..adbef5f98b 100644 --- a/chip/mt_scp/rv32i_common/registers.h +++ b/chip/mt_scp/rv32i_common/registers.h @@ -142,9 +142,6 @@ #define SCP_CORE0_WDT_CUR_VAL REG32(SCP_REG_BASE + 0x3003C) /* INTC */ -#define SCP_INTC_IRQ_POL0 0xef001f20 -#define SCP_INTC_IRQ_POL1 0x0800001d -#define SCP_INTC_IRQ_POL2 0x00000020 #define SCP_INTC_WORD(irq) ((irq) >> 5) /* word length = 2^5 */ #define SCP_INTC_BIT(irq) ((irq) & 0x1F) /* bit shift =LSB[0:4] */ #define SCP_INTC_GRP_COUNT 15 |