blob: 301419b6fdac8f00ca5ad4315687b3e9ce6a119c [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Khoronzhuk, Ivan9ea90212014-09-05 19:02:48 +03002/*
3 * Multicore Navigator driver for TI Keystone 2 devices.
4 *
5 * (C) Copyright 2012-2014
6 * Texas Instruments Incorporated, <www.ti.com>
Khoronzhuk, Ivan9ea90212014-09-05 19:02:48 +03007 */
8
9#include <asm/ti-common/keystone_nav.h>
10
Khoronzhuk, Ivan9ea90212014-09-05 19:02:48 +030011/* NETCP Pktdma */
12struct pktdma_cfg netcp_pktdma = {
Tom Rini2043f9c2021-09-12 20:32:25 -040013 .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, Ivan9ea90212014-09-05 19:02:48 +030024};