1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Multicore Navigator driver for TI Keystone 2 devices.
4  *
5  * (C) Copyright 2012-2014
6  *     Texas Instruments Incorporated, <www.ti.com>
7  */
8 
9 #include <asm/ti-common/keystone_nav.h>
10 
11 #ifdef CONFIG_KSNAV_PKTDMA_NETCP
12 /* NETCP Pktdma */
13 struct pktdma_cfg netcp_pktdma = {
14 	.global		= (void *)CONFIG_KSNAV_NETCP_PDMA_CTRL_BASE,
15 	.tx_ch		= (void *)CONFIG_KSNAV_NETCP_PDMA_TX_BASE,
16 	.tx_ch_num	= CONFIG_KSNAV_NETCP_PDMA_TX_CH_NUM,
17 	.rx_ch		= (void *)CONFIG_KSNAV_NETCP_PDMA_RX_BASE,
18 	.rx_ch_num	= CONFIG_KSNAV_NETCP_PDMA_RX_CH_NUM,
19 	.tx_sched	= (u32 *)CONFIG_KSNAV_NETCP_PDMA_SCHED_BASE,
20 	.rx_flows	= (void *)CONFIG_KSNAV_NETCP_PDMA_RX_FLOW_BASE,
21 	.rx_flow_num	= CONFIG_KSNAV_NETCP_PDMA_RX_FLOW_NUM,
22 	.rx_free_q	= CONFIG_KSNAV_NETCP_PDMA_RX_FREE_QUEUE,
23 	.rx_rcv_q	= CONFIG_KSNAV_NETCP_PDMA_RX_RCV_QUEUE,
24 	.tx_snd_q	= CONFIG_KSNAV_NETCP_PDMA_TX_SND_QUEUE,
25 };
26 #endif
27