18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Realtek RTD1195 reset controllers
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (c) 2017 Andreas Färber
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci#ifndef DT_BINDINGS_RESET_RTD1195_H
88c2ecf20Sopenharmony_ci#define DT_BINDINGS_RESET_RTD1195_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci/* soft reset 1 */
118c2ecf20Sopenharmony_ci#define RTD1195_RSTN_MISC		0
128c2ecf20Sopenharmony_ci#define RTD1195_RSTN_RNG		1
138c2ecf20Sopenharmony_ci#define RTD1195_RSTN_USB3_POW		2
148c2ecf20Sopenharmony_ci#define RTD1195_RSTN_GSPI		3
158c2ecf20Sopenharmony_ci#define RTD1195_RSTN_USB3_P0_MDIO	4
168c2ecf20Sopenharmony_ci#define RTD1195_RSTN_VE_H265		5
178c2ecf20Sopenharmony_ci#define RTD1195_RSTN_USB		6
188c2ecf20Sopenharmony_ci#define RTD1195_RSTN_USB_PHY0		8
198c2ecf20Sopenharmony_ci#define RTD1195_RSTN_USB_PHY1		9
208c2ecf20Sopenharmony_ci#define RTD1195_RSTN_HDMIRX		11
218c2ecf20Sopenharmony_ci#define RTD1195_RSTN_HDMI		12
228c2ecf20Sopenharmony_ci#define RTD1195_RSTN_ETN		14
238c2ecf20Sopenharmony_ci#define RTD1195_RSTN_AIO		15
248c2ecf20Sopenharmony_ci#define RTD1195_RSTN_GPU		16
258c2ecf20Sopenharmony_ci#define RTD1195_RSTN_VE_H264		17
268c2ecf20Sopenharmony_ci#define RTD1195_RSTN_VE_JPEG		18
278c2ecf20Sopenharmony_ci#define RTD1195_RSTN_TVE		19
288c2ecf20Sopenharmony_ci#define RTD1195_RSTN_VO			20
298c2ecf20Sopenharmony_ci#define RTD1195_RSTN_LVDS		21
308c2ecf20Sopenharmony_ci#define RTD1195_RSTN_SE			22
318c2ecf20Sopenharmony_ci#define RTD1195_RSTN_DCU		23
328c2ecf20Sopenharmony_ci#define RTD1195_RSTN_DC_PHY		24
338c2ecf20Sopenharmony_ci#define RTD1195_RSTN_CP			25
348c2ecf20Sopenharmony_ci#define RTD1195_RSTN_MD			26
358c2ecf20Sopenharmony_ci#define RTD1195_RSTN_TP			27
368c2ecf20Sopenharmony_ci#define RTD1195_RSTN_AE			28
378c2ecf20Sopenharmony_ci#define RTD1195_RSTN_NF			29
388c2ecf20Sopenharmony_ci#define RTD1195_RSTN_MIPI		30
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci/* soft reset 2 */
418c2ecf20Sopenharmony_ci#define RTD1195_RSTN_ACPU		0
428c2ecf20Sopenharmony_ci#define RTD1195_RSTN_VCPU		1
438c2ecf20Sopenharmony_ci#define RTD1195_RSTN_PCR		9
448c2ecf20Sopenharmony_ci#define RTD1195_RSTN_CR			10
458c2ecf20Sopenharmony_ci#define RTD1195_RSTN_EMMC		11
468c2ecf20Sopenharmony_ci#define RTD1195_RSTN_SDIO		12
478c2ecf20Sopenharmony_ci#define RTD1195_RSTN_I2C_5		18
488c2ecf20Sopenharmony_ci#define RTD1195_RSTN_RTC		20
498c2ecf20Sopenharmony_ci#define RTD1195_RSTN_I2C_4		23
508c2ecf20Sopenharmony_ci#define RTD1195_RSTN_I2C_3		24
518c2ecf20Sopenharmony_ci#define RTD1195_RSTN_I2C_2		25
528c2ecf20Sopenharmony_ci#define RTD1195_RSTN_I2C_1		26
538c2ecf20Sopenharmony_ci#define RTD1195_RSTN_UR1		28
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci/* soft reset 3 */
568c2ecf20Sopenharmony_ci#define RTD1195_RSTN_SB2		0
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci/* iso soft reset */
598c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_VFD		0
608c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_IR		1
618c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_CEC0		2
628c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_CEC1		3
638c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_DP		4
648c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_CBUSTX		5
658c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_CBUSRX		6
668c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_EFUSE		7
678c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_UR0		8
688c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_GMAC		9
698c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_GPHY		10
708c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_I2C_0		11
718c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_I2C_6		12
728c2ecf20Sopenharmony_ci#define RTD1195_ISO_RSTN_CBUS		13
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ci#endif
75