We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed923da commit 6dae38cCopy full SHA for 6dae38c
arch/riscv32/soc/riscv-privilege/fe310/soc.h
@@ -105,10 +105,22 @@
105
106
#define FE310_PLIC_MAX_PRIORITY 7
107
108
+/* Clock controller. */
109
+#define PRCI_BASE_ADDR 0x10008000
110
+
111
/* Timer configuration */
112
#define RISCV_MTIME_BASE 0x0200BFF8
113
#define RISCV_MTIMECMP_BASE 0x02004000
114
115
+/* Always ON Domain */
116
+#define FE310_PMUIE 0x10000140
117
+#define FE310_PMUCAUSE 0x10000144
118
+#define FE310_PMUSLEEP 0x10000148
119
+#define FE310_PMUKEY 0x1000014C
120
+#define FE310_SLEEP_KEY_VAL 0x0051F15E
121
122
+#define FE310_BACKUP_REG_BASE 0x10000080
123
124
/* lib-c hooks required RAM defined variables */
125
#define RISCV_RAM_BASE CONFIG_RISCV_RAM_BASE_ADDR
126
#define RISCV_RAM_SIZE CONFIG_RISCV_RAM_SIZE
0 commit comments