]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | // SPDX-License-Identifier: GPL-2.0+ |
9ea9021a KI |
2 | /* |
3 | * Multicore Navigator driver for TI Keystone 2 devices. | |
4 | * | |
5 | * (C) Copyright 2012-2014 | |
6 | * Texas Instruments Incorporated, <www.ti.com> | |
9ea9021a KI |
7 | */ |
8 | ||
9 | #include <asm/ti-common/keystone_nav.h> | |
10 | ||
9ea9021a KI |
11 | /* NETCP Pktdma */ |
12 | struct pktdma_cfg netcp_pktdma = { | |
2043f9c4 TR |
13 | .global = (void *)KS2_NETCP_PDMA_CTRL_BASE, |
14 | .tx_ch = (void *)KS2_NETCP_PDMA_TX_BASE, | |
15 | .tx_ch_num = KS2_NETCP_PDMA_TX_CH_NUM, | |
16 | .rx_ch = (void *)KS2_NETCP_PDMA_RX_BASE, | |
17 | .rx_ch_num = KS2_NETCP_PDMA_RX_CH_NUM, | |
18 | .tx_sched = (u32 *)KS2_NETCP_PDMA_SCHED_BASE, | |
19 | .rx_flows = (void *)KS2_NETCP_PDMA_RX_FLOW_BASE, | |
20 | .rx_flow_num = KS2_NETCP_PDMA_RX_FLOW_NUM, | |
21 | .rx_free_q = KS2_NETCP_PDMA_RX_FREE_QUEUE, | |
22 | .rx_rcv_q = KS2_NETCP_PDMA_RX_RCV_QUEUE, | |
23 | .tx_snd_q = KS2_NETCP_PDMA_TX_SND_QUEUE, | |
9ea9021a | 24 | }; |