18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * This header provides constants for the reset controller
48c2ecf20Sopenharmony_ci * present in the Pistachio SoC
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifndef _PISTACHIO_RESETS_H
88c2ecf20Sopenharmony_ci#define _PISTACHIO_RESETS_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_I2C0		0
118c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_I2C1		1
128c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_I2C2		2
138c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_I2C3		3
148c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_I2S_IN		4
158c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_PRL_OUT		5
168c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_SPDIF_OUT	6
178c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_SPI		7
188c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_PWM_PDM		8
198c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_UART0		9
208c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_UART1		10
218c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_QSPI		11
228c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_MDC		12
238c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_SDHOST		13
248c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_ETHERNET	14
258c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_IR		15
268c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_HASH		16
278c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_TIMER		17
288c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_I2S_OUT		18
298c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_SPDIF_IN	19
308c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_EVT		20
318c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_USB_H		21
328c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_USB_PR		22
338c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_USB_PHY_PR	23
348c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_USB_PHY_PON	24
358c2ecf20Sopenharmony_ci#define PISTACHIO_RESET_MAX		24
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci#endif
38