Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Khoronzhuk, Ivan | fa2105a | 2014-09-05 19:02:48 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Multicore Navigator driver for TI Keystone 2 devices. |
| 4 | * |
| 5 | * (C) Copyright 2012-2014 |
| 6 | * Texas Instruments Incorporated, <www.ti.com> |
Khoronzhuk, Ivan | fa2105a | 2014-09-05 19:02:48 +0300 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #include <asm/ti-common/keystone_nav.h> |
| 10 | |
Khoronzhuk, Ivan | fa2105a | 2014-09-05 19:02:48 +0300 | [diff] [blame] | 11 | /* NETCP Pktdma */ |
| 12 | struct pktdma_cfg netcp_pktdma = { |
Tom Rini | 1a1f22f | 2021-09-12 20:32:25 -0400 | [diff] [blame] | 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, |
Khoronzhuk, Ivan | fa2105a | 2014-09-05 19:02:48 +0300 | [diff] [blame] | 24 | }; |