162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Realtek RTD1295 reset controllers 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (c) 2017 Andreas Färber 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci#ifndef DT_BINDINGS_RESET_RTD1295_H 862306a36Sopenharmony_ci#define DT_BINDINGS_RESET_RTD1295_H 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/* soft reset 1 */ 1162306a36Sopenharmony_ci#define RTD1295_RSTN_MISC 0 1262306a36Sopenharmony_ci#define RTD1295_RSTN_NAT 1 1362306a36Sopenharmony_ci#define RTD1295_RSTN_USB3_PHY0_POW 2 1462306a36Sopenharmony_ci#define RTD1295_RSTN_GSPI 3 1562306a36Sopenharmony_ci#define RTD1295_RSTN_USB3_P0_MDIO 4 1662306a36Sopenharmony_ci#define RTD1295_RSTN_SATA_0 5 1762306a36Sopenharmony_ci#define RTD1295_RSTN_USB 6 1862306a36Sopenharmony_ci#define RTD1295_RSTN_SATA_PHY_0 7 1962306a36Sopenharmony_ci#define RTD1295_RSTN_USB_PHY0 8 2062306a36Sopenharmony_ci#define RTD1295_RSTN_USB_PHY1 9 2162306a36Sopenharmony_ci#define RTD1295_RSTN_SATA_PHY_POW_0 10 2262306a36Sopenharmony_ci#define RTD1295_RSTN_SATA_FUNC_EXIST_0 11 2362306a36Sopenharmony_ci#define RTD1295_RSTN_HDMI 12 2462306a36Sopenharmony_ci#define RTD1295_RSTN_VE1 13 2562306a36Sopenharmony_ci#define RTD1295_RSTN_VE2 14 2662306a36Sopenharmony_ci#define RTD1295_RSTN_VE3 15 2762306a36Sopenharmony_ci#define RTD1295_RSTN_ETN 16 2862306a36Sopenharmony_ci#define RTD1295_RSTN_AIO 17 2962306a36Sopenharmony_ci#define RTD1295_RSTN_GPU 18 3062306a36Sopenharmony_ci#define RTD1295_RSTN_TVE 19 3162306a36Sopenharmony_ci#define RTD1295_RSTN_VO 20 3262306a36Sopenharmony_ci#define RTD1295_RSTN_LVDS 21 3362306a36Sopenharmony_ci#define RTD1295_RSTN_SE 22 3462306a36Sopenharmony_ci#define RTD1295_RSTN_DCU 23 3562306a36Sopenharmony_ci#define RTD1295_RSTN_DC_PHY 24 3662306a36Sopenharmony_ci#define RTD1295_RSTN_CP 25 3762306a36Sopenharmony_ci#define RTD1295_RSTN_MD 26 3862306a36Sopenharmony_ci#define RTD1295_RSTN_TP 27 3962306a36Sopenharmony_ci#define RTD1295_RSTN_AE 28 4062306a36Sopenharmony_ci#define RTD1295_RSTN_NF 29 4162306a36Sopenharmony_ci#define RTD1295_RSTN_MIPI 30 4262306a36Sopenharmony_ci#define RTD1295_RSTN_RSA 31 4362306a36Sopenharmony_ci 4462306a36Sopenharmony_ci/* soft reset 2 */ 4562306a36Sopenharmony_ci#define RTD1295_RSTN_ACPU 0 4662306a36Sopenharmony_ci#define RTD1295_RSTN_JPEG 1 4762306a36Sopenharmony_ci#define RTD1295_RSTN_USB_PHY3 2 4862306a36Sopenharmony_ci#define RTD1295_RSTN_USB_PHY2 3 4962306a36Sopenharmony_ci#define RTD1295_RSTN_USB3_PHY1_POW 4 5062306a36Sopenharmony_ci#define RTD1295_RSTN_USB3_P1_MDIO 5 5162306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE0_STITCH 6 5262306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE0_PHY 7 5362306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE0 8 5462306a36Sopenharmony_ci#define RTD1295_RSTN_PCR_CNT 9 5562306a36Sopenharmony_ci#define RTD1295_RSTN_CR 10 5662306a36Sopenharmony_ci#define RTD1295_RSTN_EMMC 11 5762306a36Sopenharmony_ci#define RTD1295_RSTN_SDIO 12 5862306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE0_CORE 13 5962306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE0_POWER 14 6062306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE0_NONSTICH 15 6162306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE1_PHY 16 6262306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE1 17 6362306a36Sopenharmony_ci#define RTD1295_RSTN_I2C_5 18 6462306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE1_STITCH 19 6562306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE1_CORE 20 6662306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE1_POWER 21 6762306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE1_NONSTICH 22 6862306a36Sopenharmony_ci#define RTD1295_RSTN_I2C_4 23 6962306a36Sopenharmony_ci#define RTD1295_RSTN_I2C_3 24 7062306a36Sopenharmony_ci#define RTD1295_RSTN_I2C_2 25 7162306a36Sopenharmony_ci#define RTD1295_RSTN_I2C_1 26 7262306a36Sopenharmony_ci#define RTD1295_RSTN_UR2 27 7362306a36Sopenharmony_ci#define RTD1295_RSTN_UR1 28 7462306a36Sopenharmony_ci#define RTD1295_RSTN_MISC_SC 29 7562306a36Sopenharmony_ci#define RTD1295_RSTN_CBUS_TX 30 7662306a36Sopenharmony_ci#define RTD1295_RSTN_SDS_PHY 31 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ci/* soft reset 3 */ 7962306a36Sopenharmony_ci#define RTD1295_RSTN_SB2 0 8062306a36Sopenharmony_ci 8162306a36Sopenharmony_ci/* soft reset 4 */ 8262306a36Sopenharmony_ci#define RTD1295_RSTN_DCPHY_CRT 0 8362306a36Sopenharmony_ci#define RTD1295_RSTN_DCPHY_ALERT_RX 1 8462306a36Sopenharmony_ci#define RTD1295_RSTN_DCPHY_PTR 2 8562306a36Sopenharmony_ci#define RTD1295_RSTN_DCPHY_LDO 3 8662306a36Sopenharmony_ci#define RTD1295_RSTN_DCPHY_SSC_DIG 4 8762306a36Sopenharmony_ci#define RTD1295_RSTN_HDMIRX 5 8862306a36Sopenharmony_ci#define RTD1295_RSTN_CBUSRX 6 8962306a36Sopenharmony_ci#define RTD1295_RSTN_SATA_PHY_POW_1 7 9062306a36Sopenharmony_ci#define RTD1295_RSTN_SATA_FUNC_EXIST_1 8 9162306a36Sopenharmony_ci#define RTD1295_RSTN_SATA_PHY_1 9 9262306a36Sopenharmony_ci#define RTD1295_RSTN_SATA_1 10 9362306a36Sopenharmony_ci#define RTD1295_RSTN_FAN 11 9462306a36Sopenharmony_ci#define RTD1295_RSTN_HDMIRX_WRAP 12 9562306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE0_PHY_MDIO 13 9662306a36Sopenharmony_ci#define RTD1295_RSTN_PCIE1_PHY_MDIO 14 9762306a36Sopenharmony_ci#define RTD1295_RSTN_DISP 15 9862306a36Sopenharmony_ci 9962306a36Sopenharmony_ci/* iso reset */ 10062306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_IR 1 10162306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_CEC0 2 10262306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_CEC1 3 10362306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_DP 4 10462306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_CBUSTX 5 10562306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_CBUSRX 6 10662306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_EFUSE 7 10762306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_UR0 8 10862306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_GMAC 9 10962306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_GPHY 10 11062306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_I2C_0 11 11162306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_I2C_1 12 11262306a36Sopenharmony_ci#define RTD1295_ISO_RSTN_CBUS 13 11362306a36Sopenharmony_ci 11462306a36Sopenharmony_ci#endif 115