xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/reset/pistachio-resets.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 */
2*c66ec88fSEmmanuel Vadot /*
3*c66ec88fSEmmanuel Vadot  * This header provides constants for the reset controller
4*c66ec88fSEmmanuel Vadot  * present in the Pistachio SoC
5*c66ec88fSEmmanuel Vadot  */
6*c66ec88fSEmmanuel Vadot 
7*c66ec88fSEmmanuel Vadot #ifndef _PISTACHIO_RESETS_H
8*c66ec88fSEmmanuel Vadot #define _PISTACHIO_RESETS_H
9*c66ec88fSEmmanuel Vadot 
10*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_I2C0		0
11*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_I2C1		1
12*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_I2C2		2
13*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_I2C3		3
14*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_I2S_IN		4
15*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_PRL_OUT		5
16*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_SPDIF_OUT	6
17*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_SPI		7
18*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_PWM_PDM		8
19*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_UART0		9
20*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_UART1		10
21*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_QSPI		11
22*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_MDC		12
23*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_SDHOST		13
24*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_ETHERNET	14
25*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_IR		15
26*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_HASH		16
27*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_TIMER		17
28*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_I2S_OUT		18
29*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_SPDIF_IN	19
30*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_EVT		20
31*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_USB_H		21
32*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_USB_PR		22
33*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_USB_PHY_PR	23
34*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_USB_PHY_PON	24
35*c66ec88fSEmmanuel Vadot #define PISTACHIO_RESET_MAX		24
36*c66ec88fSEmmanuel Vadot 
37*c66ec88fSEmmanuel Vadot #endif
38