xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/amlogic,meson-g12a-audio-reset.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * Copyright (c) 2019 BayLibre, SAS.
4*c66ec88fSEmmanuel Vadot  * Author: Jerome Brunet <jbrunet@baylibre.com>
5*c66ec88fSEmmanuel Vadot  *
6*c66ec88fSEmmanuel Vadot  */
7*c66ec88fSEmmanuel Vadot 
8*c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_AMLOGIC_MESON_G12A_AUDIO_RESET_H
9*c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_AMLOGIC_MESON_G12A_AUDIO_RESET_H
10*c66ec88fSEmmanuel Vadot 
11*c66ec88fSEmmanuel Vadot #define AUD_RESET_PDM		0
12*c66ec88fSEmmanuel Vadot #define AUD_RESET_TDMIN_A	1
13*c66ec88fSEmmanuel Vadot #define AUD_RESET_TDMIN_B	2
14*c66ec88fSEmmanuel Vadot #define AUD_RESET_TDMIN_C	3
15*c66ec88fSEmmanuel Vadot #define AUD_RESET_TDMIN_LB	4
16*c66ec88fSEmmanuel Vadot #define AUD_RESET_LOOPBACK	5
17*c66ec88fSEmmanuel Vadot #define AUD_RESET_TODDR_A	6
18*c66ec88fSEmmanuel Vadot #define AUD_RESET_TODDR_B	7
19*c66ec88fSEmmanuel Vadot #define AUD_RESET_TODDR_C	8
20*c66ec88fSEmmanuel Vadot #define AUD_RESET_FRDDR_A	9
21*c66ec88fSEmmanuel Vadot #define AUD_RESET_FRDDR_B	10
22*c66ec88fSEmmanuel Vadot #define AUD_RESET_FRDDR_C	11
23*c66ec88fSEmmanuel Vadot #define AUD_RESET_TDMOUT_A	12
24*c66ec88fSEmmanuel Vadot #define AUD_RESET_TDMOUT_B	13
25*c66ec88fSEmmanuel Vadot #define AUD_RESET_TDMOUT_C	14
26*c66ec88fSEmmanuel Vadot #define AUD_RESET_SPDIFOUT	15
27*c66ec88fSEmmanuel Vadot #define AUD_RESET_SPDIFOUT_B	16
28*c66ec88fSEmmanuel Vadot #define AUD_RESET_SPDIFIN	17
29*c66ec88fSEmmanuel Vadot #define AUD_RESET_EQDRC		18
30*c66ec88fSEmmanuel Vadot #define AUD_RESET_RESAMPLE	19
31*c66ec88fSEmmanuel Vadot #define AUD_RESET_DDRARB	20
32*c66ec88fSEmmanuel Vadot #define AUD_RESET_POWDET	21
33*c66ec88fSEmmanuel Vadot #define AUD_RESET_TORAM		22
34*c66ec88fSEmmanuel Vadot #define AUD_RESET_TOACODEC	23
35*c66ec88fSEmmanuel Vadot #define AUD_RESET_TOHDMITX	24
36*c66ec88fSEmmanuel Vadot #define AUD_RESET_CLKTREE	25
37*c66ec88fSEmmanuel Vadot 
38*c66ec88fSEmmanuel Vadot /* SM1 added resets */
39*c66ec88fSEmmanuel Vadot #define AUD_RESET_RESAMPLE_B	26
40*c66ec88fSEmmanuel Vadot #define AUD_RESET_TOVAD		27
41*c66ec88fSEmmanuel Vadot #define AUD_RESET_LOCKER	28
42*c66ec88fSEmmanuel Vadot #define AUD_RESET_SPDIFIN_LB	29
43*c66ec88fSEmmanuel Vadot #define AUD_RESET_FRATV		30
44*c66ec88fSEmmanuel Vadot #define AUD_RESET_FRHDMIRX	31
45*c66ec88fSEmmanuel Vadot #define AUD_RESET_FRDDR_D	32
46*c66ec88fSEmmanuel Vadot #define AUD_RESET_TODDR_D	33
47*c66ec88fSEmmanuel Vadot #define AUD_RESET_LOOPBACK_B	34
48*c66ec88fSEmmanuel Vadot #define AUD_RESET_EARCTX	35
49*c66ec88fSEmmanuel Vadot #define AUD_RESET_EARCRX	36
50*c66ec88fSEmmanuel Vadot #define AUD_RESET_FRDDR_E	37
51*c66ec88fSEmmanuel Vadot #define AUD_RESET_TODDR_E	38
52*c66ec88fSEmmanuel Vadot 
53*c66ec88fSEmmanuel Vadot #endif
54