Files
linux-nv-oot/include/dt-bindings/reset/tegra234-reset-oot.h
Akhil R ad95189d09 arm64: tegra: Add dt-binding header files
Add clock, reset and stream-id header files and include them in
the overlay dts.

Signed-off-by: Akhil R <akhilrajeev@nvidia.com>
Change-Id: I1835cff21c34b143e58ead405af7f64bd9a6cb89
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2763002
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-08-29 05:11:55 -07:00

143 lines
5.1 KiB
C

/*
* Copyright (c) 2018-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this software and related documentation without an express
* license agreement from NVIDIA CORPORATION is strictly prohibited.
*/
#ifndef DT_BINDINGS_RESET_TEGRA234_RESET_OOT_H
#define DT_BINDINGS_RESET_TEGRA234_RESET_OOT_H
/**
* @file
* @defgroup bpmp_reset_ids Reset ID's
* @brief Identifiers for Resets controllable by firmware
* @{
*/
#define TEGRA234_RESET_ACTMON 1U
#define TEGRA234_RESET_ADSP_ALL 2U
#define TEGRA234_RESET_DSI_CORE 3U
#define TEGRA234_RESET_CAN1 4U
#define TEGRA234_RESET_CAN2 5U
#define TEGRA234_RESET_DLA0 6U
#define TEGRA234_RESET_DLA1 7U
#define TEGRA234_RESET_DPAUX 8U
#define TEGRA234_RESET_OFA 9U
#define TEGRA234_RESET_NVJPG1 10U
#define TEGRA234_RESET_NVDISPLAY 16U
#define TEGRA234_RESET_EQOS 17U
#define TEGRA234_RESET_GPCDMA 18U
#define TEGRA234_RESET_GPU 19U
#define TEGRA234_RESET_EQOS_MACSEC 22U
#define TEGRA234_RESET_EQOS_MACSEC_SECURE 23U
#define TEGRA234_RESET_ISP 36U
#define TEGRA234_RESET_MIPI_CAL 37U
#define TEGRA234_RESET_MPHY_CLK_CTL 38U
#define TEGRA234_RESET_MPHY_L0_RX 39U
#define TEGRA234_RESET_MPHY_L0_TX 40U
#define TEGRA234_RESET_MPHY_L1_RX 41U
#define TEGRA234_RESET_MPHY_L1_TX 42U
#define TEGRA234_RESET_NVCSI 43U
#define TEGRA234_RESET_NVDEC 44U
#define TEGRA234_RESET_MGBE0_MACSEC 47U
#define TEGRA234_RESET_MGBE0_MACSEC_SECURE 48U
#define TEGRA234_RESET_MGBE1_MACSEC 51U
#define TEGRA234_RESET_MGBE1_MACSEC_SECURE 52U
#define TEGRA234_RESET_MGBE2_MACSEC 55U
#define TEGRA234_RESET_NVENC 59U
#define TEGRA234_RESET_MGBE2_MACSEC_SECURE 60U
#define TEGRA234_RESET_NVJPG 61U
/* RESERVED 62:63 */
#define TEGRA234_RESET_LA 64U
#define TEGRA234_RESET_HWPM 65U
#define TEGRA234_RESET_PVA0_ALL 66U
#define TEGRA234_RESET_CEC 67U
#define TEGRA234_RESET_I2S7 78U
#define TEGRA234_RESET_I2S8 79U
#define TEGRA234_RESET_SCE_ALL 80U
#define TEGRA234_RESET_RCE_ALL 81U
#define TEGRA234_RESET_SDMMC1 82U
#define TEGRA234_RESET_RSVD_83 83U
#define TEGRA234_RESET_RSVD_84 84U
/* RESERVED 86 */
#define TEGRA234_RESET_MGBE3_MACSEC 89U
#define TEGRA234_RESET_MGBE3_MACSEC_SECURE 90U
#define TEGRA234_RESET_SPI1 91U
#define TEGRA234_RESET_SPI2 92U
#define TEGRA234_RESET_SPI3 93U
#define TEGRA234_RESET_SPI4 94U
#define TEGRA234_RESET_TACH0 95U
#define TEGRA234_RESET_TACH1 96U
#define TEGRA234_RESET_SPI5 97U
#define TEGRA234_RESET_TSEC 98U
#define TEGRA234_RESET_UARTI 99U
#define TEGRA234_RESET_UARTB 101U
#define TEGRA234_RESET_UARTC 102U
#define TEGRA234_RESET_UARTD 103U
#define TEGRA234_RESET_UARTE 104U
#define TEGRA234_RESET_UARTF 105U
#define TEGRA234_RESET_UARTJ 106U
#define TEGRA234_RESET_UARTH 107U
#define TEGRA234_RESET_UFSHC 108U
#define TEGRA234_RESET_UFSHC_AXI_M 109U
#define TEGRA234_RESET_UFSHC_LP_SEQ 110U
#define TEGRA234_RESET_RSVD_111 111U
#define TEGRA234_RESET_VI 112U
#define TEGRA234_RESET_XUSB_PADCTL 114U
#define TEGRA234_RESET_VI2 115U
#define TEGRA234_RESET_RSVD_127 127U
#define TEGRA234_RESET_NVHS_UPHY_PLL1 128U
#define TEGRA234_RESET_GBE_UPHY 131U
#define TEGRA234_RESET_GBE_UPHY_PM 132U
#define TEGRA234_RESET_NVHS_UPHY 133U
#define TEGRA234_RESET_NVHS_UPHY_PLL0 134U
#define TEGRA234_RESET_NVHS_UPHY_L0 135U
#define TEGRA234_RESET_NVHS_UPHY_L1 136U
#define TEGRA234_RESET_NVHS_UPHY_L2 137U
#define TEGRA234_RESET_NVHS_UPHY_L3 138U
#define TEGRA234_RESET_NVHS_UPHY_L4 139U
#define TEGRA234_RESET_NVHS_UPHY_L5 140U
#define TEGRA234_RESET_NVHS_UPHY_L6 141U
#define TEGRA234_RESET_NVHS_UPHY_L7 142U
#define TEGRA234_RESET_NVHS_UPHY_PM 143U
#define TEGRA234_RESET_DMIC5 144U
#define TEGRA234_RESET_APE 145U
#define TEGRA234_RESET_PEX_USB_UPHY 146U
#define TEGRA234_RESET_PEX_USB_UPHY_L0 147U
#define TEGRA234_RESET_PEX_USB_UPHY_L1 148U
#define TEGRA234_RESET_PEX_USB_UPHY_L2 149U
#define TEGRA234_RESET_PEX_USB_UPHY_L3 150U
#define TEGRA234_RESET_PEX_USB_UPHY_L4 151U
#define TEGRA234_RESET_PEX_USB_UPHY_L5 152U
#define TEGRA234_RESET_PEX_USB_UPHY_L6 153U
#define TEGRA234_RESET_PEX_USB_UPHY_L7 154U
#define TEGRA234_RESET_PEX_USB_UPHY_PLL0 159U
#define TEGRA234_RESET_PEX_USB_UPHY_PLL1 160U
#define TEGRA234_RESET_PEX_USB_UPHY_PLL2 161U
#define TEGRA234_RESET_PEX_USB_UPHY_PLL3 162U
#define TEGRA234_RESET_GBE_UPHY_L0 163U
#define TEGRA234_RESET_GBE_UPHY_L1 164U
#define TEGRA234_RESET_GBE_UPHY_L2 165U
#define TEGRA234_RESET_GBE_UPHY_L3 166U
#define TEGRA234_RESET_GBE_UPHY_L4 167U
#define TEGRA234_RESET_GBE_UPHY_L5 168U
#define TEGRA234_RESET_GBE_UPHY_L6 169U
#define TEGRA234_RESET_GBE_UPHY_L7 170U
#define TEGRA234_RESET_GBE_UPHY_PLL0 171U
#define TEGRA234_RESET_GBE_UPHY_PLL1 172U
#define TEGRA234_RESET_GBE_UPHY_PLL2 173U
#define TEGRA234_MAX_PUBLIC_RESET_ID 173U
/** @} */
/* FIXME: remove these dummies */
#define TEGRA234_RESET_PCIE 0U
#define TEGRA234_RESET_PCIEXCLK 0U
#define TEGRA234_RESET_SE 0U
#endif