Siva Durga Prasad Paladugu | 6b24501 | 2016-01-13 16:25:37 +0530 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2015 Xilinx, Inc, |
| 3 | * Michal Simek <michal.simek@xilinx.com> |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0 |
| 6 | */ |
| 7 | |
| 8 | #ifndef _ZYNQMPPL_H_ |
| 9 | #define _ZYNQMPPL_H_ |
| 10 | |
| 11 | #include <xilinx.h> |
| 12 | |
Michal Simek | 47e60cb | 2016-02-01 15:05:58 +0100 | [diff] [blame] | 13 | #define ZYNQMP_SIP_SVC_CSU_DMA_CHIPID 0xC2000018 |
Siva Durga Prasad Paladugu | 6b24501 | 2016-01-13 16:25:37 +0530 | [diff] [blame] | 14 | #define ZYNQMP_SIP_SVC_PM_FPGA_LOAD 0xC2000016 |
| 15 | #define ZYNQMP_FPGA_OP_INIT (1 << 0) |
| 16 | #define ZYNQMP_FPGA_OP_LOAD (1 << 1) |
| 17 | #define ZYNQMP_FPGA_OP_DONE (1 << 2) |
| 18 | |
| 19 | extern struct xilinx_fpga_op zynqmp_op; |
| 20 | |
| 21 | #define XILINX_ZYNQMP_DESC \ |
| 22 | { xilinx_zynqmp, csu_dma, 1, &zynqmp_op, 0, &zynqmp_op } |
| 23 | |
| 24 | #endif /* _ZYNQMPPL_H_ */ |