summaryrefslogtreecommitdiffstats
path: root/include/xscom-p9-regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xscom-p9-regs.h')
-rw-r--r--include/xscom-p9-regs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/xscom-p9-regs.h b/include/xscom-p9-regs.h
index 4738e812..c3322499 100644
--- a/include/xscom-p9-regs.h
+++ b/include/xscom-p9-regs.h
@@ -21,4 +21,12 @@
#define P9_GPIO_DATA_OUT_ENABLE 0x00000000000B0054ull
#define P9_GPIO_DATA_OUT 0x00000000000B0051ull
+/* xscom address for SCOM Control and data Register */
+/* bits 54:60 of SCOM SPRC register is used for core specific SPR selection. */
+#define P9_SCOM_SPRC 0x20010A80
+#define P9_SCOMC_SPR_SELECT PPC_BITMASK(54, 60)
+#define P9_SCOMC_TFMR_T0 0x8 /* 0b0001000 TFMR */
+
+#define P9_SCOM_SPRD 0x20010A81
+
#endif /* __XSCOM_P9_REGS_H__ */
OpenPOWER on IntegriCloud