Home | History | Annotate | Line # | Download | only in memory
      1      1.1  jmcneill /*	$NetBSD: tegra124-mc.h,v 1.1.1.4 2021/11/07 16:49:56 jmcneill Exp $	*/
      2      1.1  jmcneill 
      3  1.1.1.2  jmcneill /* SPDX-License-Identifier: GPL-2.0 */
      4      1.1  jmcneill #ifndef DT_BINDINGS_MEMORY_TEGRA124_MC_H
      5      1.1  jmcneill #define DT_BINDINGS_MEMORY_TEGRA124_MC_H
      6      1.1  jmcneill 
      7      1.1  jmcneill #define TEGRA_SWGROUP_PTC	0
      8      1.1  jmcneill #define TEGRA_SWGROUP_DC	1
      9      1.1  jmcneill #define TEGRA_SWGROUP_DCB	2
     10      1.1  jmcneill #define TEGRA_SWGROUP_AFI	3
     11      1.1  jmcneill #define TEGRA_SWGROUP_AVPC	4
     12      1.1  jmcneill #define TEGRA_SWGROUP_HDA	5
     13      1.1  jmcneill #define TEGRA_SWGROUP_HC	6
     14      1.1  jmcneill #define TEGRA_SWGROUP_MSENC	7
     15      1.1  jmcneill #define TEGRA_SWGROUP_PPCS	8
     16      1.1  jmcneill #define TEGRA_SWGROUP_SATA	9
     17      1.1  jmcneill #define TEGRA_SWGROUP_VDE	10
     18      1.1  jmcneill #define TEGRA_SWGROUP_MPCORELP	11
     19      1.1  jmcneill #define TEGRA_SWGROUP_MPCORE	12
     20      1.1  jmcneill #define TEGRA_SWGROUP_ISP2	13
     21      1.1  jmcneill #define TEGRA_SWGROUP_XUSB_HOST	14
     22      1.1  jmcneill #define TEGRA_SWGROUP_XUSB_DEV	15
     23      1.1  jmcneill #define TEGRA_SWGROUP_ISP2B	16
     24      1.1  jmcneill #define TEGRA_SWGROUP_TSEC	17
     25      1.1  jmcneill #define TEGRA_SWGROUP_A9AVP	18
     26      1.1  jmcneill #define TEGRA_SWGROUP_GPU	19
     27      1.1  jmcneill #define TEGRA_SWGROUP_SDMMC1A	20
     28      1.1  jmcneill #define TEGRA_SWGROUP_SDMMC2A	21
     29      1.1  jmcneill #define TEGRA_SWGROUP_SDMMC3A	22
     30      1.1  jmcneill #define TEGRA_SWGROUP_SDMMC4A	23
     31      1.1  jmcneill #define TEGRA_SWGROUP_VIC	24
     32      1.1  jmcneill #define TEGRA_SWGROUP_VI	25
     33      1.1  jmcneill 
     34  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_AFI		0
     35  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_AVPC		1
     36  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_DC		2
     37  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_DCB		3
     38  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_HC		4
     39  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_HDA		5
     40  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_ISP2		6
     41  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_MPCORE	7
     42  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_MPCORELP	8
     43  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_MSENC		9
     44  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_PPCS		10
     45  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_SATA		11
     46  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_VDE		12
     47  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_VI		13
     48  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_VIC		14
     49  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_XUSB_HOST	15
     50  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_XUSB_DEV	16
     51  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_TSEC		17
     52  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_SDMMC1	18
     53  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_SDMMC2	19
     54  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_SDMMC3	20
     55  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_SDMMC4	21
     56  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_ISP2B		22
     57  1.1.1.3  jmcneill #define TEGRA124_MC_RESET_GPU		23
     58  1.1.1.3  jmcneill 
     59  1.1.1.4  jmcneill #define TEGRA124_MC_PTCR		0
     60  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAY0A		1
     61  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAY0AB		2
     62  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAY0B		3
     63  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAY0BB		4
     64  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAY0C		5
     65  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAY0CB		6
     66  1.1.1.4  jmcneill #define TEGRA124_MC_AFIR		14
     67  1.1.1.4  jmcneill #define TEGRA124_MC_AVPCARM7R		15
     68  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAYHC		16
     69  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAYHCB		17
     70  1.1.1.4  jmcneill #define TEGRA124_MC_HDAR		21
     71  1.1.1.4  jmcneill #define TEGRA124_MC_HOST1XDMAR		22
     72  1.1.1.4  jmcneill #define TEGRA124_MC_HOST1XR		23
     73  1.1.1.4  jmcneill #define TEGRA124_MC_MSENCSRD		28
     74  1.1.1.4  jmcneill #define TEGRA124_MC_PPCSAHBDMAR		29
     75  1.1.1.4  jmcneill #define TEGRA124_MC_PPCSAHBSLVR		30
     76  1.1.1.4  jmcneill #define TEGRA124_MC_SATAR		31
     77  1.1.1.4  jmcneill #define TEGRA124_MC_VDEBSEVR		34
     78  1.1.1.4  jmcneill #define TEGRA124_MC_VDEMBER		35
     79  1.1.1.4  jmcneill #define TEGRA124_MC_VDEMCER		36
     80  1.1.1.4  jmcneill #define TEGRA124_MC_VDETPER		37
     81  1.1.1.4  jmcneill #define TEGRA124_MC_MPCORELPR		38
     82  1.1.1.4  jmcneill #define TEGRA124_MC_MPCORER		39
     83  1.1.1.4  jmcneill #define TEGRA124_MC_MSENCSWR		43
     84  1.1.1.4  jmcneill #define TEGRA124_MC_AFIW		49
     85  1.1.1.4  jmcneill #define TEGRA124_MC_AVPCARM7W		50
     86  1.1.1.4  jmcneill #define TEGRA124_MC_HDAW		53
     87  1.1.1.4  jmcneill #define TEGRA124_MC_HOST1XW		54
     88  1.1.1.4  jmcneill #define TEGRA124_MC_MPCORELPW		56
     89  1.1.1.4  jmcneill #define TEGRA124_MC_MPCOREW		57
     90  1.1.1.4  jmcneill #define TEGRA124_MC_PPCSAHBDMAW		59
     91  1.1.1.4  jmcneill #define TEGRA124_MC_PPCSAHBSLVW		60
     92  1.1.1.4  jmcneill #define TEGRA124_MC_SATAW		61
     93  1.1.1.4  jmcneill #define TEGRA124_MC_VDEBSEVW		62
     94  1.1.1.4  jmcneill #define TEGRA124_MC_VDEDBGW		63
     95  1.1.1.4  jmcneill #define TEGRA124_MC_VDEMBEW		64
     96  1.1.1.4  jmcneill #define TEGRA124_MC_VDETPMW		65
     97  1.1.1.4  jmcneill #define TEGRA124_MC_ISPRA		68
     98  1.1.1.4  jmcneill #define TEGRA124_MC_ISPWA		70
     99  1.1.1.4  jmcneill #define TEGRA124_MC_ISPWB		71
    100  1.1.1.4  jmcneill #define TEGRA124_MC_XUSB_HOSTR		74
    101  1.1.1.4  jmcneill #define TEGRA124_MC_XUSB_HOSTW		75
    102  1.1.1.4  jmcneill #define TEGRA124_MC_XUSB_DEVR		76
    103  1.1.1.4  jmcneill #define TEGRA124_MC_XUSB_DEVW		77
    104  1.1.1.4  jmcneill #define TEGRA124_MC_ISPRAB		78
    105  1.1.1.4  jmcneill #define TEGRA124_MC_ISPWAB		80
    106  1.1.1.4  jmcneill #define TEGRA124_MC_ISPWBB		81
    107  1.1.1.4  jmcneill #define TEGRA124_MC_TSECSRD		84
    108  1.1.1.4  jmcneill #define TEGRA124_MC_TSECSWR		85
    109  1.1.1.4  jmcneill #define TEGRA124_MC_A9AVPSCR		86
    110  1.1.1.4  jmcneill #define TEGRA124_MC_A9AVPSCW		87
    111  1.1.1.4  jmcneill #define TEGRA124_MC_GPUSRD		88
    112  1.1.1.4  jmcneill #define TEGRA124_MC_GPUSWR		89
    113  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAYT		90
    114  1.1.1.4  jmcneill #define TEGRA124_MC_SDMMCRA		96
    115  1.1.1.4  jmcneill #define TEGRA124_MC_SDMMCRAA		97
    116  1.1.1.4  jmcneill #define TEGRA124_MC_SDMMCR		98
    117  1.1.1.4  jmcneill #define TEGRA124_MC_SDMMCRAB		99
    118  1.1.1.4  jmcneill #define TEGRA124_MC_SDMMCWA		100
    119  1.1.1.4  jmcneill #define TEGRA124_MC_SDMMCWAA		101
    120  1.1.1.4  jmcneill #define TEGRA124_MC_SDMMCW		102
    121  1.1.1.4  jmcneill #define TEGRA124_MC_SDMMCWAB		103
    122  1.1.1.4  jmcneill #define TEGRA124_MC_VICSRD		108
    123  1.1.1.4  jmcneill #define TEGRA124_MC_VICSWR		109
    124  1.1.1.4  jmcneill #define TEGRA124_MC_VIW			114
    125  1.1.1.4  jmcneill #define TEGRA124_MC_DISPLAYD		115
    126  1.1.1.4  jmcneill 
    127      1.1  jmcneill #endif
    128