diff options
author | Rashmica Gupta <rashmica.g@gmail.com> | 2018-11-16 14:04:21 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-11-18 22:23:39 -0600 |
commit | 0fa446cc21cba577c120c300c591a84241142d98 (patch) | |
tree | 3730ae414c0f8c8a041241a17a60fa3ca80b4c56 /include/npu2-regs.h | |
parent | 30f8a6006de45fadedd80c98059b63d3874a5269 (diff) | |
download | skiboot-0fa446cc21cba577c120c300c591a84241142d98.zip skiboot-0fa446cc21cba577c120c300c591a84241142d98.tar.gz skiboot-0fa446cc21cba577c120c300c591a84241142d98.tar.bz2 |
Add the other 7 ATSD registers to the device tree.
Suggested-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
Reviewed-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/npu2-regs.h')
-rw-r--r-- | include/npu2-regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/npu2-regs.h b/include/npu2-regs.h index 8c1ba5f..165e0b7 100644 --- a/include/npu2-regs.h +++ b/include/npu2-regs.h @@ -579,6 +579,8 @@ void npu2_scom_write(uint64_t gcid, uint64_t scom_base, #define NPU2_XTS_MMIO_ATSD_LAUNCH 0x000 #define NPU2_XTS_MMIO_ATSD_AVA 0x008 #define NPU2_XTS_MMIO_ATSD_STATUS 0x010 +#define MMIO_ATSD_ADDR(p, n) (u64) p + NPU2_REG_OFFSET(NPU2_STACK_ATSD,\ + NPU2_BLOCK_ATSD##n, NPU2_XTS_MMIO_ATSD_LAUNCH) /* ALTD SCOM addresses */ #define NPU2_MISC_SCOM_IND_SCOM_ADDR 0x68e |