brintos

brintos / linux-shallow public Read only

0
0
Text · 13.9 KiB · eed48b7 Raw
411 lines · c
1#ifndef DT_BINDINGS_MEMORY_TEGRA194_MC_H2#define DT_BINDINGS_MEMORY_TEGRA194_MC_H3 4/* special clients */5#define TEGRA194_SID_INVALID		0x006#define TEGRA194_SID_PASSTHROUGH	0x7f7 8/* host1x clients */9#define TEGRA194_SID_HOST1X		0x0110#define TEGRA194_SID_CSI		0x0211#define TEGRA194_SID_VIC		0x0312#define TEGRA194_SID_VI			0x0413#define TEGRA194_SID_ISP		0x0514#define TEGRA194_SID_NVDEC		0x0615#define TEGRA194_SID_NVENC		0x0716#define TEGRA194_SID_NVJPG		0x0817#define TEGRA194_SID_NVDISPLAY		0x0918#define TEGRA194_SID_TSEC		0x0a19#define TEGRA194_SID_TSECB		0x0b20#define TEGRA194_SID_SE			0x0c21#define TEGRA194_SID_SE1		0x0d22#define TEGRA194_SID_SE2		0x0e23#define TEGRA194_SID_SE3		0x0f24 25/* GPU clients */26#define TEGRA194_SID_GPU		0x1027 28/* other SoC clients */29#define TEGRA194_SID_AFI		0x1130#define TEGRA194_SID_HDA		0x1231#define TEGRA194_SID_ETR		0x1332#define TEGRA194_SID_EQOS		0x1433#define TEGRA194_SID_UFSHC		0x1534#define TEGRA194_SID_AON		0x1635#define TEGRA194_SID_SDMMC4		0x1736#define TEGRA194_SID_SDMMC3		0x1837#define TEGRA194_SID_SDMMC2		0x1938#define TEGRA194_SID_SDMMC1		0x1a39#define TEGRA194_SID_XUSB_HOST		0x1b40#define TEGRA194_SID_XUSB_DEV		0x1c41#define TEGRA194_SID_SATA		0x1d42#define TEGRA194_SID_APE		0x1e43#define TEGRA194_SID_SCE		0x1f44 45/* GPC DMA clients */46#define TEGRA194_SID_GPCDMA_0		0x2047#define TEGRA194_SID_GPCDMA_1		0x2148#define TEGRA194_SID_GPCDMA_2		0x2249#define TEGRA194_SID_GPCDMA_3		0x2350#define TEGRA194_SID_GPCDMA_4		0x2451#define TEGRA194_SID_GPCDMA_5		0x2552#define TEGRA194_SID_GPCDMA_6		0x2653#define TEGRA194_SID_GPCDMA_7		0x2754 55/* APE DMA clients */56#define TEGRA194_SID_APE_1		0x2857#define TEGRA194_SID_APE_2		0x2958 59/* camera RTCPU */60#define TEGRA194_SID_RCE		0x2a61 62/* camera RTCPU on host1x address space */63#define TEGRA194_SID_RCE_1X		0x2b64 65/* APE DMA clients */66#define TEGRA194_SID_APE_3		0x2c67 68/* camera RTCPU running on APE */69#define TEGRA194_SID_APE_CAM		0x2d70#define TEGRA194_SID_APE_CAM_1X		0x2e71 72#define TEGRA194_SID_RCE_RM		0x2f73#define TEGRA194_SID_VI_FALCON		0x3074#define TEGRA194_SID_ISP_FALCON		0x3175 76/*77 * The BPMP has its SID value hardcoded in the firmware. Changing it requires78 * considerable effort.79 */80#define TEGRA194_SID_BPMP		0x3281 82/* for SMMU tests */83#define TEGRA194_SID_SMMU_TEST		0x3384 85/* host1x virtualization channels */86#define TEGRA194_SID_HOST1X_CTX0	0x3887#define TEGRA194_SID_HOST1X_CTX1	0x3988#define TEGRA194_SID_HOST1X_CTX2	0x3a89#define TEGRA194_SID_HOST1X_CTX3	0x3b90#define TEGRA194_SID_HOST1X_CTX4	0x3c91#define TEGRA194_SID_HOST1X_CTX5	0x3d92#define TEGRA194_SID_HOST1X_CTX6	0x3e93#define TEGRA194_SID_HOST1X_CTX7	0x3f94 95/* host1x command buffers */96#define TEGRA194_SID_HOST1X_VM0		0x4097#define TEGRA194_SID_HOST1X_VM1		0x4198#define TEGRA194_SID_HOST1X_VM2		0x4299#define TEGRA194_SID_HOST1X_VM3		0x43100#define TEGRA194_SID_HOST1X_VM4		0x44101#define TEGRA194_SID_HOST1X_VM5		0x45102#define TEGRA194_SID_HOST1X_VM6		0x46103#define TEGRA194_SID_HOST1X_VM7		0x47104 105/* SE data buffers */106#define TEGRA194_SID_SE_VM0		0x48107#define TEGRA194_SID_SE_VM1		0x49108#define TEGRA194_SID_SE_VM2		0x4a109#define TEGRA194_SID_SE_VM3		0x4b110#define TEGRA194_SID_SE_VM4		0x4c111#define TEGRA194_SID_SE_VM5		0x4d112#define TEGRA194_SID_SE_VM6		0x4e113#define TEGRA194_SID_SE_VM7		0x4f114 115#define TEGRA194_SID_MIU		0x50116 117#define TEGRA194_SID_NVDLA0		0x51118#define TEGRA194_SID_NVDLA1		0x52119 120#define TEGRA194_SID_PVA0		0x53121#define TEGRA194_SID_PVA1		0x54122#define TEGRA194_SID_NVENC1		0x55123#define TEGRA194_SID_PCIE0		0x56124#define TEGRA194_SID_PCIE1		0x57125#define TEGRA194_SID_PCIE2		0x58126#define TEGRA194_SID_PCIE3		0x59127#define TEGRA194_SID_PCIE4		0x5a128#define TEGRA194_SID_PCIE5		0x5b129#define TEGRA194_SID_NVDEC1		0x5c130 131#define TEGRA194_SID_XUSB_VF0		0x5d132#define TEGRA194_SID_XUSB_VF1		0x5e133#define TEGRA194_SID_XUSB_VF2		0x5f134#define TEGRA194_SID_XUSB_VF3		0x60135 136#define TEGRA194_SID_RCE_VM3		0x61137#define TEGRA194_SID_VI_VM2		0x62138#define TEGRA194_SID_VI_VM3		0x63139#define TEGRA194_SID_RCE_SERVER		0x64140 141/*142 * memory client IDs143 */144 145/* Misses from System Memory Management Unit (SMMU) Page Table Cache (PTC) */146#define TEGRA194_MEMORY_CLIENT_PTCR 0x00147/* MSS internal memqual MIU7 read clients */148#define TEGRA194_MEMORY_CLIENT_MIU7R 0x01149/* MSS internal memqual MIU7 write clients */150#define TEGRA194_MEMORY_CLIENT_MIU7W 0x02151/* High-definition audio (HDA) read clients */152#define TEGRA194_MEMORY_CLIENT_HDAR 0x15153/* Host channel data read clients */154#define TEGRA194_MEMORY_CLIENT_HOST1XDMAR 0x16155#define TEGRA194_MEMORY_CLIENT_NVENCSRD 0x1c156/* SATA read clients */157#define TEGRA194_MEMORY_CLIENT_SATAR 0x1f158/* Reads from Cortex-A9 4 CPU cores via the L2 cache */159#define TEGRA194_MEMORY_CLIENT_MPCORER 0x27160#define TEGRA194_MEMORY_CLIENT_NVENCSWR 0x2b161/* High-definition audio (HDA) write clients */162#define TEGRA194_MEMORY_CLIENT_HDAW 0x35163/* Writes from Cortex-A9 4 CPU cores via the L2 cache */164#define TEGRA194_MEMORY_CLIENT_MPCOREW 0x39165/* SATA write clients */166#define TEGRA194_MEMORY_CLIENT_SATAW 0x3d167/* ISP read client for Crossbar A */168#define TEGRA194_MEMORY_CLIENT_ISPRA 0x44169/* ISP read client 1 for Crossbar A */170#define TEGRA194_MEMORY_CLIENT_ISPFALR 0x45171/* ISP Write client for Crossbar A */172#define TEGRA194_MEMORY_CLIENT_ISPWA 0x46173/* ISP Write client Crossbar B */174#define TEGRA194_MEMORY_CLIENT_ISPWB 0x47175/* XUSB_HOST read clients */176#define TEGRA194_MEMORY_CLIENT_XUSB_HOSTR 0x4a177/* XUSB_HOST write clients */178#define TEGRA194_MEMORY_CLIENT_XUSB_HOSTW 0x4b179/* XUSB read clients */180#define TEGRA194_MEMORY_CLIENT_XUSB_DEVR 0x4c181/* XUSB_DEV write clients */182#define TEGRA194_MEMORY_CLIENT_XUSB_DEVW 0x4d183/* sdmmca memory read client */184#define TEGRA194_MEMORY_CLIENT_SDMMCRA 0x60185/* sdmmc memory read client */186#define TEGRA194_MEMORY_CLIENT_SDMMCR 0x62187/* sdmmcd memory read client */188#define TEGRA194_MEMORY_CLIENT_SDMMCRAB 0x63189/* sdmmca memory write client */190#define TEGRA194_MEMORY_CLIENT_SDMMCWA 0x64191/* sdmmc memory write client */192#define TEGRA194_MEMORY_CLIENT_SDMMCW 0x66193/* sdmmcd memory write client */194#define TEGRA194_MEMORY_CLIENT_SDMMCWAB 0x67195#define TEGRA194_MEMORY_CLIENT_VICSRD 0x6c196#define TEGRA194_MEMORY_CLIENT_VICSWR 0x6d197/* VI Write client */198#define TEGRA194_MEMORY_CLIENT_VIW 0x72199#define TEGRA194_MEMORY_CLIENT_NVDECSRD 0x78200#define TEGRA194_MEMORY_CLIENT_NVDECSWR 0x79201/* Audio Processing (APE) engine read clients */202#define TEGRA194_MEMORY_CLIENT_APER 0x7a203/* Audio Processing (APE) engine write clients */204#define TEGRA194_MEMORY_CLIENT_APEW 0x7b205#define TEGRA194_MEMORY_CLIENT_NVJPGSRD 0x7e206#define TEGRA194_MEMORY_CLIENT_NVJPGSWR 0x7f207/* AXI AP and DFD-AUX0/1 read clients Both share the same interface on the on MSS */208#define TEGRA194_MEMORY_CLIENT_AXIAPR 0x82209/* AXI AP and DFD-AUX0/1 write clients Both sahre the same interface on MSS */210#define TEGRA194_MEMORY_CLIENT_AXIAPW 0x83211/* ETR read clients */212#define TEGRA194_MEMORY_CLIENT_ETRR 0x84213/* ETR write clients */214#define TEGRA194_MEMORY_CLIENT_ETRW 0x85215/* AXI Switch read client */216#define TEGRA194_MEMORY_CLIENT_AXISR 0x8c217/* AXI Switch write client */218#define TEGRA194_MEMORY_CLIENT_AXISW 0x8d219/* EQOS read client */220#define TEGRA194_MEMORY_CLIENT_EQOSR 0x8e221/* EQOS write client */222#define TEGRA194_MEMORY_CLIENT_EQOSW 0x8f223/* UFSHC read client */224#define TEGRA194_MEMORY_CLIENT_UFSHCR 0x90225/* UFSHC write client */226#define TEGRA194_MEMORY_CLIENT_UFSHCW 0x91227/* NVDISPLAY read client */228#define TEGRA194_MEMORY_CLIENT_NVDISPLAYR 0x92229/* BPMP read client */230#define TEGRA194_MEMORY_CLIENT_BPMPR 0x93231/* BPMP write client */232#define TEGRA194_MEMORY_CLIENT_BPMPW 0x94233/* BPMPDMA read client */234#define TEGRA194_MEMORY_CLIENT_BPMPDMAR 0x95235/* BPMPDMA write client */236#define TEGRA194_MEMORY_CLIENT_BPMPDMAW 0x96237/* AON read client */238#define TEGRA194_MEMORY_CLIENT_AONR 0x97239/* AON write client */240#define TEGRA194_MEMORY_CLIENT_AONW 0x98241/* AONDMA read client */242#define TEGRA194_MEMORY_CLIENT_AONDMAR 0x99243/* AONDMA write client */244#define TEGRA194_MEMORY_CLIENT_AONDMAW 0x9a245/* SCE read client */246#define TEGRA194_MEMORY_CLIENT_SCER 0x9b247/* SCE write client */248#define TEGRA194_MEMORY_CLIENT_SCEW 0x9c249/* SCEDMA read client */250#define TEGRA194_MEMORY_CLIENT_SCEDMAR 0x9d251/* SCEDMA write client */252#define TEGRA194_MEMORY_CLIENT_SCEDMAW 0x9e253/* APEDMA read client */254#define TEGRA194_MEMORY_CLIENT_APEDMAR 0x9f255/* APEDMA write client */256#define TEGRA194_MEMORY_CLIENT_APEDMAW 0xa0257/* NVDISPLAY read client instance 2 */258#define TEGRA194_MEMORY_CLIENT_NVDISPLAYR1 0xa1259#define TEGRA194_MEMORY_CLIENT_VICSRD1 0xa2260#define TEGRA194_MEMORY_CLIENT_NVDECSRD1 0xa3261/* MSS internal memqual MIU0 read clients */262#define TEGRA194_MEMORY_CLIENT_MIU0R 0xa6263/* MSS internal memqual MIU0 write clients */264#define TEGRA194_MEMORY_CLIENT_MIU0W 0xa7265/* MSS internal memqual MIU1 read clients */266#define TEGRA194_MEMORY_CLIENT_MIU1R 0xa8267/* MSS internal memqual MIU1 write clients */268#define TEGRA194_MEMORY_CLIENT_MIU1W 0xa9269/* MSS internal memqual MIU2 read clients */270#define TEGRA194_MEMORY_CLIENT_MIU2R 0xae271/* MSS internal memqual MIU2 write clients */272#define TEGRA194_MEMORY_CLIENT_MIU2W 0xaf273/* MSS internal memqual MIU3 read clients */274#define TEGRA194_MEMORY_CLIENT_MIU3R 0xb0275/* MSS internal memqual MIU3 write clients */276#define TEGRA194_MEMORY_CLIENT_MIU3W 0xb1277/* MSS internal memqual MIU4 read clients */278#define TEGRA194_MEMORY_CLIENT_MIU4R 0xb2279/* MSS internal memqual MIU4 write clients */280#define TEGRA194_MEMORY_CLIENT_MIU4W 0xb3281#define TEGRA194_MEMORY_CLIENT_DPMUR 0xb4282#define TEGRA194_MEMORY_CLIENT_DPMUW 0xb5283#define TEGRA194_MEMORY_CLIENT_NVL0R 0xb6284#define TEGRA194_MEMORY_CLIENT_NVL0W 0xb7285#define TEGRA194_MEMORY_CLIENT_NVL1R 0xb8286#define TEGRA194_MEMORY_CLIENT_NVL1W 0xb9287#define TEGRA194_MEMORY_CLIENT_NVL2R 0xba288#define TEGRA194_MEMORY_CLIENT_NVL2W 0xbb289/* VI FLACON read clients */290#define TEGRA194_MEMORY_CLIENT_VIFALR 0xbc291/* VIFAL write clients */292#define TEGRA194_MEMORY_CLIENT_VIFALW 0xbd293/* DLA0ARDA read clients */294#define TEGRA194_MEMORY_CLIENT_DLA0RDA 0xbe295/* DLA0 Falcon read clients */296#define TEGRA194_MEMORY_CLIENT_DLA0FALRDB 0xbf297/* DLA0 write clients */298#define TEGRA194_MEMORY_CLIENT_DLA0WRA 0xc0299/* DLA0 write clients */300#define TEGRA194_MEMORY_CLIENT_DLA0FALWRB 0xc1301/* DLA1ARDA read clients */302#define TEGRA194_MEMORY_CLIENT_DLA1RDA 0xc2303/* DLA1 Falcon read clients */304#define TEGRA194_MEMORY_CLIENT_DLA1FALRDB 0xc3305/* DLA1 write clients */306#define TEGRA194_MEMORY_CLIENT_DLA1WRA 0xc4307/* DLA1 write clients */308#define TEGRA194_MEMORY_CLIENT_DLA1FALWRB 0xc5309/* PVA0RDA read clients */310#define TEGRA194_MEMORY_CLIENT_PVA0RDA 0xc6311/* PVA0RDB read clients */312#define TEGRA194_MEMORY_CLIENT_PVA0RDB 0xc7313/* PVA0RDC read clients */314#define TEGRA194_MEMORY_CLIENT_PVA0RDC 0xc8315/* PVA0WRA write clients */316#define TEGRA194_MEMORY_CLIENT_PVA0WRA 0xc9317/* PVA0WRB write clients */318#define TEGRA194_MEMORY_CLIENT_PVA0WRB 0xca319/* PVA0WRC write clients */320#define TEGRA194_MEMORY_CLIENT_PVA0WRC 0xcb321/* PVA1RDA read clients */322#define TEGRA194_MEMORY_CLIENT_PVA1RDA 0xcc323/* PVA1RDB read clients */324#define TEGRA194_MEMORY_CLIENT_PVA1RDB 0xcd325/* PVA1RDC read clients */326#define TEGRA194_MEMORY_CLIENT_PVA1RDC 0xce327/* PVA1WRA write clients */328#define TEGRA194_MEMORY_CLIENT_PVA1WRA 0xcf329/* PVA1WRB write clients */330#define TEGRA194_MEMORY_CLIENT_PVA1WRB 0xd0331/* PVA1WRC write clients */332#define TEGRA194_MEMORY_CLIENT_PVA1WRC 0xd1333/* RCE read client */334#define TEGRA194_MEMORY_CLIENT_RCER 0xd2335/* RCE write client */336#define TEGRA194_MEMORY_CLIENT_RCEW 0xd3337/* RCEDMA read client */338#define TEGRA194_MEMORY_CLIENT_RCEDMAR 0xd4339/* RCEDMA write client */340#define TEGRA194_MEMORY_CLIENT_RCEDMAW 0xd5341#define TEGRA194_MEMORY_CLIENT_NVENC1SRD 0xd6342#define TEGRA194_MEMORY_CLIENT_NVENC1SWR 0xd7343/* PCIE0 read clients */344#define TEGRA194_MEMORY_CLIENT_PCIE0R 0xd8345/* PCIE0 write clients */346#define TEGRA194_MEMORY_CLIENT_PCIE0W 0xd9347/* PCIE1 read clients */348#define TEGRA194_MEMORY_CLIENT_PCIE1R 0xda349/* PCIE1 write clients */350#define TEGRA194_MEMORY_CLIENT_PCIE1W 0xdb351/* PCIE2 read clients */352#define TEGRA194_MEMORY_CLIENT_PCIE2AR 0xdc353/* PCIE2 write clients */354#define TEGRA194_MEMORY_CLIENT_PCIE2AW 0xdd355/* PCIE3 read clients */356#define TEGRA194_MEMORY_CLIENT_PCIE3R 0xde357/* PCIE3 write clients */358#define TEGRA194_MEMORY_CLIENT_PCIE3W 0xdf359/* PCIE4 read clients */360#define TEGRA194_MEMORY_CLIENT_PCIE4R 0xe0361/* PCIE4 write clients */362#define TEGRA194_MEMORY_CLIENT_PCIE4W 0xe1363/* PCIE5 read clients */364#define TEGRA194_MEMORY_CLIENT_PCIE5R 0xe2365/* PCIE5 write clients */366#define TEGRA194_MEMORY_CLIENT_PCIE5W 0xe3367/* ISP read client 1 for Crossbar A */368#define TEGRA194_MEMORY_CLIENT_ISPFALW 0xe4369#define TEGRA194_MEMORY_CLIENT_NVL3R 0xe5370#define TEGRA194_MEMORY_CLIENT_NVL3W 0xe6371#define TEGRA194_MEMORY_CLIENT_NVL4R 0xe7372#define TEGRA194_MEMORY_CLIENT_NVL4W 0xe8373/* DLA0ARDA1 read clients */374#define TEGRA194_MEMORY_CLIENT_DLA0RDA1 0xe9375/* DLA1ARDA1 read clients */376#define TEGRA194_MEMORY_CLIENT_DLA1RDA1 0xea377/* PVA0RDA1 read clients */378#define TEGRA194_MEMORY_CLIENT_PVA0RDA1 0xeb379/* PVA0RDB1 read clients */380#define TEGRA194_MEMORY_CLIENT_PVA0RDB1 0xec381/* PVA1RDA1 read clients */382#define TEGRA194_MEMORY_CLIENT_PVA1RDA1 0xed383/* PVA1RDB1 read clients */384#define TEGRA194_MEMORY_CLIENT_PVA1RDB1 0xee385/* PCIE5r1 read clients */386#define TEGRA194_MEMORY_CLIENT_PCIE5R1 0xef387#define TEGRA194_MEMORY_CLIENT_NVENCSRD1 0xf0388#define TEGRA194_MEMORY_CLIENT_NVENC1SRD1 0xf1389/* ISP read client for Crossbar A */390#define TEGRA194_MEMORY_CLIENT_ISPRA1 0xf2391/* PCIE0 read clients */392#define TEGRA194_MEMORY_CLIENT_PCIE0R1 0xf3393#define TEGRA194_MEMORY_CLIENT_NVL0RHP 0xf4394#define TEGRA194_MEMORY_CLIENT_NVL1RHP 0xf5395#define TEGRA194_MEMORY_CLIENT_NVL2RHP 0xf6396#define TEGRA194_MEMORY_CLIENT_NVL3RHP 0xf7397#define TEGRA194_MEMORY_CLIENT_NVL4RHP 0xf8398#define TEGRA194_MEMORY_CLIENT_NVDEC1SRD 0xf9399#define TEGRA194_MEMORY_CLIENT_NVDEC1SRD1 0xfa400#define TEGRA194_MEMORY_CLIENT_NVDEC1SWR 0xfb401/* MSS internal memqual MIU5 read clients */402#define TEGRA194_MEMORY_CLIENT_MIU5R 0xfc403/* MSS internal memqual MIU5 write clients */404#define TEGRA194_MEMORY_CLIENT_MIU5W 0xfd405/* MSS internal memqual MIU6 read clients */406#define TEGRA194_MEMORY_CLIENT_MIU6R 0xfe407/* MSS internal memqual MIU6 write clients */408#define TEGRA194_MEMORY_CLIENT_MIU6W 0xff409 410#endif411