162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Realtek RTD1195 reset controllers 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (c) 2017 Andreas Färber 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci#ifndef DT_BINDINGS_RESET_RTD1195_H 862306a36Sopenharmony_ci#define DT_BINDINGS_RESET_RTD1195_H 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/* soft reset 1 */ 1162306a36Sopenharmony_ci#define RTD1195_RSTN_MISC 0 1262306a36Sopenharmony_ci#define RTD1195_RSTN_RNG 1 1362306a36Sopenharmony_ci#define RTD1195_RSTN_USB3_POW 2 1462306a36Sopenharmony_ci#define RTD1195_RSTN_GSPI 3 1562306a36Sopenharmony_ci#define RTD1195_RSTN_USB3_P0_MDIO 4 1662306a36Sopenharmony_ci#define RTD1195_RSTN_VE_H265 5 1762306a36Sopenharmony_ci#define RTD1195_RSTN_USB 6 1862306a36Sopenharmony_ci#define RTD1195_RSTN_USB_PHY0 8 1962306a36Sopenharmony_ci#define RTD1195_RSTN_USB_PHY1 9 2062306a36Sopenharmony_ci#define RTD1195_RSTN_HDMIRX 11 2162306a36Sopenharmony_ci#define RTD1195_RSTN_HDMI 12 2262306a36Sopenharmony_ci#define RTD1195_RSTN_ETN 14 2362306a36Sopenharmony_ci#define RTD1195_RSTN_AIO 15 2462306a36Sopenharmony_ci#define RTD1195_RSTN_GPU 16 2562306a36Sopenharmony_ci#define RTD1195_RSTN_VE_H264 17 2662306a36Sopenharmony_ci#define RTD1195_RSTN_VE_JPEG 18 2762306a36Sopenharmony_ci#define RTD1195_RSTN_TVE 19 2862306a36Sopenharmony_ci#define RTD1195_RSTN_VO 20 2962306a36Sopenharmony_ci#define RTD1195_RSTN_LVDS 21 3062306a36Sopenharmony_ci#define RTD1195_RSTN_SE 22 3162306a36Sopenharmony_ci#define RTD1195_RSTN_DCU 23 3262306a36Sopenharmony_ci#define RTD1195_RSTN_DC_PHY 24 3362306a36Sopenharmony_ci#define RTD1195_RSTN_CP 25 3462306a36Sopenharmony_ci#define RTD1195_RSTN_MD 26 3562306a36Sopenharmony_ci#define RTD1195_RSTN_TP 27 3662306a36Sopenharmony_ci#define RTD1195_RSTN_AE 28 3762306a36Sopenharmony_ci#define RTD1195_RSTN_NF 29 3862306a36Sopenharmony_ci#define RTD1195_RSTN_MIPI 30 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci/* soft reset 2 */ 4162306a36Sopenharmony_ci#define RTD1195_RSTN_ACPU 0 4262306a36Sopenharmony_ci#define RTD1195_RSTN_VCPU 1 4362306a36Sopenharmony_ci#define RTD1195_RSTN_PCR 9 4462306a36Sopenharmony_ci#define RTD1195_RSTN_CR 10 4562306a36Sopenharmony_ci#define RTD1195_RSTN_EMMC 11 4662306a36Sopenharmony_ci#define RTD1195_RSTN_SDIO 12 4762306a36Sopenharmony_ci#define RTD1195_RSTN_I2C_5 18 4862306a36Sopenharmony_ci#define RTD1195_RSTN_RTC 20 4962306a36Sopenharmony_ci#define RTD1195_RSTN_I2C_4 23 5062306a36Sopenharmony_ci#define RTD1195_RSTN_I2C_3 24 5162306a36Sopenharmony_ci#define RTD1195_RSTN_I2C_2 25 5262306a36Sopenharmony_ci#define RTD1195_RSTN_I2C_1 26 5362306a36Sopenharmony_ci#define RTD1195_RSTN_UR1 28 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci/* soft reset 3 */ 5662306a36Sopenharmony_ci#define RTD1195_RSTN_SB2 0 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ci/* iso soft reset */ 5962306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_VFD 0 6062306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_IR 1 6162306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_CEC0 2 6262306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_CEC1 3 6362306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_DP 4 6462306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_CBUSTX 5 6562306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_CBUSRX 6 6662306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_EFUSE 7 6762306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_UR0 8 6862306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_GMAC 9 6962306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_GPHY 10 7062306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_I2C_0 11 7162306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_I2C_6 12 7262306a36Sopenharmony_ci#define RTD1195_ISO_RSTN_CBUS 13 7362306a36Sopenharmony_ci 7462306a36Sopenharmony_ci#endif 75