summaryrefslogtreecommitdiff
path: root/drivers/soc/sifive/sifive_pl2.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soc/sifive/sifive_pl2.h')
-rw-r--r--drivers/soc/sifive/sifive_pl2.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/soc/sifive/sifive_pl2.h b/drivers/soc/sifive/sifive_pl2.h
new file mode 100644
index 000000000000..472b6a335bb1
--- /dev/null
+++ b/drivers/soc/sifive/sifive_pl2.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2023 SiFive, Inc.
+ *
+ */
+
+#ifndef _SIFIVE_PL2_H
+#define _SIFIVE_PL2_H
+
+#define SIFIVE_PL2_PMCLIENT_OFFSET 0x2800
+
+int sifive_u74_l2_pmu_probe(struct device_node *pl2_node,
+ void __iomem *pl2_base, int cpu);
+#endif /*_SIFIVE_PL2_H */