blob: fba701f5cd9c51b5535723d790f4cef118f875ed [file] [log] [blame]
Hao Zhang46267d82014-07-16 00:59:22 +03001/*
2 * K2E: SoC definitions
3 *
4 * (C) Copyright 2012-2014
5 * Texas Instruments Incorporated, <www.ti.com>
6 *
7 * SPDX-License-Identifier: GPL-2.0+
8 */
9
10#ifndef __ASM_ARCH_HARDWARE_K2E_H
11#define __ASM_ARCH_HARDWARE_K2E_H
12
13/* PA SS Registers */
14#define KS2_PASS_BASE 0x24000000
15
16/* Power and Sleep Controller (PSC) Domains */
17#define KS2_LPSC_MOD_RST 0
18#define KS2_LPSC_USB_1 1
19#define KS2_LPSC_USB 2
20#define KS2_LPSC_EMIF25_SPI 3
21#define KS2_LPSC_TSIP 4
22#define KS2_LPSC_DEBUGSS_TRC 5
23#define KS2_LPSC_TETB_TRC 6
24#define KS2_LPSC_PKTPROC 7
25#define KS2_LPSC_PA KS2_LPSC_PKTPROC
26#define KS2_LPSC_SGMII 8
27#define KS2_LPSC_CPGMAC KS2_LPSC_SGMII
28#define KS2_LPSC_CRYPTO 9
29#define KS2_LPSC_PCIE 10
30#define KS2_LPSC_VUSR0 12
31#define KS2_LPSC_CHIP_SRSS 13
32#define KS2_LPSC_MSMC 14
33#define KS2_LPSC_EMIF4F_DDR3 23
34#define KS2_LPSC_PCIE_1 27
35#define KS2_LPSC_XGE 50
36
Hao Zhang9000ea92014-10-22 16:32:30 +030037/* MSMC */
38#define KS2_MSMC_SEGMENT_PCIE1 13
39
Hao Zhang46267d82014-07-16 00:59:22 +030040/* Chip Interrupt Controller */
41#define KS2_CIC2_DDR3_ECC_IRQ_NUM -1 /* not defined in K2E */
42#define KS2_CIC2_DDR3_ECC_CHAN_NUM -1 /* not defined in K2E */
43
44/* Number of DSP cores */
45#define KS2_NUM_DSPS 1
46
Khoronzhuk, Ivan48704792014-10-17 21:01:12 +030047/* NETCP pktdma */
48#define KS2_NETCP_PDMA_CTRL_BASE 0x24186000
49#define KS2_NETCP_PDMA_TX_BASE 0x24187000
50#define KS2_NETCP_PDMA_TX_CH_NUM 21
51#define KS2_NETCP_PDMA_RX_BASE 0x24188000
52#define KS2_NETCP_PDMA_RX_CH_NUM 91
53#define KS2_NETCP_PDMA_SCHED_BASE 0x24186100
54#define KS2_NETCP_PDMA_RX_FLOW_BASE 0x24189000
55#define KS2_NETCP_PDMA_RX_FLOW_NUM 96
56#define KS2_NETCP_PDMA_RX_FREE_QUEUE 4001
57#define KS2_NETCP_PDMA_RX_RCV_QUEUE 4002
58#define KS2_NETCP_PDMA_TX_SND_QUEUE 896
59
Hao Zhang46267d82014-07-16 00:59:22 +030060#endif