mirror of
git://nv-tegra.nvidia.com/device/hardware/nvidia/t23x-public-dts.git
synced 2025-12-22 09:12:02 +03:00
include: dt-bindings: Sync required header from kernel v6.3-rc5
Sync the DT binding headers for tegra234 which are required for SOC and platform DTS/DTSI from kernel V6.3-rc5. Bug 4078385 Change-Id: I96ee533ae752879ca8a3f06a732180c631cce228 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
This commit is contained in:
903
include/kernel/dt-bindings/clock/tegra234-clock.h
Normal file
903
include/kernel/dt-bindings/clock/tegra234-clock.h
Normal file
@@ -0,0 +1,903 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. */
|
||||||
|
|
||||||
|
#ifndef DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H
|
||||||
|
#define DT_BINDINGS_CLOCK_TEGRA234_CLOCK_H
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @file
|
||||||
|
* @defgroup bpmp_clock_ids Clock ID's
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_ACTMON */
|
||||||
|
#define TEGRA234_CLK_ACTMON 1U
|
||||||
|
/** @brief output of gate CLK_ENB_ADSP */
|
||||||
|
#define TEGRA234_CLK_ADSP 2U
|
||||||
|
/** @brief output of gate CLK_ENB_ADSPNEON */
|
||||||
|
#define TEGRA234_CLK_ADSPNEON 3U
|
||||||
|
/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AHUB */
|
||||||
|
#define TEGRA234_CLK_AHUB 4U
|
||||||
|
/** @brief output of gate CLK_ENB_APB2APE */
|
||||||
|
#define TEGRA234_CLK_APB2APE 5U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_APE */
|
||||||
|
#define TEGRA234_CLK_APE 6U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AUD_MCLK */
|
||||||
|
#define TEGRA234_CLK_AUD_MCLK 7U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AXI_CBB */
|
||||||
|
#define TEGRA234_CLK_AXI_CBB 8U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_CAN1 */
|
||||||
|
#define TEGRA234_CLK_CAN1 9U
|
||||||
|
/** @brief output of gate CLK_ENB_CAN1_HOST */
|
||||||
|
#define TEGRA234_CLK_CAN1_HOST 10U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_CAN2 */
|
||||||
|
#define TEGRA234_CLK_CAN2 11U
|
||||||
|
/** @brief output of gate CLK_ENB_CAN2_HOST */
|
||||||
|
#define TEGRA234_CLK_CAN2_HOST 12U
|
||||||
|
/** @brief output of divider CLK_RST_CONTROLLER_CLK_M_DIVIDE */
|
||||||
|
#define TEGRA234_CLK_CLK_M 14U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC1 */
|
||||||
|
#define TEGRA234_CLK_DMIC1 15U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC2 */
|
||||||
|
#define TEGRA234_CLK_DMIC2 16U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC3 */
|
||||||
|
#define TEGRA234_CLK_DMIC3 17U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC4 */
|
||||||
|
#define TEGRA234_CLK_DMIC4 18U
|
||||||
|
/** @brief output of gate CLK_ENB_DPAUX */
|
||||||
|
#define TEGRA234_CLK_DPAUX 19U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVJPG1 */
|
||||||
|
#define TEGRA234_CLK_NVJPG1 20U
|
||||||
|
/**
|
||||||
|
* @brief output of mux controlled by CLK_RST_CONTROLLER_ACLK_BURST_POLICY
|
||||||
|
* divided by the divider controlled by ACLK_CLK_DIVISOR in
|
||||||
|
* CLK_RST_CONTROLLER_SUPER_ACLK_DIVIDER
|
||||||
|
*/
|
||||||
|
#define TEGRA234_CLK_ACLK 21U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_MSS_ENCRYPT switch divider output */
|
||||||
|
#define TEGRA234_CLK_MSS_ENCRYPT 22U
|
||||||
|
/** @brief clock recovered from EAVB input */
|
||||||
|
#define TEGRA234_CLK_EQOS_RX_INPUT 23U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_AON_APB switch divider output */
|
||||||
|
#define TEGRA234_CLK_AON_APB 25U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_AON_NIC_RATE divider output */
|
||||||
|
#define TEGRA234_CLK_AON_NIC 26U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_AON_CPU_NIC switch divider output */
|
||||||
|
#define TEGRA234_CLK_AON_CPU_NIC 27U
|
||||||
|
/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLA1_BASE for use by audio clocks */
|
||||||
|
#define TEGRA234_CLK_PLLA1 28U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DSPK1 */
|
||||||
|
#define TEGRA234_CLK_DSPK1 29U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DSPK2 */
|
||||||
|
#define TEGRA234_CLK_DSPK2 30U
|
||||||
|
/**
|
||||||
|
* @brief controls the EMC clock frequency.
|
||||||
|
* @details Doing a clk_set_rate on this clock will select the
|
||||||
|
* appropriate clock source, program the source rate and execute a
|
||||||
|
* specific sequence to switch to the new clock source for both memory
|
||||||
|
* controllers. This can be used to control the balance between memory
|
||||||
|
* throughput and memory controller power.
|
||||||
|
*/
|
||||||
|
#define TEGRA234_CLK_EMC 31U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_AXI_CLK_0 divider gated output */
|
||||||
|
#define TEGRA234_CLK_EQOS_AXI 32U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_PTP_REF_CLK_0 divider gated output */
|
||||||
|
#define TEGRA234_CLK_EQOS_PTP_REF 33U
|
||||||
|
/** @brief output of gate CLK_ENB_EQOS_RX */
|
||||||
|
#define TEGRA234_CLK_EQOS_RX 34U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_TX_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_EQOS_TX 35U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EXTPERIPH1 */
|
||||||
|
#define TEGRA234_CLK_EXTPERIPH1 36U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EXTPERIPH2 */
|
||||||
|
#define TEGRA234_CLK_EXTPERIPH2 37U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EXTPERIPH3 */
|
||||||
|
#define TEGRA234_CLK_EXTPERIPH3 38U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EXTPERIPH4 */
|
||||||
|
#define TEGRA234_CLK_EXTPERIPH4 39U
|
||||||
|
/** @brief output of gate CLK_ENB_FUSE */
|
||||||
|
#define TEGRA234_CLK_FUSE 40U
|
||||||
|
/** @brief output of GPU GPC0 clkGen (in 1x mode same rate as GPC0 MUX2 out) */
|
||||||
|
#define TEGRA234_CLK_GPC0CLK 41U
|
||||||
|
/** @brief TODO */
|
||||||
|
#define TEGRA234_CLK_GPU_PWR 42U
|
||||||
|
/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_HDA2CODEC_2X */
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_HOST1X */
|
||||||
|
#define TEGRA234_CLK_HOST1X 46U
|
||||||
|
/** @brief xusb_hs_hsicp_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_HS_HSICP 47U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C1 */
|
||||||
|
#define TEGRA234_CLK_I2C1 48U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C2 */
|
||||||
|
#define TEGRA234_CLK_I2C2 49U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C3 */
|
||||||
|
#define TEGRA234_CLK_I2C3 50U
|
||||||
|
/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C4 */
|
||||||
|
#define TEGRA234_CLK_I2C4 51U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C6 */
|
||||||
|
#define TEGRA234_CLK_I2C6 52U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C7 */
|
||||||
|
#define TEGRA234_CLK_I2C7 53U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C8 */
|
||||||
|
#define TEGRA234_CLK_I2C8 54U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C9 */
|
||||||
|
#define TEGRA234_CLK_I2C9 55U
|
||||||
|
/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S1 */
|
||||||
|
#define TEGRA234_CLK_I2S1 56U
|
||||||
|
/** @brief clock recovered from I2S1 input */
|
||||||
|
#define TEGRA234_CLK_I2S1_SYNC_INPUT 57U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S2 */
|
||||||
|
#define TEGRA234_CLK_I2S2 58U
|
||||||
|
/** @brief clock recovered from I2S2 input */
|
||||||
|
#define TEGRA234_CLK_I2S2_SYNC_INPUT 59U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S3 */
|
||||||
|
#define TEGRA234_CLK_I2S3 60U
|
||||||
|
/** @brief clock recovered from I2S3 input */
|
||||||
|
#define TEGRA234_CLK_I2S3_SYNC_INPUT 61U
|
||||||
|
/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S4 */
|
||||||
|
#define TEGRA234_CLK_I2S4 62U
|
||||||
|
/** @brief clock recovered from I2S4 input */
|
||||||
|
#define TEGRA234_CLK_I2S4_SYNC_INPUT 63U
|
||||||
|
/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S5 */
|
||||||
|
#define TEGRA234_CLK_I2S5 64U
|
||||||
|
/** @brief clock recovered from I2S5 input */
|
||||||
|
#define TEGRA234_CLK_I2S5_SYNC_INPUT 65U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S6 */
|
||||||
|
#define TEGRA234_CLK_I2S6 66U
|
||||||
|
/** @brief clock recovered from I2S6 input */
|
||||||
|
#define TEGRA234_CLK_I2S6_SYNC_INPUT 67U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_ISP */
|
||||||
|
#define TEGRA234_CLK_ISP 69U
|
||||||
|
/** @brief Monitored branch of EQOS_RX clock */
|
||||||
|
#define TEGRA234_CLK_EQOS_RX_M 70U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_MAUDCLK_OUT_SWITCH_DIVIDER switch divider output (maudclk) */
|
||||||
|
#define TEGRA234_CLK_MAUD 71U
|
||||||
|
/** @brief output of gate CLK_ENB_MIPI_CAL */
|
||||||
|
#define TEGRA234_CLK_MIPI_CAL 72U
|
||||||
|
/** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_CORE_PLL_FIXED */
|
||||||
|
#define TEGRA234_CLK_MPHY_CORE_PLL_FIXED 73U
|
||||||
|
/** @brief output of gate CLK_ENB_MPHY_L0_RX_ANA */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_RX_ANA 74U
|
||||||
|
/** @brief output of gate CLK_ENB_MPHY_L0_RX_LS_BIT */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_RX_LS_BIT 75U
|
||||||
|
/** @brief output of gate CLK_ENB_MPHY_L0_RX_SYMB */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_RX_SYMB 76U
|
||||||
|
/** @brief output of gate CLK_ENB_MPHY_L0_TX_LS_3XBIT */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_TX_LS_3XBIT 77U
|
||||||
|
/** @brief output of gate CLK_ENB_MPHY_L0_TX_SYMB */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_TX_SYMB 78U
|
||||||
|
/** @brief output of gate CLK_ENB_MPHY_L1_RX_ANA */
|
||||||
|
#define TEGRA234_CLK_MPHY_L1_RX_ANA 79U
|
||||||
|
/** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_TX_1MHZ_REF */
|
||||||
|
#define TEGRA234_CLK_MPHY_TX_1MHZ_REF 80U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVCSI */
|
||||||
|
#define TEGRA234_CLK_NVCSI 81U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVCSILP */
|
||||||
|
#define TEGRA234_CLK_NVCSILP 82U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVDEC */
|
||||||
|
#define TEGRA234_CLK_NVDEC 83U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_HUBCLK_OUT_SWITCH_DIVIDER switch divider output (hubclk) */
|
||||||
|
#define TEGRA234_CLK_HUB 84U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_DISPCLK_SWITCH_DIVIDER switch divider output (dispclk) */
|
||||||
|
#define TEGRA234_CLK_DISP 85U
|
||||||
|
/** @brief RG_CLK_CTRL__0_DIV divider output (nvdisplay_p0_clk) */
|
||||||
|
#define TEGRA234_CLK_NVDISPLAY_P0 86U
|
||||||
|
/** @brief RG_CLK_CTRL__1_DIV divider output (nvdisplay_p1_clk) */
|
||||||
|
#define TEGRA234_CLK_NVDISPLAY_P1 87U
|
||||||
|
/** @brief DSC_CLK (DISPCLK ÷ 3) */
|
||||||
|
#define TEGRA234_CLK_DSC 88U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVENC */
|
||||||
|
#define TEGRA234_CLK_NVENC 89U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVJPG */
|
||||||
|
#define TEGRA234_CLK_NVJPG 90U
|
||||||
|
/** @brief input from Tegra's XTAL_IN */
|
||||||
|
#define TEGRA234_CLK_OSC 91U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_AON_TOUCH switch divider output */
|
||||||
|
#define TEGRA234_CLK_AON_TOUCH 92U
|
||||||
|
/** PLL controlled by CLK_RST_CONTROLLER_PLLA_BASE for use by audio clocks */
|
||||||
|
#define TEGRA234_CLK_PLLA 93U
|
||||||
|
/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLAON_BASE for use by IP blocks in the AON domain */
|
||||||
|
#define TEGRA234_CLK_PLLAON 94U
|
||||||
|
/** Fixed 100MHz PLL for PCIe, SATA and superspeed USB */
|
||||||
|
#define TEGRA234_CLK_PLLE 100U
|
||||||
|
/** @brief PLLP vco output */
|
||||||
|
#define TEGRA234_CLK_PLLP 101U
|
||||||
|
/** @brief PLLP clk output */
|
||||||
|
#define TEGRA234_CLK_PLLP_OUT0 102U
|
||||||
|
/** Fixed frequency 960MHz PLL for USB and EAVB */
|
||||||
|
#define TEGRA234_CLK_UTMIP_PLL 103U
|
||||||
|
/** @brief output of the divider CLK_RST_CONTROLLER_PLLA_OUT */
|
||||||
|
#define TEGRA234_CLK_PLLA_OUT0 104U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM1 */
|
||||||
|
#define TEGRA234_CLK_PWM1 105U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM2 */
|
||||||
|
#define TEGRA234_CLK_PWM2 106U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM3 */
|
||||||
|
#define TEGRA234_CLK_PWM3 107U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM4 */
|
||||||
|
#define TEGRA234_CLK_PWM4 108U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM5 */
|
||||||
|
#define TEGRA234_CLK_PWM5 109U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM6 */
|
||||||
|
#define TEGRA234_CLK_PWM6 110U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM7 */
|
||||||
|
#define TEGRA234_CLK_PWM7 111U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM8 */
|
||||||
|
#define TEGRA234_CLK_PWM8 112U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_RCE_CPU_NIC output */
|
||||||
|
#define TEGRA234_CLK_RCE_CPU_NIC 113U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_RCE_NIC_RATE divider output */
|
||||||
|
#define TEGRA234_CLK_RCE_NIC 114U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_AON_I2C_SLOW switch divider output */
|
||||||
|
#define TEGRA234_CLK_AON_I2C_SLOW 117U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SCE_CPU_NIC */
|
||||||
|
#define TEGRA234_CLK_SCE_CPU_NIC 118U
|
||||||
|
/** @brief output of divider CLK_RST_CONTROLLER_SCE_NIC_RATE */
|
||||||
|
#define TEGRA234_CLK_SCE_NIC 119U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC1 */
|
||||||
|
#define TEGRA234_CLK_SDMMC1 120U
|
||||||
|
/** @brief Logical clk for setting the UPHY PLL3 rate */
|
||||||
|
#define TEGRA234_CLK_UPHY_PLL3 121U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC4 */
|
||||||
|
#define TEGRA234_CLK_SDMMC4 123U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SE switch divider gated output */
|
||||||
|
#define TEGRA234_CLK_SE 124U
|
||||||
|
/** @brief VPLL select for sor0_ref clk driven by disp_2clk_sor0_head_sel signal */
|
||||||
|
#define TEGRA234_CLK_SOR0_PLL_REF 125U
|
||||||
|
/** @brief Output of mux controlled by disp_2clk_sor0_pll_ref_clk_safe signal (sor0_ref_clk) */
|
||||||
|
#define TEGRA234_CLK_SOR0_REF 126U
|
||||||
|
/** @brief VPLL select for sor1_ref clk driven by disp_2clk_sor0_head_sel signal */
|
||||||
|
#define TEGRA234_CLK_SOR1_PLL_REF 127U
|
||||||
|
/** @brief SOR_PLL_REF_CLK_CTRL__0_DIV divider output */
|
||||||
|
#define TEGRA234_CLK_PRE_SOR0_REF 128U
|
||||||
|
/** @brief Output of mux controlled by disp_2clk_sor1_pll_ref_clk_safe signal (sor1_ref_clk) */
|
||||||
|
#define TEGRA234_CLK_SOR1_REF 129U
|
||||||
|
/** @brief SOR_PLL_REF_CLK_CTRL__1_DIV divider output */
|
||||||
|
#define TEGRA234_CLK_PRE_SOR1_REF 130U
|
||||||
|
/** @brief output of gate CLK_ENB_SOR_SAFE */
|
||||||
|
#define TEGRA234_CLK_SOR_SAFE 131U
|
||||||
|
/** @brief SOR_CLK_CTRL__0_DIV divider output */
|
||||||
|
#define TEGRA234_CLK_SOR0_DIV 132U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC5 */
|
||||||
|
#define TEGRA234_CLK_DMIC5 134U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPI1 */
|
||||||
|
#define TEGRA234_CLK_SPI1 135U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPI2 */
|
||||||
|
#define TEGRA234_CLK_SPI2 136U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPI3 */
|
||||||
|
#define TEGRA234_CLK_SPI3 137U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C_SLOW */
|
||||||
|
#define TEGRA234_CLK_I2C_SLOW 138U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DMIC1 */
|
||||||
|
#define TEGRA234_CLK_SYNC_DMIC1 139U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DMIC2 */
|
||||||
|
#define TEGRA234_CLK_SYNC_DMIC2 140U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DMIC3 */
|
||||||
|
#define TEGRA234_CLK_SYNC_DMIC3 141U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DMIC4 */
|
||||||
|
#define TEGRA234_CLK_SYNC_DMIC4 142U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DSPK1 */
|
||||||
|
#define TEGRA234_CLK_SYNC_DSPK1 143U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DSPK2 */
|
||||||
|
#define TEGRA234_CLK_SYNC_DSPK2 144U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S1 */
|
||||||
|
#define TEGRA234_CLK_SYNC_I2S1 145U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S2 */
|
||||||
|
#define TEGRA234_CLK_SYNC_I2S2 146U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S3 */
|
||||||
|
#define TEGRA234_CLK_SYNC_I2S3 147U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S4 */
|
||||||
|
#define TEGRA234_CLK_SYNC_I2S4 148U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S5 */
|
||||||
|
#define TEGRA234_CLK_SYNC_I2S5 149U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S6 */
|
||||||
|
#define TEGRA234_CLK_SYNC_I2S6 150U
|
||||||
|
/** @brief controls MPHY_FORCE_LS_MODE upon enable & disable */
|
||||||
|
#define TEGRA234_CLK_MPHY_FORCE_LS_MODE 151U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_TACH0 */
|
||||||
|
#define TEGRA234_CLK_TACH0 152U
|
||||||
|
/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_TSEC */
|
||||||
|
#define TEGRA234_CLK_TSEC 153U
|
||||||
|
/** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PKA */
|
||||||
|
#define TEGRA234_CLK_TSEC_PKA 154U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTA */
|
||||||
|
#define TEGRA234_CLK_UARTA 155U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTB */
|
||||||
|
#define TEGRA234_CLK_UARTB 156U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTC */
|
||||||
|
#define TEGRA234_CLK_UARTC 157U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTD */
|
||||||
|
#define TEGRA234_CLK_UARTD 158U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTE */
|
||||||
|
#define TEGRA234_CLK_UARTE 159U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTF */
|
||||||
|
#define TEGRA234_CLK_UARTF 160U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX1_CORE_6 */
|
||||||
|
#define TEGRA234_CLK_PEX1_C6_CORE 161U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UART_FST_MIPI_CAL */
|
||||||
|
#define TEGRA234_CLK_UART_FST_MIPI_CAL 162U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UFSDEV_REF */
|
||||||
|
#define TEGRA234_CLK_UFSDEV_REF 163U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UFSHC_CG_SYS */
|
||||||
|
#define TEGRA234_CLK_UFSHC 164U
|
||||||
|
/** @brief output of gate CLK_ENB_USB2_TRK */
|
||||||
|
#define TEGRA234_CLK_USB2_TRK 165U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_VI */
|
||||||
|
#define TEGRA234_CLK_VI 166U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_VIC */
|
||||||
|
#define TEGRA234_CLK_VIC 167U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_CSITE switch divider output */
|
||||||
|
#define TEGRA234_CLK_CSITE 168U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_IST switch divider output */
|
||||||
|
#define TEGRA234_CLK_IST 169U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_IST_JTAG_REG_CLK_SEL */
|
||||||
|
#define TEGRA234_CLK_JTAG_INTFC_PRE_CG 170U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX2_CORE_7 */
|
||||||
|
#define TEGRA234_CLK_PEX2_C7_CORE 171U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX2_CORE_8 */
|
||||||
|
#define TEGRA234_CLK_PEX2_C8_CORE 172U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX2_CORE_9 */
|
||||||
|
#define TEGRA234_CLK_PEX2_C9_CORE 173U
|
||||||
|
/** @brief dla0_falcon_clk */
|
||||||
|
#define TEGRA234_CLK_DLA0_FALCON 174U
|
||||||
|
/** @brief dla0_core_clk */
|
||||||
|
#define TEGRA234_CLK_DLA0_CORE 175U
|
||||||
|
/** @brief dla1_falcon_clk */
|
||||||
|
#define TEGRA234_CLK_DLA1_FALCON 176U
|
||||||
|
/** @brief dla1_core_clk */
|
||||||
|
#define TEGRA234_CLK_DLA1_CORE 177U
|
||||||
|
/** @brief Output of mux controlled by disp_2clk_sor0_clk_safe signal (sor0_clk) */
|
||||||
|
#define TEGRA234_CLK_SOR0 178U
|
||||||
|
/** @brief Output of mux controlled by disp_2clk_sor1_clk_safe signal (sor1_clk) */
|
||||||
|
#define TEGRA234_CLK_SOR1 179U
|
||||||
|
/** @brief DP macro feedback clock (same as LINKA_SYM CLKOUT) */
|
||||||
|
#define TEGRA234_CLK_SOR_PAD_INPUT 180U
|
||||||
|
/** @brief Output of mux controlled by disp_2clk_h0_dsi_sel signal in sf0_clk path */
|
||||||
|
#define TEGRA234_CLK_PRE_SF0 181U
|
||||||
|
/** @brief Output of mux controlled by disp_2clk_sf0_clk_safe signal (sf0_clk) */
|
||||||
|
#define TEGRA234_CLK_SF0 182U
|
||||||
|
/** @brief Output of mux controlled by disp_2clk_sf1_clk_safe signal (sf1_clk) */
|
||||||
|
#define TEGRA234_CLK_SF1 183U
|
||||||
|
/** @brief CLKOUT_AB output from DSI BRICK A (dsi_clkout_ab) */
|
||||||
|
#define TEGRA234_CLK_DSI_PAD_INPUT 184U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX2_CORE_10 */
|
||||||
|
#define TEGRA234_CLK_PEX2_C10_CORE 187U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_UARTI switch divider output (uarti_r_clk) */
|
||||||
|
#define TEGRA234_CLK_UARTI 188U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_UARTJ switch divider output (uartj_r_clk) */
|
||||||
|
#define TEGRA234_CLK_UARTJ 189U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_UARTH switch divider output */
|
||||||
|
#define TEGRA234_CLK_UARTH 190U
|
||||||
|
/** @brief ungated version of fuse clk */
|
||||||
|
#define TEGRA234_CLK_FUSE_SERIAL 191U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_QSPI0 switch divider output (qspi0_2x_pm_clk) */
|
||||||
|
#define TEGRA234_CLK_QSPI0_2X_PM 192U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_QSPI1 switch divider output (qspi1_2x_pm_clk) */
|
||||||
|
#define TEGRA234_CLK_QSPI1_2X_PM 193U
|
||||||
|
/** @brief output of the divider QSPI_CLK_DIV2_SEL in CLK_RST_CONTROLLER_CLK_SOURCE_QSPI0 (qspi0_pm_clk) */
|
||||||
|
#define TEGRA234_CLK_QSPI0_PM 194U
|
||||||
|
/** @brief output of the divider QSPI_CLK_DIV2_SEL in CLK_RST_CONTROLLER_CLK_SOURCE_QSPI1 (qspi1_pm_clk) */
|
||||||
|
#define TEGRA234_CLK_QSPI1_PM 195U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_VI_CONST switch divider output */
|
||||||
|
#define TEGRA234_CLK_VI_CONST 196U
|
||||||
|
/** @brief NAFLL clock source for BPMP */
|
||||||
|
#define TEGRA234_CLK_NAFLL_BPMP 197U
|
||||||
|
/** @brief NAFLL clock source for SCE */
|
||||||
|
#define TEGRA234_CLK_NAFLL_SCE 198U
|
||||||
|
/** @brief NAFLL clock source for NVDEC */
|
||||||
|
#define TEGRA234_CLK_NAFLL_NVDEC 199U
|
||||||
|
/** @brief NAFLL clock source for NVJPG */
|
||||||
|
#define TEGRA234_CLK_NAFLL_NVJPG 200U
|
||||||
|
/** @brief NAFLL clock source for TSEC */
|
||||||
|
#define TEGRA234_CLK_NAFLL_TSEC 201U
|
||||||
|
/** @brief NAFLL clock source for VI */
|
||||||
|
#define TEGRA234_CLK_NAFLL_VI 203U
|
||||||
|
/** @brief NAFLL clock source for SE */
|
||||||
|
#define TEGRA234_CLK_NAFLL_SE 204U
|
||||||
|
/** @brief NAFLL clock source for NVENC */
|
||||||
|
#define TEGRA234_CLK_NAFLL_NVENC 205U
|
||||||
|
/** @brief NAFLL clock source for ISP */
|
||||||
|
#define TEGRA234_CLK_NAFLL_ISP 206U
|
||||||
|
/** @brief NAFLL clock source for VIC */
|
||||||
|
#define TEGRA234_CLK_NAFLL_VIC 207U
|
||||||
|
/** @brief NAFLL clock source for AXICBB */
|
||||||
|
#define TEGRA234_CLK_NAFLL_AXICBB 209U
|
||||||
|
/** @brief NAFLL clock source for NVJPG1 */
|
||||||
|
#define TEGRA234_CLK_NAFLL_NVJPG1 210U
|
||||||
|
/** @brief NAFLL clock source for PVA core */
|
||||||
|
#define TEGRA234_CLK_NAFLL_PVA0_CORE 211U
|
||||||
|
/** @brief NAFLL clock source for PVA VPS */
|
||||||
|
#define TEGRA234_CLK_NAFLL_PVA0_VPS 212U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_DBGAPB_0 switch divider output (dbgapb_clk) */
|
||||||
|
#define TEGRA234_CLK_DBGAPB 213U
|
||||||
|
/** @brief NAFLL clock source for RCE */
|
||||||
|
#define TEGRA234_CLK_NAFLL_RCE 214U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_LA switch divider output (la_r_clk) */
|
||||||
|
#define TEGRA234_CLK_LA 215U
|
||||||
|
/** @brief output of the divider CLK_RST_CONTROLLER_PLLP_OUTD */
|
||||||
|
#define TEGRA234_CLK_PLLP_OUT_JTAG 216U
|
||||||
|
/** @brief AXI_CBB branch sharing gate control with SDMMC4 */
|
||||||
|
#define TEGRA234_CLK_SDMMC4_AXICIF 217U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC_LEGACY_TM switch divider output */
|
||||||
|
#define TEGRA234_CLK_SDMMC_LEGACY_TM 219U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX0_CORE_0 */
|
||||||
|
#define TEGRA234_CLK_PEX0_C0_CORE 220U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX0_CORE_1 */
|
||||||
|
#define TEGRA234_CLK_PEX0_C1_CORE 221U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX0_CORE_2 */
|
||||||
|
#define TEGRA234_CLK_PEX0_C2_CORE 222U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX0_CORE_3 */
|
||||||
|
#define TEGRA234_CLK_PEX0_C3_CORE 223U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX0_CORE_4 */
|
||||||
|
#define TEGRA234_CLK_PEX0_C4_CORE 224U
|
||||||
|
/** @brief output of gate CLK_ENB_PEX1_CORE_5 */
|
||||||
|
#define TEGRA234_CLK_PEX1_C5_CORE 225U
|
||||||
|
/** @brief Monitored branch of PEX0_C0_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX0_C0_CORE_M 229U
|
||||||
|
/** @brief Monitored branch of PEX0_C1_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX0_C1_CORE_M 230U
|
||||||
|
/** @brief Monitored branch of PEX0_C2_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX0_C2_CORE_M 231U
|
||||||
|
/** @brief Monitored branch of PEX0_C3_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX0_C3_CORE_M 232U
|
||||||
|
/** @brief Monitored branch of PEX0_C4_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX0_C4_CORE_M 233U
|
||||||
|
/** @brief Monitored branch of PEX1_C5_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX1_C5_CORE_M 234U
|
||||||
|
/** @brief Monitored branch of PEX1_C6_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX1_C6_CORE_M 235U
|
||||||
|
/** @brief output of GPU GPC1 clkGen (in 1x mode same rate as GPC1 MUX2 out) */
|
||||||
|
#define TEGRA234_CLK_GPC1CLK 236U
|
||||||
|
/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC4_BASE */
|
||||||
|
#define TEGRA234_CLK_PLLC4 237U
|
||||||
|
/** @brief PLLC4 VCO followed by DIV3 path */
|
||||||
|
#define TEGRA234_CLK_PLLC4_OUT1 239U
|
||||||
|
/** @brief PLLC4 VCO followed by DIV5 path */
|
||||||
|
#define TEGRA234_CLK_PLLC4_OUT2 240U
|
||||||
|
/** @brief output of the mux controlled by PLLC4_CLK_SEL */
|
||||||
|
#define TEGRA234_CLK_PLLC4_MUXED 241U
|
||||||
|
/** @brief PLLC4 VCO followed by DIV2 path */
|
||||||
|
#define TEGRA234_CLK_PLLC4_VCO_DIV2 242U
|
||||||
|
/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLNVHS_BASE */
|
||||||
|
#define TEGRA234_CLK_PLLNVHS 243U
|
||||||
|
/** @brief Monitored branch of PEX2_C7_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX2_C7_CORE_M 244U
|
||||||
|
/** @brief Monitored branch of PEX2_C8_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX2_C8_CORE_M 245U
|
||||||
|
/** @brief Monitored branch of PEX2_C9_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX2_C9_CORE_M 246U
|
||||||
|
/** @brief Monitored branch of PEX2_C10_CORE clock */
|
||||||
|
#define TEGRA234_CLK_PEX2_C10_CORE_M 247U
|
||||||
|
/** @brief RX clock recovered from MGBE0 lane input */
|
||||||
|
#define TEGRA234_CLK_MGBE0_RX_INPUT 248U
|
||||||
|
/** @brief RX clock recovered from MGBE1 lane input */
|
||||||
|
#define TEGRA234_CLK_MGBE1_RX_INPUT 249U
|
||||||
|
/** @brief RX clock recovered from MGBE2 lane input */
|
||||||
|
#define TEGRA234_CLK_MGBE2_RX_INPUT 250U
|
||||||
|
/** @brief RX clock recovered from MGBE3 lane input */
|
||||||
|
#define TEGRA234_CLK_MGBE3_RX_INPUT 251U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_PEX_SATA_USB_RX_BYP switch divider output */
|
||||||
|
#define TEGRA234_CLK_PEX_SATA_USB_RX_BYP 254U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_PEX_USB_PAD_PLL0_MGMT switch divider output */
|
||||||
|
#define TEGRA234_CLK_PEX_USB_PAD_PLL0_MGMT 255U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_PEX_USB_PAD_PLL1_MGMT switch divider output */
|
||||||
|
#define TEGRA234_CLK_PEX_USB_PAD_PLL1_MGMT 256U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_PEX_USB_PAD_PLL2_MGMT switch divider output */
|
||||||
|
#define TEGRA234_CLK_PEX_USB_PAD_PLL2_MGMT 257U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_PEX_USB_PAD_PLL3_MGMT switch divider output */
|
||||||
|
#define TEGRA234_CLK_PEX_USB_PAD_PLL3_MGMT 258U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_NVHS_RX_BYP switch divider output */
|
||||||
|
#define TEGRA234_CLK_NVHS_RX_BYP_REF 263U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_NVHS_PLL0_MGMT switch divider output */
|
||||||
|
#define TEGRA234_CLK_NVHS_PLL0_MGMT 264U
|
||||||
|
/** @brief xusb_core_dev_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_CORE_DEV 265U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_XUSB_CORE_HOST switch divider output */
|
||||||
|
#define TEGRA234_CLK_XUSB_CORE_MUX 266U
|
||||||
|
/** @brief xusb_core_host_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_CORE_HOST 267U
|
||||||
|
/** @brief xusb_core_superspeed_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_CORE_SS 268U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_XUSB_FALCON switch divider output */
|
||||||
|
#define TEGRA234_CLK_XUSB_FALCON 269U
|
||||||
|
/** @brief xusb_falcon_host_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_FALCON_HOST 270U
|
||||||
|
/** @brief xusb_falcon_superspeed_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_FALCON_SS 271U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_XUSB_FS switch divider output */
|
||||||
|
#define TEGRA234_CLK_XUSB_FS 272U
|
||||||
|
/** @brief xusb_fs_host_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_FS_HOST 273U
|
||||||
|
/** @brief xusb_fs_dev_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_FS_DEV 274U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_XUSB_SS switch divider output */
|
||||||
|
#define TEGRA234_CLK_XUSB_SS 275U
|
||||||
|
/** @brief xusb_ss_dev_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_SS_DEV 276U
|
||||||
|
/** @brief xusb_ss_superspeed_clk */
|
||||||
|
#define TEGRA234_CLK_XUSB_SS_SUPERSPEED 277U
|
||||||
|
/** @brief NAFLL clock source for CPU cluster 0 */
|
||||||
|
#define TEGRA234_CLK_NAFLL_CLUSTER0 280U /* TODO: remove */
|
||||||
|
#define TEGRA234_CLK_NAFLL_CLUSTER0_CORE 280U
|
||||||
|
/** @brief NAFLL clock source for CPU cluster 1 */
|
||||||
|
#define TEGRA234_CLK_NAFLL_CLUSTER1 281U /* TODO: remove */
|
||||||
|
#define TEGRA234_CLK_NAFLL_CLUSTER1_CORE 281U
|
||||||
|
/** @brief NAFLL clock source for CPU cluster 2 */
|
||||||
|
#define TEGRA234_CLK_NAFLL_CLUSTER2 282U /* TODO: remove */
|
||||||
|
#define TEGRA234_CLK_NAFLL_CLUSTER2_CORE 282U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CAN1_CORE_RATE divider output */
|
||||||
|
#define TEGRA234_CLK_CAN1_CORE 284U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CAN2_CORE_RATE divider outputt */
|
||||||
|
#define TEGRA234_CLK_CAN2_CORE 285U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_PLLA1_OUT1 switch divider output */
|
||||||
|
#define TEGRA234_CLK_PLLA1_OUT1 286U
|
||||||
|
/** @brief NVHS PLL hardware power sequencer (overrides 'manual' programming of PLL) */
|
||||||
|
#define TEGRA234_CLK_PLLNVHS_HPS 287U
|
||||||
|
/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLREFE_BASE */
|
||||||
|
#define TEGRA234_CLK_PLLREFE_VCOOUT 288U
|
||||||
|
/** @brief 32K input clock provided by PMIC */
|
||||||
|
#define TEGRA234_CLK_CLK_32K 289U
|
||||||
|
/** @brief Fixed 48MHz clock divided down from utmipll */
|
||||||
|
#define TEGRA234_CLK_UTMIPLL_CLKOUT48 291U
|
||||||
|
/** @brief Fixed 480MHz clock divided down from utmipll */
|
||||||
|
#define TEGRA234_CLK_UTMIPLL_CLKOUT480 292U
|
||||||
|
/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLNVCSI_BASE */
|
||||||
|
#define TEGRA234_CLK_PLLNVCSI 294U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_PVA0_CPU_AXI switch divider output */
|
||||||
|
#define TEGRA234_CLK_PVA0_CPU_AXI 295U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_PVA0_VPS switch divider output */
|
||||||
|
#define TEGRA234_CLK_PVA0_VPS 297U
|
||||||
|
/** @brief DLA0_CORE_NAFLL */
|
||||||
|
#define TEGRA234_CLK_NAFLL_DLA0_CORE 299U
|
||||||
|
/** @brief DLA0_FALCON_NAFLL */
|
||||||
|
#define TEGRA234_CLK_NAFLL_DLA0_FALCON 300U
|
||||||
|
/** @brief DLA1_CORE_NAFLL */
|
||||||
|
#define TEGRA234_CLK_NAFLL_DLA1_CORE 301U
|
||||||
|
/** @brief DLA1_FALCON_NAFLL */
|
||||||
|
#define TEGRA234_CLK_NAFLL_DLA1_FALCON 302U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AON_UART_FST_MIPI_CAL */
|
||||||
|
#define TEGRA234_CLK_AON_UART_FST_MIPI_CAL 303U
|
||||||
|
/** @brief GPU system clock */
|
||||||
|
#define TEGRA234_CLK_GPUSYS 304U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C5 */
|
||||||
|
#define TEGRA234_CLK_I2C5 305U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SE switch divider free running clk */
|
||||||
|
#define TEGRA234_CLK_FR_SE 306U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_BPMP_CPU_NIC switch divider output */
|
||||||
|
#define TEGRA234_CLK_BPMP_CPU_NIC 307U
|
||||||
|
/** @brief output of gate CLK_ENB_BPMP_CPU */
|
||||||
|
#define TEGRA234_CLK_BPMP_CPU 308U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_TSC switch divider output */
|
||||||
|
#define TEGRA234_CLK_TSC 309U
|
||||||
|
/** @brief output of mem pll A sync mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EMC */
|
||||||
|
#define TEGRA234_CLK_EMCSA_MPLL 310U
|
||||||
|
/** @brief output of mem pll B sync mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EMCSB */
|
||||||
|
#define TEGRA234_CLK_EMCSB_MPLL 311U
|
||||||
|
/** @brief output of mem pll C sync mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EMCSC */
|
||||||
|
#define TEGRA234_CLK_EMCSC_MPLL 312U
|
||||||
|
/** @brief output of mem pll D sync mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EMCSD */
|
||||||
|
#define TEGRA234_CLK_EMCSD_MPLL 313U
|
||||||
|
/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC_BASE */
|
||||||
|
#define TEGRA234_CLK_PLLC 314U
|
||||||
|
/** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC2_BASE */
|
||||||
|
#define TEGRA234_CLK_PLLC2 315U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_TSC_HS_SUPER_CLK_DIVIDER skip divider output */
|
||||||
|
#define TEGRA234_CLK_TSC_REF 317U
|
||||||
|
/** @brief Dummy clock to ensure minimum SoC voltage for fuse burning */
|
||||||
|
#define TEGRA234_CLK_FUSE_BURN 318U
|
||||||
|
/** @brief GBE PLL */
|
||||||
|
#define TEGRA234_CLK_PLLGBE 319U
|
||||||
|
/** @brief GBE PLL hardware power sequencer */
|
||||||
|
#define TEGRA234_CLK_PLLGBE_HPS 320U
|
||||||
|
/** @brief output of EMC CDB side A fixed (DIV4) divider */
|
||||||
|
#define TEGRA234_CLK_EMCSA_EMC 321U
|
||||||
|
/** @brief output of EMC CDB side B fixed (DIV4) divider */
|
||||||
|
#define TEGRA234_CLK_EMCSB_EMC 322U
|
||||||
|
/** @brief output of EMC CDB side C fixed (DIV4) divider */
|
||||||
|
#define TEGRA234_CLK_EMCSC_EMC 323U
|
||||||
|
/** @brief output of EMC CDB side D fixed (DIV4) divider */
|
||||||
|
#define TEGRA234_CLK_EMCSD_EMC 324U
|
||||||
|
/** @brief PLLE hardware power sequencer (overrides 'manual' programming of PLL) */
|
||||||
|
#define TEGRA234_CLK_PLLE_HPS 326U
|
||||||
|
/** @brief CLK_ENB_PLLREFE_OUT gate output */
|
||||||
|
#define TEGRA234_CLK_PLLREFE_VCOOUT_GATED 327U
|
||||||
|
/** @brief TEGRA234_CLK_SOR_SAFE clk source (PLLP_OUT0 divided by 17) */
|
||||||
|
#define TEGRA234_CLK_PLLP_DIV17 328U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SOC_THERM switch divider output */
|
||||||
|
#define TEGRA234_CLK_SOC_THERM 329U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_TSENSE switch divider output */
|
||||||
|
#define TEGRA234_CLK_TSENSE 330U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SEU1 switch divider free running clk */
|
||||||
|
#define TEGRA234_CLK_FR_SEU1 331U
|
||||||
|
/** @brief NAFLL clock source for OFA */
|
||||||
|
#define TEGRA234_CLK_NAFLL_OFA 333U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_OFA switch divider output */
|
||||||
|
#define TEGRA234_CLK_OFA 334U
|
||||||
|
/** @brief NAFLL clock source for SEU1 */
|
||||||
|
#define TEGRA234_CLK_NAFLL_SEU1 335U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_SEU1 switch divider gated output */
|
||||||
|
#define TEGRA234_CLK_SEU1 336U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPI4 */
|
||||||
|
#define TEGRA234_CLK_SPI4 337U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPI5 */
|
||||||
|
#define TEGRA234_CLK_SPI5 338U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DCE_CPU_NIC */
|
||||||
|
#define TEGRA234_CLK_DCE_CPU_NIC 339U
|
||||||
|
/** @brief output of divider CLK_RST_CONTROLLER_DCE_NIC_RATE */
|
||||||
|
#define TEGRA234_CLK_DCE_NIC 340U
|
||||||
|
/** @brief NAFLL clock source for DCE */
|
||||||
|
#define TEGRA234_CLK_NAFLL_DCE 341U
|
||||||
|
/** @brief Monitored branch of MPHY_L0_RX_ANA clock */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_RX_ANA_M 342U
|
||||||
|
/** @brief Monitored branch of MPHY_L1_RX_ANA clock */
|
||||||
|
#define TEGRA234_CLK_MPHY_L1_RX_ANA_M 343U
|
||||||
|
/** @brief ungated version of TX symbol clock after fixed 1/2 divider */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_TX_PRE_SYMB 344U
|
||||||
|
/** @brief output of divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_L0_TX_LS_SYMB */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_TX_LS_SYMB_DIV 345U
|
||||||
|
/** @brief output of gate CLK_ENB_MPHY_L0_TX_2X_SYMB */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_TX_2X_SYMB 346U
|
||||||
|
/** @brief output of SW_MPHY_L0_TX_HS_SYMB divider in CLK_RST_CONTROLLER_MPHY_L0_TX_CLK_CTRL_0 */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_TX_HS_SYMB_DIV 347U
|
||||||
|
/** @brief output of SW_MPHY_L0_TX_LS_3XBIT divider in CLK_RST_CONTROLLER_MPHY_L0_TX_CLK_CTRL_0 */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_TX_LS_3XBIT_DIV 348U
|
||||||
|
/** @brief LS/HS divider mux SW_MPHY_L0_TX_LS_HS_SEL in CLK_RST_CONTROLLER_MPHY_L0_TX_CLK_CTRL_0 */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_TX_MUX_SYMB_DIV 349U
|
||||||
|
/** @brief Monitored branch of MPHY_L0_TX_SYMB clock */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_TX_SYMB_M 350U
|
||||||
|
/** @brief output of divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_L0_RX_LS_SYMB */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_RX_LS_SYMB_DIV 351U
|
||||||
|
/** @brief output of SW_MPHY_L0_RX_HS_SYMB divider in CLK_RST_CONTROLLER_MPHY_L0_RX_CLK_CTRL_0 */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_RX_HS_SYMB_DIV 352U
|
||||||
|
/** @brief output of SW_MPHY_L0_RX_LS_BIT divider in CLK_RST_CONTROLLER_MPHY_L0_RX_CLK_CTRL_0 */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_RX_LS_BIT_DIV 353U
|
||||||
|
/** @brief LS/HS divider mux SW_MPHY_L0_RX_LS_HS_SEL in CLK_RST_CONTROLLER_MPHY_L0_RX_CLK_CTRL_0 */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_RX_MUX_SYMB_DIV 354U
|
||||||
|
/** @brief Monitored branch of MPHY_L0_RX_SYMB clock */
|
||||||
|
#define TEGRA234_CLK_MPHY_L0_RX_SYMB_M 355U
|
||||||
|
/** @brief Monitored branch of MBGE0 RX input clock */
|
||||||
|
#define TEGRA234_CLK_MGBE0_RX_INPUT_M 357U
|
||||||
|
/** @brief Monitored branch of MBGE1 RX input clock */
|
||||||
|
#define TEGRA234_CLK_MGBE1_RX_INPUT_M 358U
|
||||||
|
/** @brief Monitored branch of MBGE2 RX input clock */
|
||||||
|
#define TEGRA234_CLK_MGBE2_RX_INPUT_M 359U
|
||||||
|
/** @brief Monitored branch of MBGE3 RX input clock */
|
||||||
|
#define TEGRA234_CLK_MGBE3_RX_INPUT_M 360U
|
||||||
|
/** @brief Monitored branch of MGBE0 RX PCS mux output */
|
||||||
|
#define TEGRA234_CLK_MGBE0_RX_PCS_M 361U
|
||||||
|
/** @brief Monitored branch of MGBE1 RX PCS mux output */
|
||||||
|
#define TEGRA234_CLK_MGBE1_RX_PCS_M 362U
|
||||||
|
/** @brief Monitored branch of MGBE2 RX PCS mux output */
|
||||||
|
#define TEGRA234_CLK_MGBE2_RX_PCS_M 363U
|
||||||
|
/** @brief Monitored branch of MGBE3 RX PCS mux output */
|
||||||
|
#define TEGRA234_CLK_MGBE3_RX_PCS_M 364U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_TACH1 */
|
||||||
|
#define TEGRA234_CLK_TACH1 365U
|
||||||
|
/** @brief GBE_UPHY_MGBES_APP_CLK switch divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBES_APP 366U
|
||||||
|
/** @brief Logical clk for setting GBE UPHY PLL2 TX_REF rate */
|
||||||
|
#define TEGRA234_CLK_UPHY_GBE_PLL2_TX_REF 367U
|
||||||
|
/** @brief Logical clk for setting GBE UPHY PLL2 XDIG rate */
|
||||||
|
#define TEGRA234_CLK_UPHY_GBE_PLL2_XDIG 368U
|
||||||
|
/** @brief RX PCS clock recovered from MGBE0 lane input */
|
||||||
|
#define TEGRA234_CLK_MGBE0_RX_PCS_INPUT 369U
|
||||||
|
/** @brief RX PCS clock recovered from MGBE1 lane input */
|
||||||
|
#define TEGRA234_CLK_MGBE1_RX_PCS_INPUT 370U
|
||||||
|
/** @brief RX PCS clock recovered from MGBE2 lane input */
|
||||||
|
#define TEGRA234_CLK_MGBE2_RX_PCS_INPUT 371U
|
||||||
|
/** @brief RX PCS clock recovered from MGBE3 lane input */
|
||||||
|
#define TEGRA234_CLK_MGBE3_RX_PCS_INPUT 372U
|
||||||
|
/** @brief output of mux controlled by GBE_UPHY_MGBE0_RX_PCS_CLK_SRC_SEL */
|
||||||
|
#define TEGRA234_CLK_MGBE0_RX_PCS 373U
|
||||||
|
/** @brief GBE_UPHY_MGBE0_TX_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE0_TX 374U
|
||||||
|
/** @brief GBE_UPHY_MGBE0_TX_PCS_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE0_TX_PCS 375U
|
||||||
|
/** @brief GBE_UPHY_MGBE0_MAC_CLK divider output */
|
||||||
|
#define TEGRA234_CLK_MGBE0_MAC_DIVIDER 376U
|
||||||
|
/** @brief GBE_UPHY_MGBE0_MAC_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE0_MAC 377U
|
||||||
|
/** @brief GBE_UPHY_MGBE0_MACSEC_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE0_MACSEC 378U
|
||||||
|
/** @brief GBE_UPHY_MGBE0_EEE_PCS_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE0_EEE_PCS 379U
|
||||||
|
/** @brief GBE_UPHY_MGBE0_APP_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE0_APP 380U
|
||||||
|
/** @brief GBE_UPHY_MGBE0_PTP_REF_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE0_PTP_REF 381U
|
||||||
|
/** @brief output of mux controlled by GBE_UPHY_MGBE1_RX_PCS_CLK_SRC_SEL */
|
||||||
|
#define TEGRA234_CLK_MGBE1_RX_PCS 382U
|
||||||
|
/** @brief GBE_UPHY_MGBE1_TX_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE1_TX 383U
|
||||||
|
/** @brief GBE_UPHY_MGBE1_TX_PCS_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE1_TX_PCS 384U
|
||||||
|
/** @brief GBE_UPHY_MGBE1_MAC_CLK divider output */
|
||||||
|
#define TEGRA234_CLK_MGBE1_MAC_DIVIDER 385U
|
||||||
|
/** @brief GBE_UPHY_MGBE1_MAC_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE1_MAC 386U
|
||||||
|
/** @brief GBE_UPHY_MGBE1_MACSEC_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE1_MACSEC 387U
|
||||||
|
/** @brief GBE_UPHY_MGBE1_EEE_PCS_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE1_EEE_PCS 388U
|
||||||
|
/** @brief GBE_UPHY_MGBE1_APP_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE1_APP 389U
|
||||||
|
/** @brief GBE_UPHY_MGBE1_PTP_REF_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE1_PTP_REF 390U
|
||||||
|
/** @brief output of mux controlled by GBE_UPHY_MGBE2_RX_PCS_CLK_SRC_SEL */
|
||||||
|
#define TEGRA234_CLK_MGBE2_RX_PCS 391U
|
||||||
|
/** @brief GBE_UPHY_MGBE2_TX_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE2_TX 392U
|
||||||
|
/** @brief GBE_UPHY_MGBE2_TX_PCS_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE2_TX_PCS 393U
|
||||||
|
/** @brief GBE_UPHY_MGBE2_MAC_CLK divider output */
|
||||||
|
#define TEGRA234_CLK_MGBE2_MAC_DIVIDER 394U
|
||||||
|
/** @brief GBE_UPHY_MGBE2_MAC_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE2_MAC 395U
|
||||||
|
/** @brief GBE_UPHY_MGBE2_MACSEC_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE2_MACSEC 396U
|
||||||
|
/** @brief GBE_UPHY_MGBE2_EEE_PCS_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE2_EEE_PCS 397U
|
||||||
|
/** @brief GBE_UPHY_MGBE2_APP_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE2_APP 398U
|
||||||
|
/** @brief GBE_UPHY_MGBE2_PTP_REF_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE2_PTP_REF 399U
|
||||||
|
/** @brief output of mux controlled by GBE_UPHY_MGBE3_RX_PCS_CLK_SRC_SEL */
|
||||||
|
#define TEGRA234_CLK_MGBE3_RX_PCS 400U
|
||||||
|
/** @brief GBE_UPHY_MGBE3_TX_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE3_TX 401U
|
||||||
|
/** @brief GBE_UPHY_MGBE3_TX_PCS_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE3_TX_PCS 402U
|
||||||
|
/** @brief GBE_UPHY_MGBE3_MAC_CLK divider output */
|
||||||
|
#define TEGRA234_CLK_MGBE3_MAC_DIVIDER 403U
|
||||||
|
/** @brief GBE_UPHY_MGBE3_MAC_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE3_MAC 404U
|
||||||
|
/** @brief GBE_UPHY_MGBE3_MACSEC_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE3_MACSEC 405U
|
||||||
|
/** @brief GBE_UPHY_MGBE3_EEE_PCS_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE3_EEE_PCS 406U
|
||||||
|
/** @brief GBE_UPHY_MGBE3_APP_CLK gate output */
|
||||||
|
#define TEGRA234_CLK_MGBE3_APP 407U
|
||||||
|
/** @brief GBE_UPHY_MGBE3_PTP_REF_CLK divider gated output */
|
||||||
|
#define TEGRA234_CLK_MGBE3_PTP_REF 408U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_GBE_RX_BYP switch divider output */
|
||||||
|
#define TEGRA234_CLK_GBE_RX_BYP_REF 409U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_GBE_PLL0_MGMT switch divider output */
|
||||||
|
#define TEGRA234_CLK_GBE_PLL0_MGMT 410U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_GBE_PLL1_MGMT switch divider output */
|
||||||
|
#define TEGRA234_CLK_GBE_PLL1_MGMT 411U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_GBE_PLL2_MGMT switch divider output */
|
||||||
|
#define TEGRA234_CLK_GBE_PLL2_MGMT 412U
|
||||||
|
/** @brief output of gate CLK_ENB_EQOS_MACSEC_RX */
|
||||||
|
#define TEGRA234_CLK_EQOS_MACSEC_RX 413U
|
||||||
|
/** @brief output of gate CLK_ENB_EQOS_MACSEC_TX */
|
||||||
|
#define TEGRA234_CLK_EQOS_MACSEC_TX 414U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_TX_CLK divider ungated output */
|
||||||
|
#define TEGRA234_CLK_EQOS_TX_DIVIDER 415U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_NVHS_PLL1_MGMT switch divider output */
|
||||||
|
#define TEGRA234_CLK_NVHS_PLL1_MGMT 416U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_CLK_SOURCE_EMCHUB mux output */
|
||||||
|
#define TEGRA234_CLK_EMCHUB 417U
|
||||||
|
/** @brief clock recovered from I2S7 input */
|
||||||
|
#define TEGRA234_CLK_I2S7_SYNC_INPUT 418U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S7 */
|
||||||
|
#define TEGRA234_CLK_SYNC_I2S7 419U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S7 */
|
||||||
|
#define TEGRA234_CLK_I2S7 420U
|
||||||
|
/** @brief Monitored output of I2S7 pad macro mux */
|
||||||
|
#define TEGRA234_CLK_I2S7_PAD_M 421U
|
||||||
|
/** @brief clock recovered from I2S8 input */
|
||||||
|
#define TEGRA234_CLK_I2S8_SYNC_INPUT 422U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S8 */
|
||||||
|
#define TEGRA234_CLK_SYNC_I2S8 423U
|
||||||
|
/** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S8 */
|
||||||
|
#define TEGRA234_CLK_I2S8 424U
|
||||||
|
/** @brief Monitored output of I2S8 pad macro mux */
|
||||||
|
#define TEGRA234_CLK_I2S8_PAD_M 425U
|
||||||
|
/** @brief NAFLL clock source for GPU GPC0 */
|
||||||
|
#define TEGRA234_CLK_NAFLL_GPC0 426U
|
||||||
|
/** @brief NAFLL clock source for GPU GPC1 */
|
||||||
|
#define TEGRA234_CLK_NAFLL_GPC1 427U
|
||||||
|
/** @brief NAFLL clock source for GPU SYSCLK */
|
||||||
|
#define TEGRA234_CLK_NAFLL_GPUSYS 428U
|
||||||
|
/** @brief NAFLL clock source for CPU cluster 0 DSUCLK */
|
||||||
|
#define TEGRA234_CLK_NAFLL_DSU0 429U /* TODO: remove */
|
||||||
|
#define TEGRA234_CLK_NAFLL_CLUSTER0_DSU 429U
|
||||||
|
/** @brief NAFLL clock source for CPU cluster 1 DSUCLK */
|
||||||
|
#define TEGRA234_CLK_NAFLL_DSU1 430U /* TODO: remove */
|
||||||
|
#define TEGRA234_CLK_NAFLL_CLUSTER1_DSU 430U
|
||||||
|
/** @brief NAFLL clock source for CPU cluster 2 DSUCLK */
|
||||||
|
#define TEGRA234_CLK_NAFLL_DSU2 431U /* TODO: remove */
|
||||||
|
#define TEGRA234_CLK_NAFLL_CLUSTER2_DSU 431U
|
||||||
|
/** @brief output of gate CLK_ENB_SCE_CPU */
|
||||||
|
#define TEGRA234_CLK_SCE_CPU 432U
|
||||||
|
/** @brief output of gate CLK_ENB_RCE_CPU */
|
||||||
|
#define TEGRA234_CLK_RCE_CPU 433U
|
||||||
|
/** @brief output of gate CLK_ENB_DCE_CPU */
|
||||||
|
#define TEGRA234_CLK_DCE_CPU 434U
|
||||||
|
/** @brief DSIPLL VCO output */
|
||||||
|
#define TEGRA234_CLK_DSIPLL_VCO 435U
|
||||||
|
/** @brief DSIPLL SYNC_CLKOUTP/N differential output */
|
||||||
|
#define TEGRA234_CLK_DSIPLL_CLKOUTPN 436U
|
||||||
|
/** @brief DSIPLL SYNC_CLKOUTA output */
|
||||||
|
#define TEGRA234_CLK_DSIPLL_CLKOUTA 437U
|
||||||
|
/** @brief SPPLL0 VCO output */
|
||||||
|
#define TEGRA234_CLK_SPPLL0_VCO 438U
|
||||||
|
/** @brief SPPLL0 SYNC_CLKOUTP/N differential output */
|
||||||
|
#define TEGRA234_CLK_SPPLL0_CLKOUTPN 439U
|
||||||
|
/** @brief SPPLL0 SYNC_CLKOUTA output */
|
||||||
|
#define TEGRA234_CLK_SPPLL0_CLKOUTA 440U
|
||||||
|
/** @brief SPPLL0 SYNC_CLKOUTB output */
|
||||||
|
#define TEGRA234_CLK_SPPLL0_CLKOUTB 441U
|
||||||
|
/** @brief SPPLL0 CLKOUT_DIVBY10 output */
|
||||||
|
#define TEGRA234_CLK_SPPLL0_DIV10 442U
|
||||||
|
/** @brief SPPLL0 CLKOUT_DIVBY25 output */
|
||||||
|
#define TEGRA234_CLK_SPPLL0_DIV25 443U
|
||||||
|
/** @brief SPPLL0 CLKOUT_DIVBY27P/N differential output */
|
||||||
|
#define TEGRA234_CLK_SPPLL0_DIV27PN 444U
|
||||||
|
/** @brief SPPLL1 VCO output */
|
||||||
|
#define TEGRA234_CLK_SPPLL1_VCO 445U
|
||||||
|
/** @brief SPPLL1 SYNC_CLKOUTP/N differential output */
|
||||||
|
#define TEGRA234_CLK_SPPLL1_CLKOUTPN 446U
|
||||||
|
/** @brief SPPLL1 CLKOUT_DIVBY27P/N differential output */
|
||||||
|
#define TEGRA234_CLK_SPPLL1_DIV27PN 447U
|
||||||
|
/** @brief VPLL0 reference clock */
|
||||||
|
#define TEGRA234_CLK_VPLL0_REF 448U
|
||||||
|
/** @brief VPLL0 */
|
||||||
|
#define TEGRA234_CLK_VPLL0 449U
|
||||||
|
/** @brief VPLL1 */
|
||||||
|
#define TEGRA234_CLK_VPLL1 450U
|
||||||
|
/** @brief NVDISPLAY_P0_CLK reference select */
|
||||||
|
#define TEGRA234_CLK_NVDISPLAY_P0_REF 451U
|
||||||
|
/** @brief RG0_PCLK */
|
||||||
|
#define TEGRA234_CLK_RG0 452U
|
||||||
|
/** @brief RG1_PCLK */
|
||||||
|
#define TEGRA234_CLK_RG1 453U
|
||||||
|
/** @brief DISPPLL output */
|
||||||
|
#define TEGRA234_CLK_DISPPLL 454U
|
||||||
|
/** @brief DISPHUBPLL output */
|
||||||
|
#define TEGRA234_CLK_DISPHUBPLL 455U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_DSI_LP_SWITCH_DIVIDER switch divider output (dsi_lp_clk) */
|
||||||
|
#define TEGRA234_CLK_DSI_LP 456U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_AZA2XBITCLK_OUT_SWITCH_DIVIDER switch divider output (aza_2xbitclk) */
|
||||||
|
#define TEGRA234_CLK_AZA_2XBIT 457U
|
||||||
|
/** @brief aza_2xbitclk / 2 (aza_bitclk) */
|
||||||
|
#define TEGRA234_CLK_AZA_BIT 458U
|
||||||
|
/** @brief SWITCH_DSI_CORE_PIXEL_MISC_DSI_CORE_CLK_SRC switch output (dsi_core_clk) */
|
||||||
|
#define TEGRA234_CLK_DSI_CORE 459U
|
||||||
|
/** @brief Output of mux controlled by pkt_wr_fifo_signal from dsi (dsi_pixel_clk) */
|
||||||
|
#define TEGRA234_CLK_DSI_PIXEL 460U
|
||||||
|
/** @brief Output of mux controlled by disp_2clk_sor0_dp_sel (pre_sor0_clk) */
|
||||||
|
#define TEGRA234_CLK_PRE_SOR0 461U
|
||||||
|
/** @brief Output of mux controlled by disp_2clk_sor1_dp_sel (pre_sor1_clk) */
|
||||||
|
#define TEGRA234_CLK_PRE_SOR1 462U
|
||||||
|
/** @brief CLK_RST_CONTROLLER_LINK_REFCLK_CFG__0 output */
|
||||||
|
#define TEGRA234_CLK_DP_LINK_REF 463U
|
||||||
|
/** @brief Link clock input from DP macro brick PLL */
|
||||||
|
#define TEGRA234_CLK_SOR_LINKA_INPUT 464U
|
||||||
|
/** @brief SOR AFIFO clock outut */
|
||||||
|
#define TEGRA234_CLK_SOR_LINKA_AFIFO 465U
|
||||||
|
/** @brief Monitored branch of linka_afifo_clk */
|
||||||
|
#define TEGRA234_CLK_SOR_LINKA_AFIFO_M 466U
|
||||||
|
/** @brief Monitored branch of rg0_pclk */
|
||||||
|
#define TEGRA234_CLK_RG0_M 467U
|
||||||
|
/** @brief Monitored branch of rg1_pclk */
|
||||||
|
#define TEGRA234_CLK_RG1_M 468U
|
||||||
|
/** @brief Monitored branch of sor0_clk */
|
||||||
|
#define TEGRA234_CLK_SOR0_M 469U
|
||||||
|
/** @brief Monitored branch of sor1_clk */
|
||||||
|
#define TEGRA234_CLK_SOR1_M 470U
|
||||||
|
/** @brief EMC PLLHUB output */
|
||||||
|
#define TEGRA234_CLK_PLLHUB 471U
|
||||||
|
/** @brief output of fixed (DIV2) MC HUB divider */
|
||||||
|
#define TEGRA234_CLK_MCHUB 472U
|
||||||
|
/** @brief output of divider controlled by EMC side A MC_EMC_SAFE_SAME_FREQ */
|
||||||
|
#define TEGRA234_CLK_EMCSA_MC 473U
|
||||||
|
/** @brief output of divider controlled by EMC side B MC_EMC_SAFE_SAME_FREQ */
|
||||||
|
#define TEGRA234_CLK_EMCSB_MC 474U
|
||||||
|
/** @brief output of divider controlled by EMC side C MC_EMC_SAFE_SAME_FREQ */
|
||||||
|
#define TEGRA234_CLK_EMCSC_MC 475U
|
||||||
|
/** @brief output of divider controlled by EMC side D MC_EMC_SAFE_SAME_FREQ */
|
||||||
|
#define TEGRA234_CLK_EMCSD_MC 476U
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
|
#endif
|
||||||
59
include/kernel/dt-bindings/gpio/tegra234-gpio.h
Normal file
59
include/kernel/dt-bindings/gpio/tegra234-gpio.h
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/* Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This header provides constants for binding nvidia,tegra234-gpio*.
|
||||||
|
*
|
||||||
|
* The first cell in Tegra's GPIO specifier is the GPIO ID. The macros below
|
||||||
|
* provide names for this.
|
||||||
|
*
|
||||||
|
* The second cell contains standard flag values specified in gpio.h.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _DT_BINDINGS_GPIO_TEGRA234_GPIO_H
|
||||||
|
#define _DT_BINDINGS_GPIO_TEGRA234_GPIO_H
|
||||||
|
|
||||||
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
|
||||||
|
/* GPIOs implemented by main GPIO controller */
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_A 0
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_B 1
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_C 2
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_D 3
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_E 4
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_F 5
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_G 6
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_H 7
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_I 8
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_J 9
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_K 10
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_L 11
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_M 12
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_N 13
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_P 14
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_Q 15
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_R 16
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_X 17
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_Y 18
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_Z 19
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_AC 20
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_AD 21
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_AE 22
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_AF 23
|
||||||
|
#define TEGRA234_MAIN_GPIO_PORT_AG 24
|
||||||
|
|
||||||
|
#define TEGRA234_MAIN_GPIO(port, offset) \
|
||||||
|
((TEGRA234_MAIN_GPIO_PORT_##port * 8) + offset)
|
||||||
|
|
||||||
|
/* GPIOs implemented by AON GPIO controller */
|
||||||
|
#define TEGRA234_AON_GPIO_PORT_AA 0
|
||||||
|
#define TEGRA234_AON_GPIO_PORT_BB 1
|
||||||
|
#define TEGRA234_AON_GPIO_PORT_CC 2
|
||||||
|
#define TEGRA234_AON_GPIO_PORT_DD 3
|
||||||
|
#define TEGRA234_AON_GPIO_PORT_EE 4
|
||||||
|
#define TEGRA234_AON_GPIO_PORT_GG 5
|
||||||
|
|
||||||
|
#define TEGRA234_AON_GPIO(port, offset) \
|
||||||
|
((TEGRA234_AON_GPIO_PORT_##port * 8) + offset)
|
||||||
|
|
||||||
|
#endif
|
||||||
23
include/kernel/dt-bindings/interrupt-controller/arm-gic.h
Normal file
23
include/kernel/dt-bindings/interrupt-controller/arm-gic.h
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 OR MIT */
|
||||||
|
/*
|
||||||
|
* This header provides constants for the ARM GIC.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H
|
||||||
|
#define _DT_BINDINGS_INTERRUPT_CONTROLLER_ARM_GIC_H
|
||||||
|
|
||||||
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
|
|
||||||
|
/* interrupt specifier cell 0 */
|
||||||
|
|
||||||
|
#define GIC_SPI 0
|
||||||
|
#define GIC_PPI 1
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Interrupt specifier cell 2.
|
||||||
|
* The flags in irq.h are valid, plus those below.
|
||||||
|
*/
|
||||||
|
#define GIC_CPU_MASK_RAW(x) ((x) << 8)
|
||||||
|
#define GIC_CPU_MASK_SIMPLE(num) GIC_CPU_MASK_RAW((1 << (num)) - 1)
|
||||||
|
|
||||||
|
#endif
|
||||||
20
include/kernel/dt-bindings/interrupt-controller/irq.h
Normal file
20
include/kernel/dt-bindings/interrupt-controller/irq.h
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 OR MIT */
|
||||||
|
/*
|
||||||
|
* This header provides constants for most IRQ bindings.
|
||||||
|
*
|
||||||
|
* Most IRQ bindings include a flags cell as part of the IRQ specifier.
|
||||||
|
* In most cases, the format of the flags cell uses the standard values
|
||||||
|
* defined in this header.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H
|
||||||
|
#define _DT_BINDINGS_INTERRUPT_CONTROLLER_IRQ_H
|
||||||
|
|
||||||
|
#define IRQ_TYPE_NONE 0
|
||||||
|
#define IRQ_TYPE_EDGE_RISING 1
|
||||||
|
#define IRQ_TYPE_EDGE_FALLING 2
|
||||||
|
#define IRQ_TYPE_EDGE_BOTH (IRQ_TYPE_EDGE_FALLING | IRQ_TYPE_EDGE_RISING)
|
||||||
|
#define IRQ_TYPE_LEVEL_HIGH 4
|
||||||
|
#define IRQ_TYPE_LEVEL_LOW 8
|
||||||
|
|
||||||
|
#endif
|
||||||
41
include/kernel/dt-bindings/mailbox/tegra186-hsp.h
Normal file
41
include/kernel/dt-bindings/mailbox/tegra186-hsp.h
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/*
|
||||||
|
* This header provides constants for binding nvidia,tegra186-hsp.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _DT_BINDINGS_MAILBOX_TEGRA186_HSP_H
|
||||||
|
#define _DT_BINDINGS_MAILBOX_TEGRA186_HSP_H
|
||||||
|
|
||||||
|
/*
|
||||||
|
* These define the type of mailbox that is to be used (doorbell, shared
|
||||||
|
* mailbox, shared semaphore or arbitrated semaphore).
|
||||||
|
*/
|
||||||
|
#define TEGRA_HSP_MBOX_TYPE_DB 0x0
|
||||||
|
#define TEGRA_HSP_MBOX_TYPE_SM 0x1
|
||||||
|
#define TEGRA_HSP_MBOX_TYPE_SS 0x2
|
||||||
|
#define TEGRA_HSP_MBOX_TYPE_AS 0x3
|
||||||
|
|
||||||
|
/*
|
||||||
|
* These define the types of shared mailbox supported based on data size.
|
||||||
|
*/
|
||||||
|
#define TEGRA_HSP_MBOX_TYPE_SM_128BIT (1 << 8)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* These defines represent the bit associated with the given master ID in the
|
||||||
|
* doorbell registers.
|
||||||
|
*/
|
||||||
|
#define TEGRA_HSP_DB_MASTER_CCPLEX 17
|
||||||
|
#define TEGRA_HSP_DB_MASTER_BPMP 19
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Shared mailboxes are unidirectional, so the direction needs to be specified
|
||||||
|
* in the device tree.
|
||||||
|
*/
|
||||||
|
#define TEGRA_HSP_SM_MASK 0x00ffffff
|
||||||
|
#define TEGRA_HSP_SM_FLAG_RX (0 << 31)
|
||||||
|
#define TEGRA_HSP_SM_FLAG_TX (1 << 31)
|
||||||
|
|
||||||
|
#define TEGRA_HSP_SM_RX(x) (TEGRA_HSP_SM_FLAG_RX | ((x) & TEGRA_HSP_SM_MASK))
|
||||||
|
#define TEGRA_HSP_SM_TX(x) (TEGRA_HSP_SM_FLAG_TX | ((x) & TEGRA_HSP_SM_MASK))
|
||||||
|
|
||||||
|
#endif
|
||||||
539
include/kernel/dt-bindings/memory/tegra234-mc.h
Normal file
539
include/kernel/dt-bindings/memory/tegra234-mc.h
Normal file
@@ -0,0 +1,539 @@
|
|||||||
|
/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */
|
||||||
|
/* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. */
|
||||||
|
|
||||||
|
#ifndef DT_BINDINGS_MEMORY_TEGRA234_MC_H
|
||||||
|
#define DT_BINDINGS_MEMORY_TEGRA234_MC_H
|
||||||
|
|
||||||
|
/* special clients */
|
||||||
|
#define TEGRA234_SID_INVALID 0x00
|
||||||
|
#define TEGRA234_SID_PASSTHROUGH 0x7f
|
||||||
|
|
||||||
|
/* ISO stream IDs */
|
||||||
|
#define TEGRA234_SID_ISO_NVDISPLAY 0x01
|
||||||
|
#define TEGRA234_SID_ISO_VI 0x02
|
||||||
|
#define TEGRA234_SID_ISO_VIFALC 0x03
|
||||||
|
#define TEGRA234_SID_ISO_VI2 0x04
|
||||||
|
#define TEGRA234_SID_ISO_VI2FALC 0x05
|
||||||
|
#define TEGRA234_SID_ISO_VI_VM2 0x06
|
||||||
|
#define TEGRA234_SID_ISO_VI2_VM2 0x07
|
||||||
|
|
||||||
|
/* NISO0 stream IDs */
|
||||||
|
#define TEGRA234_SID_AON 0x01
|
||||||
|
#define TEGRA234_SID_APE 0x02
|
||||||
|
#define TEGRA234_SID_HDA 0x03
|
||||||
|
#define TEGRA234_SID_GPCDMA 0x04
|
||||||
|
#define TEGRA234_SID_ETR 0x05
|
||||||
|
#define TEGRA234_SID_MGBE 0x06
|
||||||
|
#define TEGRA234_SID_NVDISPLAY 0x07
|
||||||
|
#define TEGRA234_SID_DCE 0x08
|
||||||
|
#define TEGRA234_SID_PSC 0x09
|
||||||
|
#define TEGRA234_SID_RCE 0x0a
|
||||||
|
#define TEGRA234_SID_SCE 0x0b
|
||||||
|
#define TEGRA234_SID_UFSHC 0x0c
|
||||||
|
#define TEGRA234_SID_APE_1 0x0d
|
||||||
|
#define TEGRA234_SID_GPCDMA_1 0x0e
|
||||||
|
#define TEGRA234_SID_GPCDMA_2 0x0f
|
||||||
|
#define TEGRA234_SID_GPCDMA_3 0x10
|
||||||
|
#define TEGRA234_SID_GPCDMA_4 0x11
|
||||||
|
#define TEGRA234_SID_PCIE0 0x12
|
||||||
|
#define TEGRA234_SID_PCIE4 0x13
|
||||||
|
#define TEGRA234_SID_PCIE5 0x14
|
||||||
|
#define TEGRA234_SID_PCIE6 0x15
|
||||||
|
#define TEGRA234_SID_RCE_VM2 0x16
|
||||||
|
#define TEGRA234_SID_RCE_SERVER 0x17
|
||||||
|
#define TEGRA234_SID_SMMU_TEST 0x18
|
||||||
|
#define TEGRA234_SID_UFS_1 0x19
|
||||||
|
#define TEGRA234_SID_UFS_2 0x1a
|
||||||
|
#define TEGRA234_SID_UFS_3 0x1b
|
||||||
|
#define TEGRA234_SID_UFS_4 0x1c
|
||||||
|
#define TEGRA234_SID_UFS_5 0x1d
|
||||||
|
#define TEGRA234_SID_UFS_6 0x1e
|
||||||
|
#define TEGRA234_SID_PCIE9 0x1f
|
||||||
|
#define TEGRA234_SID_VSE_GPCDMA_VM0 0x20
|
||||||
|
#define TEGRA234_SID_VSE_GPCDMA_VM1 0x21
|
||||||
|
#define TEGRA234_SID_VSE_GPCDMA_VM2 0x22
|
||||||
|
#define TEGRA234_SID_NVDLA1 0x23
|
||||||
|
#define TEGRA234_SID_NVENC 0x24
|
||||||
|
#define TEGRA234_SID_NVJPG1 0x25
|
||||||
|
#define TEGRA234_SID_OFA 0x26
|
||||||
|
#define TEGRA234_SID_MGBE_VF1 0x49
|
||||||
|
#define TEGRA234_SID_MGBE_VF2 0x4a
|
||||||
|
#define TEGRA234_SID_MGBE_VF3 0x4b
|
||||||
|
#define TEGRA234_SID_MGBE_VF4 0x4c
|
||||||
|
#define TEGRA234_SID_MGBE_VF5 0x4d
|
||||||
|
#define TEGRA234_SID_MGBE_VF6 0x4e
|
||||||
|
#define TEGRA234_SID_MGBE_VF7 0x4f
|
||||||
|
#define TEGRA234_SID_MGBE_VF8 0x50
|
||||||
|
#define TEGRA234_SID_MGBE_VF9 0x51
|
||||||
|
#define TEGRA234_SID_MGBE_VF10 0x52
|
||||||
|
#define TEGRA234_SID_MGBE_VF11 0x53
|
||||||
|
#define TEGRA234_SID_MGBE_VF12 0x54
|
||||||
|
#define TEGRA234_SID_MGBE_VF13 0x55
|
||||||
|
#define TEGRA234_SID_MGBE_VF14 0x56
|
||||||
|
#define TEGRA234_SID_MGBE_VF15 0x57
|
||||||
|
#define TEGRA234_SID_MGBE_VF16 0x58
|
||||||
|
#define TEGRA234_SID_MGBE_VF17 0x59
|
||||||
|
#define TEGRA234_SID_MGBE_VF18 0x5a
|
||||||
|
#define TEGRA234_SID_MGBE_VF19 0x5b
|
||||||
|
#define TEGRA234_SID_MGBE_VF20 0x5c
|
||||||
|
#define TEGRA234_SID_APE_2 0x5e
|
||||||
|
#define TEGRA234_SID_APE_3 0x5f
|
||||||
|
#define TEGRA234_SID_UFS_7 0x60
|
||||||
|
#define TEGRA234_SID_UFS_8 0x61
|
||||||
|
#define TEGRA234_SID_UFS_9 0x62
|
||||||
|
#define TEGRA234_SID_UFS_10 0x63
|
||||||
|
#define TEGRA234_SID_UFS_11 0x64
|
||||||
|
#define TEGRA234_SID_UFS_12 0x65
|
||||||
|
#define TEGRA234_SID_UFS_13 0x66
|
||||||
|
#define TEGRA234_SID_UFS_14 0x67
|
||||||
|
#define TEGRA234_SID_UFS_15 0x68
|
||||||
|
#define TEGRA234_SID_UFS_16 0x69
|
||||||
|
#define TEGRA234_SID_UFS_17 0x6a
|
||||||
|
#define TEGRA234_SID_UFS_18 0x6b
|
||||||
|
#define TEGRA234_SID_UFS_19 0x6c
|
||||||
|
#define TEGRA234_SID_UFS_20 0x6d
|
||||||
|
#define TEGRA234_SID_GPCDMA_5 0x6e
|
||||||
|
#define TEGRA234_SID_GPCDMA_6 0x6f
|
||||||
|
#define TEGRA234_SID_GPCDMA_7 0x70
|
||||||
|
#define TEGRA234_SID_GPCDMA_8 0x71
|
||||||
|
#define TEGRA234_SID_GPCDMA_9 0x72
|
||||||
|
|
||||||
|
/* NISO1 stream IDs */
|
||||||
|
#define TEGRA234_SID_SDMMC1A 0x01
|
||||||
|
#define TEGRA234_SID_SDMMC4 0x02
|
||||||
|
#define TEGRA234_SID_EQOS 0x03
|
||||||
|
#define TEGRA234_SID_HWMP_PMA 0x04
|
||||||
|
#define TEGRA234_SID_PCIE1 0x05
|
||||||
|
#define TEGRA234_SID_PCIE2 0x06
|
||||||
|
#define TEGRA234_SID_PCIE3 0x07
|
||||||
|
#define TEGRA234_SID_PCIE7 0x08
|
||||||
|
#define TEGRA234_SID_PCIE8 0x09
|
||||||
|
#define TEGRA234_SID_PCIE10 0x0b
|
||||||
|
#define TEGRA234_SID_QSPI0 0x0c
|
||||||
|
#define TEGRA234_SID_QSPI1 0x0d
|
||||||
|
#define TEGRA234_SID_XUSB_HOST 0x0e
|
||||||
|
#define TEGRA234_SID_XUSB_DEV 0x0f
|
||||||
|
#define TEGRA234_SID_BPMP 0x10
|
||||||
|
#define TEGRA234_SID_FSI 0x11
|
||||||
|
#define TEGRA234_SID_PVA0_VM0 0x12
|
||||||
|
#define TEGRA234_SID_PVA0_VM1 0x13
|
||||||
|
#define TEGRA234_SID_PVA0_VM2 0x14
|
||||||
|
#define TEGRA234_SID_PVA0_VM3 0x15
|
||||||
|
#define TEGRA234_SID_PVA0_VM4 0x16
|
||||||
|
#define TEGRA234_SID_PVA0_VM5 0x17
|
||||||
|
#define TEGRA234_SID_PVA0_VM6 0x18
|
||||||
|
#define TEGRA234_SID_PVA0_VM7 0x19
|
||||||
|
#define TEGRA234_SID_XUSB_VF0 0x1a
|
||||||
|
#define TEGRA234_SID_XUSB_VF1 0x1b
|
||||||
|
#define TEGRA234_SID_XUSB_VF2 0x1c
|
||||||
|
#define TEGRA234_SID_XUSB_VF3 0x1d
|
||||||
|
#define TEGRA234_SID_EQOS_VF1 0x1e
|
||||||
|
#define TEGRA234_SID_EQOS_VF2 0x1f
|
||||||
|
#define TEGRA234_SID_EQOS_VF3 0x20
|
||||||
|
#define TEGRA234_SID_EQOS_VF4 0x21
|
||||||
|
#define TEGRA234_SID_ISP_VM2 0x22
|
||||||
|
#define TEGRA234_SID_HOST1X 0x27
|
||||||
|
#define TEGRA234_SID_ISP 0x28
|
||||||
|
#define TEGRA234_SID_NVDEC 0x29
|
||||||
|
#define TEGRA234_SID_NVJPG 0x2a
|
||||||
|
#define TEGRA234_SID_NVDLA0 0x2b
|
||||||
|
#define TEGRA234_SID_PVA0 0x2c
|
||||||
|
#define TEGRA234_SID_SES_SE0 0x2d
|
||||||
|
#define TEGRA234_SID_SES_SE1 0x2e
|
||||||
|
#define TEGRA234_SID_SES_SE2 0x2f
|
||||||
|
#define TEGRA234_SID_SEU1_SE0 0x30
|
||||||
|
#define TEGRA234_SID_SEU1_SE1 0x31
|
||||||
|
#define TEGRA234_SID_SEU1_SE2 0x32
|
||||||
|
#define TEGRA234_SID_TSEC 0x33
|
||||||
|
#define TEGRA234_SID_VIC 0x34
|
||||||
|
#define TEGRA234_SID_HC_VM0 0x3d
|
||||||
|
#define TEGRA234_SID_HC_VM1 0x3e
|
||||||
|
#define TEGRA234_SID_HC_VM2 0x3f
|
||||||
|
#define TEGRA234_SID_HC_VM3 0x40
|
||||||
|
#define TEGRA234_SID_HC_VM4 0x41
|
||||||
|
#define TEGRA234_SID_HC_VM5 0x42
|
||||||
|
#define TEGRA234_SID_HC_VM6 0x43
|
||||||
|
#define TEGRA234_SID_HC_VM7 0x44
|
||||||
|
#define TEGRA234_SID_SE_VM0 0x45
|
||||||
|
#define TEGRA234_SID_SE_VM1 0x46
|
||||||
|
#define TEGRA234_SID_SE_VM2 0x47
|
||||||
|
#define TEGRA234_SID_ISPFALC 0x48
|
||||||
|
#define TEGRA234_SID_NISO1_SMMU_TEST 0x49
|
||||||
|
#define TEGRA234_SID_TSEC_VM0 0x4a
|
||||||
|
|
||||||
|
/* Shared stream IDs */
|
||||||
|
#define TEGRA234_SID_HOST1X_CTX0 0x35
|
||||||
|
#define TEGRA234_SID_HOST1X_CTX1 0x36
|
||||||
|
#define TEGRA234_SID_HOST1X_CTX2 0x37
|
||||||
|
#define TEGRA234_SID_HOST1X_CTX3 0x38
|
||||||
|
#define TEGRA234_SID_HOST1X_CTX4 0x39
|
||||||
|
#define TEGRA234_SID_HOST1X_CTX5 0x3a
|
||||||
|
#define TEGRA234_SID_HOST1X_CTX6 0x3b
|
||||||
|
#define TEGRA234_SID_HOST1X_CTX7 0x3c
|
||||||
|
|
||||||
|
/*
|
||||||
|
* memory client IDs
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Misses from System Memory Management Unit (SMMU) Page Table Cache (PTC) */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PTCR 0x00
|
||||||
|
/* MSS internal memqual MIU7 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU7R 0x01
|
||||||
|
/* MSS internal memqual MIU7 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU7W 0x02
|
||||||
|
/* MSS internal memqual MIU8 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU8R 0x03
|
||||||
|
/* MSS internal memqual MIU8 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU8W 0x04
|
||||||
|
/* MSS internal memqual MIU9 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU9R 0x05
|
||||||
|
/* MSS internal memqual MIU9 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU9W 0x06
|
||||||
|
/* MSS internal memqual MIU10 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU10R 0x07
|
||||||
|
/* MSS internal memqual MIU10 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU10W 0x08
|
||||||
|
/* MSS internal memqual MIU11 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU11R 0x09
|
||||||
|
/* MSS internal memqual MIU11 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU11W 0x0a
|
||||||
|
/* MSS internal memqual MIU12 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU12R 0x0b
|
||||||
|
/* MSS internal memqual MIU12 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU12W 0x0c
|
||||||
|
/* MSS internal memqual MIU13 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU13R 0x0d
|
||||||
|
/* MSS internal memqual MIU13 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU13W 0x0e
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL5RHP 0x13
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL5R 0x14
|
||||||
|
/* High-definition audio (HDA) read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_HDAR 0x15
|
||||||
|
/* Host channel data read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_HOST1XDMAR 0x16
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL5W 0x17
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL6RHP 0x18
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL6R 0x19
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL6W 0x1a
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL7RHP 0x1b
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVENCSRD 0x1c
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL7R 0x1d
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL7W 0x1e
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL8RHP 0x20
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL8R 0x21
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL8W 0x22
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL9RHP 0x23
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL9R 0x24
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL9W 0x25
|
||||||
|
/* PCIE6 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE6AR 0x28
|
||||||
|
/* PCIE6 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE6AW 0x29
|
||||||
|
/* PCIE7 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE7AR 0x2a
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVENCSWR 0x2b
|
||||||
|
/* DLA0ARDB read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA0RDB 0x2c
|
||||||
|
/* DLA0ARDB1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA0RDB1 0x2d
|
||||||
|
/* DLA0 writes */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA0WRB 0x2e
|
||||||
|
/* DLA1ARDB read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA1RDB 0x2f
|
||||||
|
/* PCIE7 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE7AW 0x30
|
||||||
|
/* PCIE8 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE8AR 0x32
|
||||||
|
/* High-definition audio (HDA) write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_HDAW 0x35
|
||||||
|
/* Writes from Cortex-A9 4 CPU cores via the L2 cache */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MPCOREW 0x39
|
||||||
|
/* OFAA client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_OFAR1 0x3a
|
||||||
|
/* PCIE8 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE8AW 0x3b
|
||||||
|
/* PCIE9 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE9AR 0x3c
|
||||||
|
/* PCIE6r1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE6AR1 0x3d
|
||||||
|
/* PCIE9 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE9AW 0x3e
|
||||||
|
/* PCIE10 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE10AR 0x3f
|
||||||
|
/* PCIE10 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE10AW 0x40
|
||||||
|
/* ISP read client for Crossbar A */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_ISPRA 0x44
|
||||||
|
/* ISP read client 1 for Crossbar A */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_ISPFALR 0x45
|
||||||
|
/* ISP Write client for Crossbar A */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_ISPWA 0x46
|
||||||
|
/* ISP Write client Crossbar B */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_ISPWB 0x47
|
||||||
|
/* PCIE10r1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE10AR1 0x48
|
||||||
|
/* PCIE7r1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE7AR1 0x49
|
||||||
|
/* XUSB_HOST read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_XUSB_HOSTR 0x4a
|
||||||
|
/* XUSB_HOST write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_XUSB_HOSTW 0x4b
|
||||||
|
/* XUSB read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_XUSB_DEVR 0x4c
|
||||||
|
/* XUSB_DEV write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_XUSB_DEVW 0x4d
|
||||||
|
/* TSEC Memory Return Data Client Description */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_TSECSRD 0x54
|
||||||
|
/* TSEC Memory Write Client Description */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_TSECSWR 0x55
|
||||||
|
/* XSPI writes */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_XSPI1W 0x56
|
||||||
|
/* MGBE0 read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MGBEARD 0x58
|
||||||
|
/* MGBEB read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MGBEBRD 0x59
|
||||||
|
/* MGBEC read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MGBECRD 0x5a
|
||||||
|
/* MGBED read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MGBEDRD 0x5b
|
||||||
|
/* MGBE0 write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MGBEAWR 0x5c
|
||||||
|
/* OFAA client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_OFAR 0x5d
|
||||||
|
/* OFAA writes */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_OFAW 0x5e
|
||||||
|
/* MGBEB write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MGBEBWR 0x5f
|
||||||
|
/* sdmmca memory read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SDMMCRA 0x60
|
||||||
|
/* MGBEC write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MGBECWR 0x61
|
||||||
|
/* sdmmcd memory read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SDMMCRAB 0x63
|
||||||
|
/* sdmmca memory write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SDMMCWA 0x64
|
||||||
|
/* MGBED write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MGBEDWR 0x65
|
||||||
|
/* sdmmcd memory write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SDMMCWAB 0x67
|
||||||
|
/* SE Memory Return Data Client Description */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SEU1RD 0x68
|
||||||
|
/* SE Memory Write Client Description */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SUE1WR 0x69
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_VICSRD 0x6c
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_VICSWR 0x6d
|
||||||
|
/* DLA1ARDB1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA1RDB1 0x6e
|
||||||
|
/* DLA1 writes */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA1WRB 0x6f
|
||||||
|
/* VI FLACON read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_VI2FALR 0x71
|
||||||
|
/* VI Write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_VI2W 0x70
|
||||||
|
/* VI Write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_VIW 0x72
|
||||||
|
/* NISO display read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVDISPNISOR 0x73
|
||||||
|
/* NVDISPNISO writes */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVDISPNISOW 0x74
|
||||||
|
/* XSPI client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_XSPI0R 0x75
|
||||||
|
/* XSPI writes */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_XSPI0W 0x76
|
||||||
|
/* XSPI client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_XSPI1R 0x77
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVDECSRD 0x78
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVDECSWR 0x79
|
||||||
|
/* Audio Processing (APE) engine read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_APER 0x7a
|
||||||
|
/* Audio Processing (APE) engine write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_APEW 0x7b
|
||||||
|
/* VI2FAL writes */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_VI2FALW 0x7c
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVJPGSRD 0x7e
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVJPGSWR 0x7f
|
||||||
|
/* SE Memory Return Data Client Description */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SESRD 0x80
|
||||||
|
/* SE Memory Write Client Description */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SESWR 0x81
|
||||||
|
/* AXI AP and DFD-AUX0/1 read clients Both share the same interface on the on MSS */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_AXIAPR 0x82
|
||||||
|
/* AXI AP and DFD-AUX0/1 write clients Both sahre the same interface on MSS */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_AXIAPW 0x83
|
||||||
|
/* ETR read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_ETRR 0x84
|
||||||
|
/* ETR write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_ETRW 0x85
|
||||||
|
/* AXI Switch read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_AXISR 0x8c
|
||||||
|
/* AXI Switch write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_AXISW 0x8d
|
||||||
|
/* EQOS read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_EQOSR 0x8e
|
||||||
|
/* EQOS write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_EQOSW 0x8f
|
||||||
|
/* UFSHC read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_UFSHCR 0x90
|
||||||
|
/* UFSHC write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_UFSHCW 0x91
|
||||||
|
/* NVDISPLAY read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVDISPLAYR 0x92
|
||||||
|
/* BPMP read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_BPMPR 0x93
|
||||||
|
/* BPMP write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_BPMPW 0x94
|
||||||
|
/* BPMPDMA read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_BPMPDMAR 0x95
|
||||||
|
/* BPMPDMA write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_BPMPDMAW 0x96
|
||||||
|
/* AON read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_AONR 0x97
|
||||||
|
/* AON write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_AONW 0x98
|
||||||
|
/* AONDMA read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_AONDMAR 0x99
|
||||||
|
/* AONDMA write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_AONDMAW 0x9a
|
||||||
|
/* SCE read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SCER 0x9b
|
||||||
|
/* SCE write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SCEW 0x9c
|
||||||
|
/* SCEDMA read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SCEDMAR 0x9d
|
||||||
|
/* SCEDMA write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_SCEDMAW 0x9e
|
||||||
|
/* APEDMA read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_APEDMAR 0x9f
|
||||||
|
/* APEDMA write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_APEDMAW 0xa0
|
||||||
|
/* NVDISPLAY read client instance 2 */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVDISPLAYR1 0xa1
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_VICSRD1 0xa2
|
||||||
|
/* MSS internal memqual MIU0 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU0R 0xa6
|
||||||
|
/* MSS internal memqual MIU0 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU0W 0xa7
|
||||||
|
/* MSS internal memqual MIU1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU1R 0xa8
|
||||||
|
/* MSS internal memqual MIU1 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU1W 0xa9
|
||||||
|
/* MSS internal memqual MIU2 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU2R 0xae
|
||||||
|
/* MSS internal memqual MIU2 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU2W 0xaf
|
||||||
|
/* MSS internal memqual MIU3 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU3R 0xb0
|
||||||
|
/* MSS internal memqual MIU3 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU3W 0xb1
|
||||||
|
/* MSS internal memqual MIU4 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU4R 0xb2
|
||||||
|
/* MSS internal memqual MIU4 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU4W 0xb3
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DPMUR 0xb4
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DPMUW 0xb5
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL0R 0xb6
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL0W 0xb7
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL1R 0xb8
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL1W 0xb9
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL2R 0xba
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL2W 0xbb
|
||||||
|
/* VI FLACON read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_VIFALR 0xbc
|
||||||
|
/* VIFAL write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_VIFALW 0xbd
|
||||||
|
/* DLA0ARDA read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA0RDA 0xbe
|
||||||
|
/* DLA0 Falcon read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA0FALRDB 0xbf
|
||||||
|
/* DLA0 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA0WRA 0xc0
|
||||||
|
/* DLA0 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA0FALWRB 0xc1
|
||||||
|
/* DLA1ARDA read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA1RDA 0xc2
|
||||||
|
/* DLA1 Falcon read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA1FALRDB 0xc3
|
||||||
|
/* DLA1 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA1WRA 0xc4
|
||||||
|
/* DLA1 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA1FALWRB 0xc5
|
||||||
|
/* PVA0RDA read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PVA0RDA 0xc6
|
||||||
|
/* PVA0RDB read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PVA0RDB 0xc7
|
||||||
|
/* PVA0RDC read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PVA0RDC 0xc8
|
||||||
|
/* PVA0WRA write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PVA0WRA 0xc9
|
||||||
|
/* PVA0WRB write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PVA0WRB 0xca
|
||||||
|
/* PVA0WRC write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PVA0WRC 0xcb
|
||||||
|
/* RCE read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_RCER 0xd2
|
||||||
|
/* RCE write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_RCEW 0xd3
|
||||||
|
/* RCEDMA read client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_RCEDMAR 0xd4
|
||||||
|
/* RCEDMA write client */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_RCEDMAW 0xd5
|
||||||
|
/* PCIE0 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE0R 0xd8
|
||||||
|
/* PCIE0 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE0W 0xd9
|
||||||
|
/* PCIE1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE1R 0xda
|
||||||
|
/* PCIE1 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE1W 0xdb
|
||||||
|
/* PCIE2 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE2AR 0xdc
|
||||||
|
/* PCIE2 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE2AW 0xdd
|
||||||
|
/* PCIE3 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE3R 0xde
|
||||||
|
/* PCIE3 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE3W 0xdf
|
||||||
|
/* PCIE4 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE4R 0xe0
|
||||||
|
/* PCIE4 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE4W 0xe1
|
||||||
|
/* PCIE5 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE5R 0xe2
|
||||||
|
/* PCIE5 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE5W 0xe3
|
||||||
|
/* ISP read client 1 for Crossbar A */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_ISPFALW 0xe4
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL3R 0xe5
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL3W 0xe6
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL4R 0xe7
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL4W 0xe8
|
||||||
|
/* DLA0ARDA1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA0RDA1 0xe9
|
||||||
|
/* DLA1ARDA1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_DLA1RDA1 0xea
|
||||||
|
/* PVA0RDA1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PVA0RDA1 0xeb
|
||||||
|
/* PVA0RDB1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PVA0RDB1 0xec
|
||||||
|
/* PCIE5r1 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_PCIE5R1 0xef
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVENCSRD1 0xf0
|
||||||
|
/* ISP read client for Crossbar A */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_ISPRA1 0xf2
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL0RHP 0xf4
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL1RHP 0xf5
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL2RHP 0xf6
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL3RHP 0xf7
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVL4RHP 0xf8
|
||||||
|
/* MSS internal memqual MIU5 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU5R 0xfc
|
||||||
|
/* MSS internal memqual MIU5 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU5W 0xfd
|
||||||
|
/* MSS internal memqual MIU6 read clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU6R 0xfe
|
||||||
|
/* MSS internal memqual MIU6 write clients */
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_MIU6W 0xff
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVJPG1SRD 0x123
|
||||||
|
#define TEGRA234_MEMORY_CLIENT_NVJPG1SWR 0x124
|
||||||
|
|
||||||
|
#endif
|
||||||
18
include/kernel/dt-bindings/pinctrl/pinctrl-tegra-io-pad.h
Normal file
18
include/kernel/dt-bindings/pinctrl/pinctrl-tegra-io-pad.h
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/*
|
||||||
|
* pinctrl-tegra-io-pad.h: Tegra I/O pad source voltage configuration constants
|
||||||
|
* pinctrl bindings.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
|
||||||
|
*
|
||||||
|
* Author: Aapo Vienamo <avienamo@nvidia.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _DT_BINDINGS_PINCTRL_TEGRA_IO_PAD_H
|
||||||
|
#define _DT_BINDINGS_PINCTRL_TEGRA_IO_PAD_H
|
||||||
|
|
||||||
|
/* Voltage levels of the I/O pad's source rail */
|
||||||
|
#define TEGRA_IO_PAD_VOLTAGE_1V8 0
|
||||||
|
#define TEGRA_IO_PAD_VOLTAGE_3V3 1
|
||||||
|
|
||||||
|
#endif
|
||||||
37
include/kernel/dt-bindings/pinctrl/pinctrl-tegra.h
Normal file
37
include/kernel/dt-bindings/pinctrl/pinctrl-tegra.h
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
/*
|
||||||
|
* This header provides constants for Tegra pinctrl bindings.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
|
||||||
|
*
|
||||||
|
* Author: Laxman Dewangan <ldewangan@nvidia.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _DT_BINDINGS_PINCTRL_TEGRA_H
|
||||||
|
#define _DT_BINDINGS_PINCTRL_TEGRA_H
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Enable/disable for diffeent dt properties. This is applicable for
|
||||||
|
* properties nvidia,enable-input, nvidia,tristate, nvidia,open-drain,
|
||||||
|
* nvidia,lock, nvidia,rcv-sel, nvidia,high-speed-mode, nvidia,schmitt.
|
||||||
|
*/
|
||||||
|
#define TEGRA_PIN_DISABLE 0
|
||||||
|
#define TEGRA_PIN_ENABLE 1
|
||||||
|
|
||||||
|
#define TEGRA_PIN_PULL_NONE 0
|
||||||
|
#define TEGRA_PIN_PULL_DOWN 1
|
||||||
|
#define TEGRA_PIN_PULL_UP 2
|
||||||
|
|
||||||
|
/* Low power mode driver */
|
||||||
|
#define TEGRA_PIN_LP_DRIVE_DIV_8 0
|
||||||
|
#define TEGRA_PIN_LP_DRIVE_DIV_4 1
|
||||||
|
#define TEGRA_PIN_LP_DRIVE_DIV_2 2
|
||||||
|
#define TEGRA_PIN_LP_DRIVE_DIV_1 3
|
||||||
|
|
||||||
|
/* Rising/Falling slew rate */
|
||||||
|
#define TEGRA_PIN_SLEW_RATE_FASTEST 0
|
||||||
|
#define TEGRA_PIN_SLEW_RATE_FAST 1
|
||||||
|
#define TEGRA_PIN_SLEW_RATE_SLOW 2
|
||||||
|
#define TEGRA_PIN_SLEW_RATE_SLOWEST 3
|
||||||
|
|
||||||
|
#endif
|
||||||
39
include/kernel/dt-bindings/power/tegra234-powergate.h
Normal file
39
include/kernel/dt-bindings/power/tegra234-powergate.h
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. */
|
||||||
|
|
||||||
|
#ifndef __ABI_MACH_T234_POWERGATE_T234_H_
|
||||||
|
#define __ABI_MACH_T234_POWERGATE_T234_H_
|
||||||
|
|
||||||
|
#define TEGRA234_POWER_DOMAIN_OFA 1U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_AUD 2U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_DISP 3U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PCIEX8A 5U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PCIEX4A 6U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PCIEX4BA 7U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PCIEX4BB 8U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PCIEX1A 9U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_XUSBA 10U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_XUSBB 11U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_XUSBC 12U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PCIEX4CA 13U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PCIEX4CB 14U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PCIEX4CC 15U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PCIEX8B 16U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_MGBEA 17U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_MGBEB 18U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_MGBEC 19U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_MGBED 20U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_ISPA 22U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_NVDEC 23U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_NVJPGA 24U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_NVENC 25U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_VI 28U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_VIC 29U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_PVA 30U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_DLAA 32U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_DLAB 33U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_CV 34U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_GPU 35U
|
||||||
|
#define TEGRA234_POWER_DOMAIN_NVJPGB 36U
|
||||||
|
|
||||||
|
#endif
|
||||||
182
include/kernel/dt-bindings/reset/tegra234-reset.h
Normal file
182
include/kernel/dt-bindings/reset/tegra234-reset.h
Normal file
@@ -0,0 +1,182 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved. */
|
||||||
|
|
||||||
|
#ifndef DT_BINDINGS_RESET_TEGRA234_RESET_H
|
||||||
|
#define DT_BINDINGS_RESET_TEGRA234_RESET_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_PEX1_CORE_6 11U
|
||||||
|
#define TEGRA234_RESET_PEX1_CORE_6_APB 12U
|
||||||
|
#define TEGRA234_RESET_PEX1_COMMON_APB 13U
|
||||||
|
#define TEGRA234_RESET_PEX2_CORE_7 14U
|
||||||
|
#define TEGRA234_RESET_PEX2_CORE_7_APB 15U
|
||||||
|
#define TEGRA234_RESET_NVDISPLAY 16U
|
||||||
|
#define TEGRA234_RESET_EQOS 17U
|
||||||
|
#define TEGRA234_RESET_GPCDMA 18U
|
||||||
|
#define TEGRA234_RESET_GPU 19U
|
||||||
|
#define TEGRA234_RESET_HDA 20U
|
||||||
|
#define TEGRA234_RESET_HDACODEC 21U
|
||||||
|
#define TEGRA234_RESET_EQOS_MACSEC 22U
|
||||||
|
#define TEGRA234_RESET_EQOS_MACSEC_SECURE 23U
|
||||||
|
#define TEGRA234_RESET_I2C1 24U
|
||||||
|
#define TEGRA234_RESET_PEX2_CORE_8 25U
|
||||||
|
#define TEGRA234_RESET_PEX2_CORE_8_APB 26U
|
||||||
|
#define TEGRA234_RESET_PEX2_CORE_9 27U
|
||||||
|
#define TEGRA234_RESET_PEX2_CORE_9_APB 28U
|
||||||
|
#define TEGRA234_RESET_I2C2 29U
|
||||||
|
#define TEGRA234_RESET_I2C3 30U
|
||||||
|
#define TEGRA234_RESET_I2C4 31U
|
||||||
|
#define TEGRA234_RESET_I2C6 32U
|
||||||
|
#define TEGRA234_RESET_I2C7 33U
|
||||||
|
#define TEGRA234_RESET_I2C8 34U
|
||||||
|
#define TEGRA234_RESET_I2C9 35U
|
||||||
|
#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_PCS 45U
|
||||||
|
#define TEGRA234_RESET_MGBE0_MAC 46U
|
||||||
|
#define TEGRA234_RESET_MGBE0_MACSEC 47U
|
||||||
|
#define TEGRA234_RESET_MGBE0_MACSEC_SECURE 48U
|
||||||
|
#define TEGRA234_RESET_MGBE1_PCS 49U
|
||||||
|
#define TEGRA234_RESET_MGBE1_MAC 50U
|
||||||
|
#define TEGRA234_RESET_MGBE1_MACSEC 51U
|
||||||
|
#define TEGRA234_RESET_MGBE1_MACSEC_SECURE 52U
|
||||||
|
#define TEGRA234_RESET_MGBE2_PCS 53U
|
||||||
|
#define TEGRA234_RESET_MGBE2_MAC 54U
|
||||||
|
#define TEGRA234_RESET_MGBE2_MACSEC 55U
|
||||||
|
#define TEGRA234_RESET_PEX2_CORE_10 56U
|
||||||
|
#define TEGRA234_RESET_PEX2_CORE_10_APB 57U
|
||||||
|
#define TEGRA234_RESET_PEX2_COMMON_APB 58U
|
||||||
|
#define TEGRA234_RESET_NVENC 59U
|
||||||
|
#define TEGRA234_RESET_MGBE2_MACSEC_SECURE 60U
|
||||||
|
#define TEGRA234_RESET_NVJPG 61U
|
||||||
|
#define TEGRA234_RESET_LA 64U
|
||||||
|
#define TEGRA234_RESET_HWPM 65U
|
||||||
|
#define TEGRA234_RESET_PVA0_ALL 66U
|
||||||
|
#define TEGRA234_RESET_CEC 67U
|
||||||
|
#define TEGRA234_RESET_PWM1 68U
|
||||||
|
#define TEGRA234_RESET_PWM2 69U
|
||||||
|
#define TEGRA234_RESET_PWM3 70U
|
||||||
|
#define TEGRA234_RESET_PWM4 71U
|
||||||
|
#define TEGRA234_RESET_PWM5 72U
|
||||||
|
#define TEGRA234_RESET_PWM6 73U
|
||||||
|
#define TEGRA234_RESET_PWM7 74U
|
||||||
|
#define TEGRA234_RESET_PWM8 75U
|
||||||
|
#define TEGRA234_RESET_QSPI0 76U
|
||||||
|
#define TEGRA234_RESET_QSPI1 77U
|
||||||
|
#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
|
||||||
|
#define TEGRA234_RESET_SDMMC4 85U
|
||||||
|
#define TEGRA234_RESET_MGBE3_PCS 87U
|
||||||
|
#define TEGRA234_RESET_MGBE3_MAC 88U
|
||||||
|
#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_UARTA 100U
|
||||||
|
#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_VIC 113U
|
||||||
|
#define TEGRA234_RESET_XUSB_PADCTL 114U
|
||||||
|
#define TEGRA234_RESET_VI2 115U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_0 116U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_1 117U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_2 118U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_3 119U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_4 120U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_0_APB 121U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_1_APB 122U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_2_APB 123U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_3_APB 124U
|
||||||
|
#define TEGRA234_RESET_PEX0_CORE_4_APB 125U
|
||||||
|
#define TEGRA234_RESET_PEX0_COMMON_APB 126U
|
||||||
|
#define TEGRA234_RESET_RSVD_127 127U
|
||||||
|
#define TEGRA234_RESET_NVHS_UPHY_PLL1 128U
|
||||||
|
#define TEGRA234_RESET_PEX1_CORE_5 129U
|
||||||
|
#define TEGRA234_RESET_PEX1_CORE_5_APB 130U
|
||||||
|
#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
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
|
#endif
|
||||||
977
include/kernel/uapi/linux/input-event-codes.h
Normal file
977
include/kernel/uapi/linux/input-event-codes.h
Normal file
@@ -0,0 +1,977 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
|
||||||
|
/*
|
||||||
|
* Input event codes
|
||||||
|
*
|
||||||
|
* *** IMPORTANT ***
|
||||||
|
* This file is not only included from C-code but also from devicetree source
|
||||||
|
* files. As such this file MUST only contain comments and defines.
|
||||||
|
*
|
||||||
|
* Copyright (c) 1999-2002 Vojtech Pavlik
|
||||||
|
* Copyright (c) 2015 Hans de Goede <hdegoede@redhat.com>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 as published by
|
||||||
|
* the Free Software Foundation.
|
||||||
|
*/
|
||||||
|
#ifndef _UAPI_INPUT_EVENT_CODES_H
|
||||||
|
#define _UAPI_INPUT_EVENT_CODES_H
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Device properties and quirks
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define INPUT_PROP_POINTER 0x00 /* needs a pointer */
|
||||||
|
#define INPUT_PROP_DIRECT 0x01 /* direct input devices */
|
||||||
|
#define INPUT_PROP_BUTTONPAD 0x02 /* has button(s) under pad */
|
||||||
|
#define INPUT_PROP_SEMI_MT 0x03 /* touch rectangle only */
|
||||||
|
#define INPUT_PROP_TOPBUTTONPAD 0x04 /* softbuttons at top of pad */
|
||||||
|
#define INPUT_PROP_POINTING_STICK 0x05 /* is a pointing stick */
|
||||||
|
#define INPUT_PROP_ACCELEROMETER 0x06 /* has accelerometer */
|
||||||
|
|
||||||
|
#define INPUT_PROP_MAX 0x1f
|
||||||
|
#define INPUT_PROP_CNT (INPUT_PROP_MAX + 1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Event types
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define EV_SYN 0x00
|
||||||
|
#define EV_KEY 0x01
|
||||||
|
#define EV_REL 0x02
|
||||||
|
#define EV_ABS 0x03
|
||||||
|
#define EV_MSC 0x04
|
||||||
|
#define EV_SW 0x05
|
||||||
|
#define EV_LED 0x11
|
||||||
|
#define EV_SND 0x12
|
||||||
|
#define EV_REP 0x14
|
||||||
|
#define EV_FF 0x15
|
||||||
|
#define EV_PWR 0x16
|
||||||
|
#define EV_FF_STATUS 0x17
|
||||||
|
#define EV_MAX 0x1f
|
||||||
|
#define EV_CNT (EV_MAX+1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Synchronization events.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define SYN_REPORT 0
|
||||||
|
#define SYN_CONFIG 1
|
||||||
|
#define SYN_MT_REPORT 2
|
||||||
|
#define SYN_DROPPED 3
|
||||||
|
#define SYN_MAX 0xf
|
||||||
|
#define SYN_CNT (SYN_MAX+1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Keys and buttons
|
||||||
|
*
|
||||||
|
* Most of the keys/buttons are modeled after USB HUT 1.12
|
||||||
|
* (see http://www.usb.org/developers/hidpage).
|
||||||
|
* Abbreviations in the comments:
|
||||||
|
* AC - Application Control
|
||||||
|
* AL - Application Launch Button
|
||||||
|
* SC - System Control
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define KEY_RESERVED 0
|
||||||
|
#define KEY_ESC 1
|
||||||
|
#define KEY_1 2
|
||||||
|
#define KEY_2 3
|
||||||
|
#define KEY_3 4
|
||||||
|
#define KEY_4 5
|
||||||
|
#define KEY_5 6
|
||||||
|
#define KEY_6 7
|
||||||
|
#define KEY_7 8
|
||||||
|
#define KEY_8 9
|
||||||
|
#define KEY_9 10
|
||||||
|
#define KEY_0 11
|
||||||
|
#define KEY_MINUS 12
|
||||||
|
#define KEY_EQUAL 13
|
||||||
|
#define KEY_BACKSPACE 14
|
||||||
|
#define KEY_TAB 15
|
||||||
|
#define KEY_Q 16
|
||||||
|
#define KEY_W 17
|
||||||
|
#define KEY_E 18
|
||||||
|
#define KEY_R 19
|
||||||
|
#define KEY_T 20
|
||||||
|
#define KEY_Y 21
|
||||||
|
#define KEY_U 22
|
||||||
|
#define KEY_I 23
|
||||||
|
#define KEY_O 24
|
||||||
|
#define KEY_P 25
|
||||||
|
#define KEY_LEFTBRACE 26
|
||||||
|
#define KEY_RIGHTBRACE 27
|
||||||
|
#define KEY_ENTER 28
|
||||||
|
#define KEY_LEFTCTRL 29
|
||||||
|
#define KEY_A 30
|
||||||
|
#define KEY_S 31
|
||||||
|
#define KEY_D 32
|
||||||
|
#define KEY_F 33
|
||||||
|
#define KEY_G 34
|
||||||
|
#define KEY_H 35
|
||||||
|
#define KEY_J 36
|
||||||
|
#define KEY_K 37
|
||||||
|
#define KEY_L 38
|
||||||
|
#define KEY_SEMICOLON 39
|
||||||
|
#define KEY_APOSTROPHE 40
|
||||||
|
#define KEY_GRAVE 41
|
||||||
|
#define KEY_LEFTSHIFT 42
|
||||||
|
#define KEY_BACKSLASH 43
|
||||||
|
#define KEY_Z 44
|
||||||
|
#define KEY_X 45
|
||||||
|
#define KEY_C 46
|
||||||
|
#define KEY_V 47
|
||||||
|
#define KEY_B 48
|
||||||
|
#define KEY_N 49
|
||||||
|
#define KEY_M 50
|
||||||
|
#define KEY_COMMA 51
|
||||||
|
#define KEY_DOT 52
|
||||||
|
#define KEY_SLASH 53
|
||||||
|
#define KEY_RIGHTSHIFT 54
|
||||||
|
#define KEY_KPASTERISK 55
|
||||||
|
#define KEY_LEFTALT 56
|
||||||
|
#define KEY_SPACE 57
|
||||||
|
#define KEY_CAPSLOCK 58
|
||||||
|
#define KEY_F1 59
|
||||||
|
#define KEY_F2 60
|
||||||
|
#define KEY_F3 61
|
||||||
|
#define KEY_F4 62
|
||||||
|
#define KEY_F5 63
|
||||||
|
#define KEY_F6 64
|
||||||
|
#define KEY_F7 65
|
||||||
|
#define KEY_F8 66
|
||||||
|
#define KEY_F9 67
|
||||||
|
#define KEY_F10 68
|
||||||
|
#define KEY_NUMLOCK 69
|
||||||
|
#define KEY_SCROLLLOCK 70
|
||||||
|
#define KEY_KP7 71
|
||||||
|
#define KEY_KP8 72
|
||||||
|
#define KEY_KP9 73
|
||||||
|
#define KEY_KPMINUS 74
|
||||||
|
#define KEY_KP4 75
|
||||||
|
#define KEY_KP5 76
|
||||||
|
#define KEY_KP6 77
|
||||||
|
#define KEY_KPPLUS 78
|
||||||
|
#define KEY_KP1 79
|
||||||
|
#define KEY_KP2 80
|
||||||
|
#define KEY_KP3 81
|
||||||
|
#define KEY_KP0 82
|
||||||
|
#define KEY_KPDOT 83
|
||||||
|
|
||||||
|
#define KEY_ZENKAKUHANKAKU 85
|
||||||
|
#define KEY_102ND 86
|
||||||
|
#define KEY_F11 87
|
||||||
|
#define KEY_F12 88
|
||||||
|
#define KEY_RO 89
|
||||||
|
#define KEY_KATAKANA 90
|
||||||
|
#define KEY_HIRAGANA 91
|
||||||
|
#define KEY_HENKAN 92
|
||||||
|
#define KEY_KATAKANAHIRAGANA 93
|
||||||
|
#define KEY_MUHENKAN 94
|
||||||
|
#define KEY_KPJPCOMMA 95
|
||||||
|
#define KEY_KPENTER 96
|
||||||
|
#define KEY_RIGHTCTRL 97
|
||||||
|
#define KEY_KPSLASH 98
|
||||||
|
#define KEY_SYSRQ 99
|
||||||
|
#define KEY_RIGHTALT 100
|
||||||
|
#define KEY_LINEFEED 101
|
||||||
|
#define KEY_HOME 102
|
||||||
|
#define KEY_UP 103
|
||||||
|
#define KEY_PAGEUP 104
|
||||||
|
#define KEY_LEFT 105
|
||||||
|
#define KEY_RIGHT 106
|
||||||
|
#define KEY_END 107
|
||||||
|
#define KEY_DOWN 108
|
||||||
|
#define KEY_PAGEDOWN 109
|
||||||
|
#define KEY_INSERT 110
|
||||||
|
#define KEY_DELETE 111
|
||||||
|
#define KEY_MACRO 112
|
||||||
|
#define KEY_MUTE 113
|
||||||
|
#define KEY_VOLUMEDOWN 114
|
||||||
|
#define KEY_VOLUMEUP 115
|
||||||
|
#define KEY_POWER 116 /* SC System Power Down */
|
||||||
|
#define KEY_KPEQUAL 117
|
||||||
|
#define KEY_KPPLUSMINUS 118
|
||||||
|
#define KEY_PAUSE 119
|
||||||
|
#define KEY_SCALE 120 /* AL Compiz Scale (Expose) */
|
||||||
|
|
||||||
|
#define KEY_KPCOMMA 121
|
||||||
|
#define KEY_HANGEUL 122
|
||||||
|
#define KEY_HANGUEL KEY_HANGEUL
|
||||||
|
#define KEY_HANJA 123
|
||||||
|
#define KEY_YEN 124
|
||||||
|
#define KEY_LEFTMETA 125
|
||||||
|
#define KEY_RIGHTMETA 126
|
||||||
|
#define KEY_COMPOSE 127
|
||||||
|
|
||||||
|
#define KEY_STOP 128 /* AC Stop */
|
||||||
|
#define KEY_AGAIN 129
|
||||||
|
#define KEY_PROPS 130 /* AC Properties */
|
||||||
|
#define KEY_UNDO 131 /* AC Undo */
|
||||||
|
#define KEY_FRONT 132
|
||||||
|
#define KEY_COPY 133 /* AC Copy */
|
||||||
|
#define KEY_OPEN 134 /* AC Open */
|
||||||
|
#define KEY_PASTE 135 /* AC Paste */
|
||||||
|
#define KEY_FIND 136 /* AC Search */
|
||||||
|
#define KEY_CUT 137 /* AC Cut */
|
||||||
|
#define KEY_HELP 138 /* AL Integrated Help Center */
|
||||||
|
#define KEY_MENU 139 /* Menu (show menu) */
|
||||||
|
#define KEY_CALC 140 /* AL Calculator */
|
||||||
|
#define KEY_SETUP 141
|
||||||
|
#define KEY_SLEEP 142 /* SC System Sleep */
|
||||||
|
#define KEY_WAKEUP 143 /* System Wake Up */
|
||||||
|
#define KEY_FILE 144 /* AL Local Machine Browser */
|
||||||
|
#define KEY_SENDFILE 145
|
||||||
|
#define KEY_DELETEFILE 146
|
||||||
|
#define KEY_XFER 147
|
||||||
|
#define KEY_PROG1 148
|
||||||
|
#define KEY_PROG2 149
|
||||||
|
#define KEY_WWW 150 /* AL Internet Browser */
|
||||||
|
#define KEY_MSDOS 151
|
||||||
|
#define KEY_COFFEE 152 /* AL Terminal Lock/Screensaver */
|
||||||
|
#define KEY_SCREENLOCK KEY_COFFEE
|
||||||
|
#define KEY_ROTATE_DISPLAY 153 /* Display orientation for e.g. tablets */
|
||||||
|
#define KEY_DIRECTION KEY_ROTATE_DISPLAY
|
||||||
|
#define KEY_CYCLEWINDOWS 154
|
||||||
|
#define KEY_MAIL 155
|
||||||
|
#define KEY_BOOKMARKS 156 /* AC Bookmarks */
|
||||||
|
#define KEY_COMPUTER 157
|
||||||
|
#define KEY_BACK 158 /* AC Back */
|
||||||
|
#define KEY_FORWARD 159 /* AC Forward */
|
||||||
|
#define KEY_CLOSECD 160
|
||||||
|
#define KEY_EJECTCD 161
|
||||||
|
#define KEY_EJECTCLOSECD 162
|
||||||
|
#define KEY_NEXTSONG 163
|
||||||
|
#define KEY_PLAYPAUSE 164
|
||||||
|
#define KEY_PREVIOUSSONG 165
|
||||||
|
#define KEY_STOPCD 166
|
||||||
|
#define KEY_RECORD 167
|
||||||
|
#define KEY_REWIND 168
|
||||||
|
#define KEY_PHONE 169 /* Media Select Telephone */
|
||||||
|
#define KEY_ISO 170
|
||||||
|
#define KEY_CONFIG 171 /* AL Consumer Control Configuration */
|
||||||
|
#define KEY_HOMEPAGE 172 /* AC Home */
|
||||||
|
#define KEY_REFRESH 173 /* AC Refresh */
|
||||||
|
#define KEY_EXIT 174 /* AC Exit */
|
||||||
|
#define KEY_MOVE 175
|
||||||
|
#define KEY_EDIT 176
|
||||||
|
#define KEY_SCROLLUP 177
|
||||||
|
#define KEY_SCROLLDOWN 178
|
||||||
|
#define KEY_KPLEFTPAREN 179
|
||||||
|
#define KEY_KPRIGHTPAREN 180
|
||||||
|
#define KEY_NEW 181 /* AC New */
|
||||||
|
#define KEY_REDO 182 /* AC Redo/Repeat */
|
||||||
|
|
||||||
|
#define KEY_F13 183
|
||||||
|
#define KEY_F14 184
|
||||||
|
#define KEY_F15 185
|
||||||
|
#define KEY_F16 186
|
||||||
|
#define KEY_F17 187
|
||||||
|
#define KEY_F18 188
|
||||||
|
#define KEY_F19 189
|
||||||
|
#define KEY_F20 190
|
||||||
|
#define KEY_F21 191
|
||||||
|
#define KEY_F22 192
|
||||||
|
#define KEY_F23 193
|
||||||
|
#define KEY_F24 194
|
||||||
|
|
||||||
|
#define KEY_PLAYCD 200
|
||||||
|
#define KEY_PAUSECD 201
|
||||||
|
#define KEY_PROG3 202
|
||||||
|
#define KEY_PROG4 203
|
||||||
|
#define KEY_ALL_APPLICATIONS 204 /* AC Desktop Show All Applications */
|
||||||
|
#define KEY_DASHBOARD KEY_ALL_APPLICATIONS
|
||||||
|
#define KEY_SUSPEND 205
|
||||||
|
#define KEY_CLOSE 206 /* AC Close */
|
||||||
|
#define KEY_PLAY 207
|
||||||
|
#define KEY_FASTFORWARD 208
|
||||||
|
#define KEY_BASSBOOST 209
|
||||||
|
#define KEY_PRINT 210 /* AC Print */
|
||||||
|
#define KEY_HP 211
|
||||||
|
#define KEY_CAMERA 212
|
||||||
|
#define KEY_SOUND 213
|
||||||
|
#define KEY_QUESTION 214
|
||||||
|
#define KEY_EMAIL 215
|
||||||
|
#define KEY_CHAT 216
|
||||||
|
#define KEY_SEARCH 217
|
||||||
|
#define KEY_CONNECT 218
|
||||||
|
#define KEY_FINANCE 219 /* AL Checkbook/Finance */
|
||||||
|
#define KEY_SPORT 220
|
||||||
|
#define KEY_SHOP 221
|
||||||
|
#define KEY_ALTERASE 222
|
||||||
|
#define KEY_CANCEL 223 /* AC Cancel */
|
||||||
|
#define KEY_BRIGHTNESSDOWN 224
|
||||||
|
#define KEY_BRIGHTNESSUP 225
|
||||||
|
#define KEY_MEDIA 226
|
||||||
|
|
||||||
|
#define KEY_SWITCHVIDEOMODE 227 /* Cycle between available video
|
||||||
|
outputs (Monitor/LCD/TV-out/etc) */
|
||||||
|
#define KEY_KBDILLUMTOGGLE 228
|
||||||
|
#define KEY_KBDILLUMDOWN 229
|
||||||
|
#define KEY_KBDILLUMUP 230
|
||||||
|
|
||||||
|
#define KEY_SEND 231 /* AC Send */
|
||||||
|
#define KEY_REPLY 232 /* AC Reply */
|
||||||
|
#define KEY_FORWARDMAIL 233 /* AC Forward Msg */
|
||||||
|
#define KEY_SAVE 234 /* AC Save */
|
||||||
|
#define KEY_DOCUMENTS 235
|
||||||
|
|
||||||
|
#define KEY_BATTERY 236
|
||||||
|
|
||||||
|
#define KEY_BLUETOOTH 237
|
||||||
|
#define KEY_WLAN 238
|
||||||
|
#define KEY_UWB 239
|
||||||
|
|
||||||
|
#define KEY_UNKNOWN 240
|
||||||
|
|
||||||
|
#define KEY_VIDEO_NEXT 241 /* drive next video source */
|
||||||
|
#define KEY_VIDEO_PREV 242 /* drive previous video source */
|
||||||
|
#define KEY_BRIGHTNESS_CYCLE 243 /* brightness up, after max is min */
|
||||||
|
#define KEY_BRIGHTNESS_AUTO 244 /* Set Auto Brightness: manual
|
||||||
|
brightness control is off,
|
||||||
|
rely on ambient */
|
||||||
|
#define KEY_BRIGHTNESS_ZERO KEY_BRIGHTNESS_AUTO
|
||||||
|
#define KEY_DISPLAY_OFF 245 /* display device to off state */
|
||||||
|
|
||||||
|
#define KEY_WWAN 246 /* Wireless WAN (LTE, UMTS, GSM, etc.) */
|
||||||
|
#define KEY_WIMAX KEY_WWAN
|
||||||
|
#define KEY_RFKILL 247 /* Key that controls all radios */
|
||||||
|
|
||||||
|
#define KEY_MICMUTE 248 /* Mute / unmute the microphone */
|
||||||
|
|
||||||
|
/* Code 255 is reserved for special needs of AT keyboard driver */
|
||||||
|
|
||||||
|
#define BTN_MISC 0x100
|
||||||
|
#define BTN_0 0x100
|
||||||
|
#define BTN_1 0x101
|
||||||
|
#define BTN_2 0x102
|
||||||
|
#define BTN_3 0x103
|
||||||
|
#define BTN_4 0x104
|
||||||
|
#define BTN_5 0x105
|
||||||
|
#define BTN_6 0x106
|
||||||
|
#define BTN_7 0x107
|
||||||
|
#define BTN_8 0x108
|
||||||
|
#define BTN_9 0x109
|
||||||
|
|
||||||
|
#define BTN_MOUSE 0x110
|
||||||
|
#define BTN_LEFT 0x110
|
||||||
|
#define BTN_RIGHT 0x111
|
||||||
|
#define BTN_MIDDLE 0x112
|
||||||
|
#define BTN_SIDE 0x113
|
||||||
|
#define BTN_EXTRA 0x114
|
||||||
|
#define BTN_FORWARD 0x115
|
||||||
|
#define BTN_BACK 0x116
|
||||||
|
#define BTN_TASK 0x117
|
||||||
|
|
||||||
|
#define BTN_JOYSTICK 0x120
|
||||||
|
#define BTN_TRIGGER 0x120
|
||||||
|
#define BTN_THUMB 0x121
|
||||||
|
#define BTN_THUMB2 0x122
|
||||||
|
#define BTN_TOP 0x123
|
||||||
|
#define BTN_TOP2 0x124
|
||||||
|
#define BTN_PINKIE 0x125
|
||||||
|
#define BTN_BASE 0x126
|
||||||
|
#define BTN_BASE2 0x127
|
||||||
|
#define BTN_BASE3 0x128
|
||||||
|
#define BTN_BASE4 0x129
|
||||||
|
#define BTN_BASE5 0x12a
|
||||||
|
#define BTN_BASE6 0x12b
|
||||||
|
#define BTN_DEAD 0x12f
|
||||||
|
|
||||||
|
#define BTN_GAMEPAD 0x130
|
||||||
|
#define BTN_SOUTH 0x130
|
||||||
|
#define BTN_A BTN_SOUTH
|
||||||
|
#define BTN_EAST 0x131
|
||||||
|
#define BTN_B BTN_EAST
|
||||||
|
#define BTN_C 0x132
|
||||||
|
#define BTN_NORTH 0x133
|
||||||
|
#define BTN_X BTN_NORTH
|
||||||
|
#define BTN_WEST 0x134
|
||||||
|
#define BTN_Y BTN_WEST
|
||||||
|
#define BTN_Z 0x135
|
||||||
|
#define BTN_TL 0x136
|
||||||
|
#define BTN_TR 0x137
|
||||||
|
#define BTN_TL2 0x138
|
||||||
|
#define BTN_TR2 0x139
|
||||||
|
#define BTN_SELECT 0x13a
|
||||||
|
#define BTN_START 0x13b
|
||||||
|
#define BTN_MODE 0x13c
|
||||||
|
#define BTN_THUMBL 0x13d
|
||||||
|
#define BTN_THUMBR 0x13e
|
||||||
|
|
||||||
|
#define BTN_DIGI 0x140
|
||||||
|
#define BTN_TOOL_PEN 0x140
|
||||||
|
#define BTN_TOOL_RUBBER 0x141
|
||||||
|
#define BTN_TOOL_BRUSH 0x142
|
||||||
|
#define BTN_TOOL_PENCIL 0x143
|
||||||
|
#define BTN_TOOL_AIRBRUSH 0x144
|
||||||
|
#define BTN_TOOL_FINGER 0x145
|
||||||
|
#define BTN_TOOL_MOUSE 0x146
|
||||||
|
#define BTN_TOOL_LENS 0x147
|
||||||
|
#define BTN_TOOL_QUINTTAP 0x148 /* Five fingers on trackpad */
|
||||||
|
#define BTN_STYLUS3 0x149
|
||||||
|
#define BTN_TOUCH 0x14a
|
||||||
|
#define BTN_STYLUS 0x14b
|
||||||
|
#define BTN_STYLUS2 0x14c
|
||||||
|
#define BTN_TOOL_DOUBLETAP 0x14d
|
||||||
|
#define BTN_TOOL_TRIPLETAP 0x14e
|
||||||
|
#define BTN_TOOL_QUADTAP 0x14f /* Four fingers on trackpad */
|
||||||
|
|
||||||
|
#define BTN_WHEEL 0x150
|
||||||
|
#define BTN_GEAR_DOWN 0x150
|
||||||
|
#define BTN_GEAR_UP 0x151
|
||||||
|
|
||||||
|
#define KEY_OK 0x160
|
||||||
|
#define KEY_SELECT 0x161
|
||||||
|
#define KEY_GOTO 0x162
|
||||||
|
#define KEY_CLEAR 0x163
|
||||||
|
#define KEY_POWER2 0x164
|
||||||
|
#define KEY_OPTION 0x165
|
||||||
|
#define KEY_INFO 0x166 /* AL OEM Features/Tips/Tutorial */
|
||||||
|
#define KEY_TIME 0x167
|
||||||
|
#define KEY_VENDOR 0x168
|
||||||
|
#define KEY_ARCHIVE 0x169
|
||||||
|
#define KEY_PROGRAM 0x16a /* Media Select Program Guide */
|
||||||
|
#define KEY_CHANNEL 0x16b
|
||||||
|
#define KEY_FAVORITES 0x16c
|
||||||
|
#define KEY_EPG 0x16d
|
||||||
|
#define KEY_PVR 0x16e /* Media Select Home */
|
||||||
|
#define KEY_MHP 0x16f
|
||||||
|
#define KEY_LANGUAGE 0x170
|
||||||
|
#define KEY_TITLE 0x171
|
||||||
|
#define KEY_SUBTITLE 0x172
|
||||||
|
#define KEY_ANGLE 0x173
|
||||||
|
#define KEY_FULL_SCREEN 0x174 /* AC View Toggle */
|
||||||
|
#define KEY_ZOOM KEY_FULL_SCREEN
|
||||||
|
#define KEY_MODE 0x175
|
||||||
|
#define KEY_KEYBOARD 0x176
|
||||||
|
#define KEY_ASPECT_RATIO 0x177 /* HUTRR37: Aspect */
|
||||||
|
#define KEY_SCREEN KEY_ASPECT_RATIO
|
||||||
|
#define KEY_PC 0x178 /* Media Select Computer */
|
||||||
|
#define KEY_TV 0x179 /* Media Select TV */
|
||||||
|
#define KEY_TV2 0x17a /* Media Select Cable */
|
||||||
|
#define KEY_VCR 0x17b /* Media Select VCR */
|
||||||
|
#define KEY_VCR2 0x17c /* VCR Plus */
|
||||||
|
#define KEY_SAT 0x17d /* Media Select Satellite */
|
||||||
|
#define KEY_SAT2 0x17e
|
||||||
|
#define KEY_CD 0x17f /* Media Select CD */
|
||||||
|
#define KEY_TAPE 0x180 /* Media Select Tape */
|
||||||
|
#define KEY_RADIO 0x181
|
||||||
|
#define KEY_TUNER 0x182 /* Media Select Tuner */
|
||||||
|
#define KEY_PLAYER 0x183
|
||||||
|
#define KEY_TEXT 0x184
|
||||||
|
#define KEY_DVD 0x185 /* Media Select DVD */
|
||||||
|
#define KEY_AUX 0x186
|
||||||
|
#define KEY_MP3 0x187
|
||||||
|
#define KEY_AUDIO 0x188 /* AL Audio Browser */
|
||||||
|
#define KEY_VIDEO 0x189 /* AL Movie Browser */
|
||||||
|
#define KEY_DIRECTORY 0x18a
|
||||||
|
#define KEY_LIST 0x18b
|
||||||
|
#define KEY_MEMO 0x18c /* Media Select Messages */
|
||||||
|
#define KEY_CALENDAR 0x18d
|
||||||
|
#define KEY_RED 0x18e
|
||||||
|
#define KEY_GREEN 0x18f
|
||||||
|
#define KEY_YELLOW 0x190
|
||||||
|
#define KEY_BLUE 0x191
|
||||||
|
#define KEY_CHANNELUP 0x192 /* Channel Increment */
|
||||||
|
#define KEY_CHANNELDOWN 0x193 /* Channel Decrement */
|
||||||
|
#define KEY_FIRST 0x194
|
||||||
|
#define KEY_LAST 0x195 /* Recall Last */
|
||||||
|
#define KEY_AB 0x196
|
||||||
|
#define KEY_NEXT 0x197
|
||||||
|
#define KEY_RESTART 0x198
|
||||||
|
#define KEY_SLOW 0x199
|
||||||
|
#define KEY_SHUFFLE 0x19a
|
||||||
|
#define KEY_BREAK 0x19b
|
||||||
|
#define KEY_PREVIOUS 0x19c
|
||||||
|
#define KEY_DIGITS 0x19d
|
||||||
|
#define KEY_TEEN 0x19e
|
||||||
|
#define KEY_TWEN 0x19f
|
||||||
|
#define KEY_VIDEOPHONE 0x1a0 /* Media Select Video Phone */
|
||||||
|
#define KEY_GAMES 0x1a1 /* Media Select Games */
|
||||||
|
#define KEY_ZOOMIN 0x1a2 /* AC Zoom In */
|
||||||
|
#define KEY_ZOOMOUT 0x1a3 /* AC Zoom Out */
|
||||||
|
#define KEY_ZOOMRESET 0x1a4 /* AC Zoom */
|
||||||
|
#define KEY_WORDPROCESSOR 0x1a5 /* AL Word Processor */
|
||||||
|
#define KEY_EDITOR 0x1a6 /* AL Text Editor */
|
||||||
|
#define KEY_SPREADSHEET 0x1a7 /* AL Spreadsheet */
|
||||||
|
#define KEY_GRAPHICSEDITOR 0x1a8 /* AL Graphics Editor */
|
||||||
|
#define KEY_PRESENTATION 0x1a9 /* AL Presentation App */
|
||||||
|
#define KEY_DATABASE 0x1aa /* AL Database App */
|
||||||
|
#define KEY_NEWS 0x1ab /* AL Newsreader */
|
||||||
|
#define KEY_VOICEMAIL 0x1ac /* AL Voicemail */
|
||||||
|
#define KEY_ADDRESSBOOK 0x1ad /* AL Contacts/Address Book */
|
||||||
|
#define KEY_MESSENGER 0x1ae /* AL Instant Messaging */
|
||||||
|
#define KEY_DISPLAYTOGGLE 0x1af /* Turn display (LCD) on and off */
|
||||||
|
#define KEY_BRIGHTNESS_TOGGLE KEY_DISPLAYTOGGLE
|
||||||
|
#define KEY_SPELLCHECK 0x1b0 /* AL Spell Check */
|
||||||
|
#define KEY_LOGOFF 0x1b1 /* AL Logoff */
|
||||||
|
|
||||||
|
#define KEY_DOLLAR 0x1b2
|
||||||
|
#define KEY_EURO 0x1b3
|
||||||
|
|
||||||
|
#define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */
|
||||||
|
#define KEY_FRAMEFORWARD 0x1b5
|
||||||
|
#define KEY_CONTEXT_MENU 0x1b6 /* GenDesc - system context menu */
|
||||||
|
#define KEY_MEDIA_REPEAT 0x1b7 /* Consumer - transport control */
|
||||||
|
#define KEY_10CHANNELSUP 0x1b8 /* 10 channels up (10+) */
|
||||||
|
#define KEY_10CHANNELSDOWN 0x1b9 /* 10 channels down (10-) */
|
||||||
|
#define KEY_IMAGES 0x1ba /* AL Image Browser */
|
||||||
|
#define KEY_NOTIFICATION_CENTER 0x1bc /* Show/hide the notification center */
|
||||||
|
#define KEY_PICKUP_PHONE 0x1bd /* Answer incoming call */
|
||||||
|
#define KEY_HANGUP_PHONE 0x1be /* Decline incoming call */
|
||||||
|
|
||||||
|
#define KEY_DEL_EOL 0x1c0
|
||||||
|
#define KEY_DEL_EOS 0x1c1
|
||||||
|
#define KEY_INS_LINE 0x1c2
|
||||||
|
#define KEY_DEL_LINE 0x1c3
|
||||||
|
|
||||||
|
#define KEY_FN 0x1d0
|
||||||
|
#define KEY_FN_ESC 0x1d1
|
||||||
|
#define KEY_FN_F1 0x1d2
|
||||||
|
#define KEY_FN_F2 0x1d3
|
||||||
|
#define KEY_FN_F3 0x1d4
|
||||||
|
#define KEY_FN_F4 0x1d5
|
||||||
|
#define KEY_FN_F5 0x1d6
|
||||||
|
#define KEY_FN_F6 0x1d7
|
||||||
|
#define KEY_FN_F7 0x1d8
|
||||||
|
#define KEY_FN_F8 0x1d9
|
||||||
|
#define KEY_FN_F9 0x1da
|
||||||
|
#define KEY_FN_F10 0x1db
|
||||||
|
#define KEY_FN_F11 0x1dc
|
||||||
|
#define KEY_FN_F12 0x1dd
|
||||||
|
#define KEY_FN_1 0x1de
|
||||||
|
#define KEY_FN_2 0x1df
|
||||||
|
#define KEY_FN_D 0x1e0
|
||||||
|
#define KEY_FN_E 0x1e1
|
||||||
|
#define KEY_FN_F 0x1e2
|
||||||
|
#define KEY_FN_S 0x1e3
|
||||||
|
#define KEY_FN_B 0x1e4
|
||||||
|
#define KEY_FN_RIGHT_SHIFT 0x1e5
|
||||||
|
|
||||||
|
#define KEY_BRL_DOT1 0x1f1
|
||||||
|
#define KEY_BRL_DOT2 0x1f2
|
||||||
|
#define KEY_BRL_DOT3 0x1f3
|
||||||
|
#define KEY_BRL_DOT4 0x1f4
|
||||||
|
#define KEY_BRL_DOT5 0x1f5
|
||||||
|
#define KEY_BRL_DOT6 0x1f6
|
||||||
|
#define KEY_BRL_DOT7 0x1f7
|
||||||
|
#define KEY_BRL_DOT8 0x1f8
|
||||||
|
#define KEY_BRL_DOT9 0x1f9
|
||||||
|
#define KEY_BRL_DOT10 0x1fa
|
||||||
|
|
||||||
|
#define KEY_NUMERIC_0 0x200 /* used by phones, remote controls, */
|
||||||
|
#define KEY_NUMERIC_1 0x201 /* and other keypads */
|
||||||
|
#define KEY_NUMERIC_2 0x202
|
||||||
|
#define KEY_NUMERIC_3 0x203
|
||||||
|
#define KEY_NUMERIC_4 0x204
|
||||||
|
#define KEY_NUMERIC_5 0x205
|
||||||
|
#define KEY_NUMERIC_6 0x206
|
||||||
|
#define KEY_NUMERIC_7 0x207
|
||||||
|
#define KEY_NUMERIC_8 0x208
|
||||||
|
#define KEY_NUMERIC_9 0x209
|
||||||
|
#define KEY_NUMERIC_STAR 0x20a
|
||||||
|
#define KEY_NUMERIC_POUND 0x20b
|
||||||
|
#define KEY_NUMERIC_A 0x20c /* Phone key A - HUT Telephony 0xb9 */
|
||||||
|
#define KEY_NUMERIC_B 0x20d
|
||||||
|
#define KEY_NUMERIC_C 0x20e
|
||||||
|
#define KEY_NUMERIC_D 0x20f
|
||||||
|
|
||||||
|
#define KEY_CAMERA_FOCUS 0x210
|
||||||
|
#define KEY_WPS_BUTTON 0x211 /* WiFi Protected Setup key */
|
||||||
|
|
||||||
|
#define KEY_TOUCHPAD_TOGGLE 0x212 /* Request switch touchpad on or off */
|
||||||
|
#define KEY_TOUCHPAD_ON 0x213
|
||||||
|
#define KEY_TOUCHPAD_OFF 0x214
|
||||||
|
|
||||||
|
#define KEY_CAMERA_ZOOMIN 0x215
|
||||||
|
#define KEY_CAMERA_ZOOMOUT 0x216
|
||||||
|
#define KEY_CAMERA_UP 0x217
|
||||||
|
#define KEY_CAMERA_DOWN 0x218
|
||||||
|
#define KEY_CAMERA_LEFT 0x219
|
||||||
|
#define KEY_CAMERA_RIGHT 0x21a
|
||||||
|
|
||||||
|
#define KEY_ATTENDANT_ON 0x21b
|
||||||
|
#define KEY_ATTENDANT_OFF 0x21c
|
||||||
|
#define KEY_ATTENDANT_TOGGLE 0x21d /* Attendant call on or off */
|
||||||
|
#define KEY_LIGHTS_TOGGLE 0x21e /* Reading light on or off */
|
||||||
|
|
||||||
|
#define BTN_DPAD_UP 0x220
|
||||||
|
#define BTN_DPAD_DOWN 0x221
|
||||||
|
#define BTN_DPAD_LEFT 0x222
|
||||||
|
#define BTN_DPAD_RIGHT 0x223
|
||||||
|
|
||||||
|
#define KEY_ALS_TOGGLE 0x230 /* Ambient light sensor */
|
||||||
|
#define KEY_ROTATE_LOCK_TOGGLE 0x231 /* Display rotation lock */
|
||||||
|
|
||||||
|
#define KEY_BUTTONCONFIG 0x240 /* AL Button Configuration */
|
||||||
|
#define KEY_TASKMANAGER 0x241 /* AL Task/Project Manager */
|
||||||
|
#define KEY_JOURNAL 0x242 /* AL Log/Journal/Timecard */
|
||||||
|
#define KEY_CONTROLPANEL 0x243 /* AL Control Panel */
|
||||||
|
#define KEY_APPSELECT 0x244 /* AL Select Task/Application */
|
||||||
|
#define KEY_SCREENSAVER 0x245 /* AL Screen Saver */
|
||||||
|
#define KEY_VOICECOMMAND 0x246 /* Listening Voice Command */
|
||||||
|
#define KEY_ASSISTANT 0x247 /* AL Context-aware desktop assistant */
|
||||||
|
#define KEY_KBD_LAYOUT_NEXT 0x248 /* AC Next Keyboard Layout Select */
|
||||||
|
#define KEY_EMOJI_PICKER 0x249 /* Show/hide emoji picker (HUTRR101) */
|
||||||
|
#define KEY_DICTATE 0x24a /* Start or Stop Voice Dictation Session (HUTRR99) */
|
||||||
|
#define KEY_CAMERA_ACCESS_ENABLE 0x24b /* Enables programmatic access to camera devices. (HUTRR72) */
|
||||||
|
#define KEY_CAMERA_ACCESS_DISABLE 0x24c /* Disables programmatic access to camera devices. (HUTRR72) */
|
||||||
|
#define KEY_CAMERA_ACCESS_TOGGLE 0x24d /* Toggles the current state of the camera access control. (HUTRR72) */
|
||||||
|
|
||||||
|
#define KEY_BRIGHTNESS_MIN 0x250 /* Set Brightness to Minimum */
|
||||||
|
#define KEY_BRIGHTNESS_MAX 0x251 /* Set Brightness to Maximum */
|
||||||
|
|
||||||
|
#define KEY_KBDINPUTASSIST_PREV 0x260
|
||||||
|
#define KEY_KBDINPUTASSIST_NEXT 0x261
|
||||||
|
#define KEY_KBDINPUTASSIST_PREVGROUP 0x262
|
||||||
|
#define KEY_KBDINPUTASSIST_NEXTGROUP 0x263
|
||||||
|
#define KEY_KBDINPUTASSIST_ACCEPT 0x264
|
||||||
|
#define KEY_KBDINPUTASSIST_CANCEL 0x265
|
||||||
|
|
||||||
|
/* Diagonal movement keys */
|
||||||
|
#define KEY_RIGHT_UP 0x266
|
||||||
|
#define KEY_RIGHT_DOWN 0x267
|
||||||
|
#define KEY_LEFT_UP 0x268
|
||||||
|
#define KEY_LEFT_DOWN 0x269
|
||||||
|
|
||||||
|
#define KEY_ROOT_MENU 0x26a /* Show Device's Root Menu */
|
||||||
|
/* Show Top Menu of the Media (e.g. DVD) */
|
||||||
|
#define KEY_MEDIA_TOP_MENU 0x26b
|
||||||
|
#define KEY_NUMERIC_11 0x26c
|
||||||
|
#define KEY_NUMERIC_12 0x26d
|
||||||
|
/*
|
||||||
|
* Toggle Audio Description: refers to an audio service that helps blind and
|
||||||
|
* visually impaired consumers understand the action in a program. Note: in
|
||||||
|
* some countries this is referred to as "Video Description".
|
||||||
|
*/
|
||||||
|
#define KEY_AUDIO_DESC 0x26e
|
||||||
|
#define KEY_3D_MODE 0x26f
|
||||||
|
#define KEY_NEXT_FAVORITE 0x270
|
||||||
|
#define KEY_STOP_RECORD 0x271
|
||||||
|
#define KEY_PAUSE_RECORD 0x272
|
||||||
|
#define KEY_VOD 0x273 /* Video on Demand */
|
||||||
|
#define KEY_UNMUTE 0x274
|
||||||
|
#define KEY_FASTREVERSE 0x275
|
||||||
|
#define KEY_SLOWREVERSE 0x276
|
||||||
|
/*
|
||||||
|
* Control a data application associated with the currently viewed channel,
|
||||||
|
* e.g. teletext or data broadcast application (MHEG, MHP, HbbTV, etc.)
|
||||||
|
*/
|
||||||
|
#define KEY_DATA 0x277
|
||||||
|
#define KEY_ONSCREEN_KEYBOARD 0x278
|
||||||
|
/* Electronic privacy screen control */
|
||||||
|
#define KEY_PRIVACY_SCREEN_TOGGLE 0x279
|
||||||
|
|
||||||
|
/* Select an area of screen to be copied */
|
||||||
|
#define KEY_SELECTIVE_SCREENSHOT 0x27a
|
||||||
|
|
||||||
|
/* Move the focus to the next or previous user controllable element within a UI container */
|
||||||
|
#define KEY_NEXT_ELEMENT 0x27b
|
||||||
|
#define KEY_PREVIOUS_ELEMENT 0x27c
|
||||||
|
|
||||||
|
/* Toggle Autopilot engagement */
|
||||||
|
#define KEY_AUTOPILOT_ENGAGE_TOGGLE 0x27d
|
||||||
|
|
||||||
|
/* Shortcut Keys */
|
||||||
|
#define KEY_MARK_WAYPOINT 0x27e
|
||||||
|
#define KEY_SOS 0x27f
|
||||||
|
#define KEY_NAV_CHART 0x280
|
||||||
|
#define KEY_FISHING_CHART 0x281
|
||||||
|
#define KEY_SINGLE_RANGE_RADAR 0x282
|
||||||
|
#define KEY_DUAL_RANGE_RADAR 0x283
|
||||||
|
#define KEY_RADAR_OVERLAY 0x284
|
||||||
|
#define KEY_TRADITIONAL_SONAR 0x285
|
||||||
|
#define KEY_CLEARVU_SONAR 0x286
|
||||||
|
#define KEY_SIDEVU_SONAR 0x287
|
||||||
|
#define KEY_NAV_INFO 0x288
|
||||||
|
#define KEY_BRIGHTNESS_MENU 0x289
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Some keyboards have keys which do not have a defined meaning, these keys
|
||||||
|
* are intended to be programmed / bound to macros by the user. For most
|
||||||
|
* keyboards with these macro-keys the key-sequence to inject, or action to
|
||||||
|
* take, is all handled by software on the host side. So from the kernel's
|
||||||
|
* point of view these are just normal keys.
|
||||||
|
*
|
||||||
|
* The KEY_MACRO# codes below are intended for such keys, which may be labeled
|
||||||
|
* e.g. G1-G18, or S1 - S30. The KEY_MACRO# codes MUST NOT be used for keys
|
||||||
|
* where the marking on the key does indicate a defined meaning / purpose.
|
||||||
|
*
|
||||||
|
* The KEY_MACRO# codes MUST also NOT be used as fallback for when no existing
|
||||||
|
* KEY_FOO define matches the marking / purpose. In this case a new KEY_FOO
|
||||||
|
* define MUST be added.
|
||||||
|
*/
|
||||||
|
#define KEY_MACRO1 0x290
|
||||||
|
#define KEY_MACRO2 0x291
|
||||||
|
#define KEY_MACRO3 0x292
|
||||||
|
#define KEY_MACRO4 0x293
|
||||||
|
#define KEY_MACRO5 0x294
|
||||||
|
#define KEY_MACRO6 0x295
|
||||||
|
#define KEY_MACRO7 0x296
|
||||||
|
#define KEY_MACRO8 0x297
|
||||||
|
#define KEY_MACRO9 0x298
|
||||||
|
#define KEY_MACRO10 0x299
|
||||||
|
#define KEY_MACRO11 0x29a
|
||||||
|
#define KEY_MACRO12 0x29b
|
||||||
|
#define KEY_MACRO13 0x29c
|
||||||
|
#define KEY_MACRO14 0x29d
|
||||||
|
#define KEY_MACRO15 0x29e
|
||||||
|
#define KEY_MACRO16 0x29f
|
||||||
|
#define KEY_MACRO17 0x2a0
|
||||||
|
#define KEY_MACRO18 0x2a1
|
||||||
|
#define KEY_MACRO19 0x2a2
|
||||||
|
#define KEY_MACRO20 0x2a3
|
||||||
|
#define KEY_MACRO21 0x2a4
|
||||||
|
#define KEY_MACRO22 0x2a5
|
||||||
|
#define KEY_MACRO23 0x2a6
|
||||||
|
#define KEY_MACRO24 0x2a7
|
||||||
|
#define KEY_MACRO25 0x2a8
|
||||||
|
#define KEY_MACRO26 0x2a9
|
||||||
|
#define KEY_MACRO27 0x2aa
|
||||||
|
#define KEY_MACRO28 0x2ab
|
||||||
|
#define KEY_MACRO29 0x2ac
|
||||||
|
#define KEY_MACRO30 0x2ad
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Some keyboards with the macro-keys described above have some extra keys
|
||||||
|
* for controlling the host-side software responsible for the macro handling:
|
||||||
|
* -A macro recording start/stop key. Note that not all keyboards which emit
|
||||||
|
* KEY_MACRO_RECORD_START will also emit KEY_MACRO_RECORD_STOP if
|
||||||
|
* KEY_MACRO_RECORD_STOP is not advertised, then KEY_MACRO_RECORD_START
|
||||||
|
* should be interpreted as a recording start/stop toggle;
|
||||||
|
* -Keys for switching between different macro (pre)sets, either a key for
|
||||||
|
* cycling through the configured presets or keys to directly select a preset.
|
||||||
|
*/
|
||||||
|
#define KEY_MACRO_RECORD_START 0x2b0
|
||||||
|
#define KEY_MACRO_RECORD_STOP 0x2b1
|
||||||
|
#define KEY_MACRO_PRESET_CYCLE 0x2b2
|
||||||
|
#define KEY_MACRO_PRESET1 0x2b3
|
||||||
|
#define KEY_MACRO_PRESET2 0x2b4
|
||||||
|
#define KEY_MACRO_PRESET3 0x2b5
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Some keyboards have a buildin LCD panel where the contents are controlled
|
||||||
|
* by the host. Often these have a number of keys directly below the LCD
|
||||||
|
* intended for controlling a menu shown on the LCD. These keys often don't
|
||||||
|
* have any labeling so we just name them KEY_KBD_LCD_MENU#
|
||||||
|
*/
|
||||||
|
#define KEY_KBD_LCD_MENU1 0x2b8
|
||||||
|
#define KEY_KBD_LCD_MENU2 0x2b9
|
||||||
|
#define KEY_KBD_LCD_MENU3 0x2ba
|
||||||
|
#define KEY_KBD_LCD_MENU4 0x2bb
|
||||||
|
#define KEY_KBD_LCD_MENU5 0x2bc
|
||||||
|
|
||||||
|
#define BTN_TRIGGER_HAPPY 0x2c0
|
||||||
|
#define BTN_TRIGGER_HAPPY1 0x2c0
|
||||||
|
#define BTN_TRIGGER_HAPPY2 0x2c1
|
||||||
|
#define BTN_TRIGGER_HAPPY3 0x2c2
|
||||||
|
#define BTN_TRIGGER_HAPPY4 0x2c3
|
||||||
|
#define BTN_TRIGGER_HAPPY5 0x2c4
|
||||||
|
#define BTN_TRIGGER_HAPPY6 0x2c5
|
||||||
|
#define BTN_TRIGGER_HAPPY7 0x2c6
|
||||||
|
#define BTN_TRIGGER_HAPPY8 0x2c7
|
||||||
|
#define BTN_TRIGGER_HAPPY9 0x2c8
|
||||||
|
#define BTN_TRIGGER_HAPPY10 0x2c9
|
||||||
|
#define BTN_TRIGGER_HAPPY11 0x2ca
|
||||||
|
#define BTN_TRIGGER_HAPPY12 0x2cb
|
||||||
|
#define BTN_TRIGGER_HAPPY13 0x2cc
|
||||||
|
#define BTN_TRIGGER_HAPPY14 0x2cd
|
||||||
|
#define BTN_TRIGGER_HAPPY15 0x2ce
|
||||||
|
#define BTN_TRIGGER_HAPPY16 0x2cf
|
||||||
|
#define BTN_TRIGGER_HAPPY17 0x2d0
|
||||||
|
#define BTN_TRIGGER_HAPPY18 0x2d1
|
||||||
|
#define BTN_TRIGGER_HAPPY19 0x2d2
|
||||||
|
#define BTN_TRIGGER_HAPPY20 0x2d3
|
||||||
|
#define BTN_TRIGGER_HAPPY21 0x2d4
|
||||||
|
#define BTN_TRIGGER_HAPPY22 0x2d5
|
||||||
|
#define BTN_TRIGGER_HAPPY23 0x2d6
|
||||||
|
#define BTN_TRIGGER_HAPPY24 0x2d7
|
||||||
|
#define BTN_TRIGGER_HAPPY25 0x2d8
|
||||||
|
#define BTN_TRIGGER_HAPPY26 0x2d9
|
||||||
|
#define BTN_TRIGGER_HAPPY27 0x2da
|
||||||
|
#define BTN_TRIGGER_HAPPY28 0x2db
|
||||||
|
#define BTN_TRIGGER_HAPPY29 0x2dc
|
||||||
|
#define BTN_TRIGGER_HAPPY30 0x2dd
|
||||||
|
#define BTN_TRIGGER_HAPPY31 0x2de
|
||||||
|
#define BTN_TRIGGER_HAPPY32 0x2df
|
||||||
|
#define BTN_TRIGGER_HAPPY33 0x2e0
|
||||||
|
#define BTN_TRIGGER_HAPPY34 0x2e1
|
||||||
|
#define BTN_TRIGGER_HAPPY35 0x2e2
|
||||||
|
#define BTN_TRIGGER_HAPPY36 0x2e3
|
||||||
|
#define BTN_TRIGGER_HAPPY37 0x2e4
|
||||||
|
#define BTN_TRIGGER_HAPPY38 0x2e5
|
||||||
|
#define BTN_TRIGGER_HAPPY39 0x2e6
|
||||||
|
#define BTN_TRIGGER_HAPPY40 0x2e7
|
||||||
|
|
||||||
|
/* We avoid low common keys in module aliases so they don't get huge. */
|
||||||
|
#define KEY_MIN_INTERESTING KEY_MUTE
|
||||||
|
#define KEY_MAX 0x2ff
|
||||||
|
#define KEY_CNT (KEY_MAX+1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Relative axes
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define REL_X 0x00
|
||||||
|
#define REL_Y 0x01
|
||||||
|
#define REL_Z 0x02
|
||||||
|
#define REL_RX 0x03
|
||||||
|
#define REL_RY 0x04
|
||||||
|
#define REL_RZ 0x05
|
||||||
|
#define REL_HWHEEL 0x06
|
||||||
|
#define REL_DIAL 0x07
|
||||||
|
#define REL_WHEEL 0x08
|
||||||
|
#define REL_MISC 0x09
|
||||||
|
/*
|
||||||
|
* 0x0a is reserved and should not be used in input drivers.
|
||||||
|
* It was used by HID as REL_MISC+1 and userspace needs to detect if
|
||||||
|
* the next REL_* event is correct or is just REL_MISC + n.
|
||||||
|
* We define here REL_RESERVED so userspace can rely on it and detect
|
||||||
|
* the situation described above.
|
||||||
|
*/
|
||||||
|
#define REL_RESERVED 0x0a
|
||||||
|
#define REL_WHEEL_HI_RES 0x0b
|
||||||
|
#define REL_HWHEEL_HI_RES 0x0c
|
||||||
|
#define REL_MAX 0x0f
|
||||||
|
#define REL_CNT (REL_MAX+1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Absolute axes
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define ABS_X 0x00
|
||||||
|
#define ABS_Y 0x01
|
||||||
|
#define ABS_Z 0x02
|
||||||
|
#define ABS_RX 0x03
|
||||||
|
#define ABS_RY 0x04
|
||||||
|
#define ABS_RZ 0x05
|
||||||
|
#define ABS_THROTTLE 0x06
|
||||||
|
#define ABS_RUDDER 0x07
|
||||||
|
#define ABS_WHEEL 0x08
|
||||||
|
#define ABS_GAS 0x09
|
||||||
|
#define ABS_BRAKE 0x0a
|
||||||
|
#define ABS_HAT0X 0x10
|
||||||
|
#define ABS_HAT0Y 0x11
|
||||||
|
#define ABS_HAT1X 0x12
|
||||||
|
#define ABS_HAT1Y 0x13
|
||||||
|
#define ABS_HAT2X 0x14
|
||||||
|
#define ABS_HAT2Y 0x15
|
||||||
|
#define ABS_HAT3X 0x16
|
||||||
|
#define ABS_HAT3Y 0x17
|
||||||
|
#define ABS_PRESSURE 0x18
|
||||||
|
#define ABS_DISTANCE 0x19
|
||||||
|
#define ABS_TILT_X 0x1a
|
||||||
|
#define ABS_TILT_Y 0x1b
|
||||||
|
#define ABS_TOOL_WIDTH 0x1c
|
||||||
|
|
||||||
|
#define ABS_VOLUME 0x20
|
||||||
|
#define ABS_PROFILE 0x21
|
||||||
|
|
||||||
|
#define ABS_MISC 0x28
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 0x2e is reserved and should not be used in input drivers.
|
||||||
|
* It was used by HID as ABS_MISC+6 and userspace needs to detect if
|
||||||
|
* the next ABS_* event is correct or is just ABS_MISC + n.
|
||||||
|
* We define here ABS_RESERVED so userspace can rely on it and detect
|
||||||
|
* the situation described above.
|
||||||
|
*/
|
||||||
|
#define ABS_RESERVED 0x2e
|
||||||
|
|
||||||
|
#define ABS_MT_SLOT 0x2f /* MT slot being modified */
|
||||||
|
#define ABS_MT_TOUCH_MAJOR 0x30 /* Major axis of touching ellipse */
|
||||||
|
#define ABS_MT_TOUCH_MINOR 0x31 /* Minor axis (omit if circular) */
|
||||||
|
#define ABS_MT_WIDTH_MAJOR 0x32 /* Major axis of approaching ellipse */
|
||||||
|
#define ABS_MT_WIDTH_MINOR 0x33 /* Minor axis (omit if circular) */
|
||||||
|
#define ABS_MT_ORIENTATION 0x34 /* Ellipse orientation */
|
||||||
|
#define ABS_MT_POSITION_X 0x35 /* Center X touch position */
|
||||||
|
#define ABS_MT_POSITION_Y 0x36 /* Center Y touch position */
|
||||||
|
#define ABS_MT_TOOL_TYPE 0x37 /* Type of touching device */
|
||||||
|
#define ABS_MT_BLOB_ID 0x38 /* Group a set of packets as a blob */
|
||||||
|
#define ABS_MT_TRACKING_ID 0x39 /* Unique ID of initiated contact */
|
||||||
|
#define ABS_MT_PRESSURE 0x3a /* Pressure on contact area */
|
||||||
|
#define ABS_MT_DISTANCE 0x3b /* Contact hover distance */
|
||||||
|
#define ABS_MT_TOOL_X 0x3c /* Center X tool position */
|
||||||
|
#define ABS_MT_TOOL_Y 0x3d /* Center Y tool position */
|
||||||
|
|
||||||
|
|
||||||
|
#define ABS_MAX 0x3f
|
||||||
|
#define ABS_CNT (ABS_MAX+1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Switch events
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define SW_LID 0x00 /* set = lid shut */
|
||||||
|
#define SW_TABLET_MODE 0x01 /* set = tablet mode */
|
||||||
|
#define SW_HEADPHONE_INSERT 0x02 /* set = inserted */
|
||||||
|
#define SW_RFKILL_ALL 0x03 /* rfkill master switch, type "any"
|
||||||
|
set = radio enabled */
|
||||||
|
#define SW_RADIO SW_RFKILL_ALL /* deprecated */
|
||||||
|
#define SW_MICROPHONE_INSERT 0x04 /* set = inserted */
|
||||||
|
#define SW_DOCK 0x05 /* set = plugged into dock */
|
||||||
|
#define SW_LINEOUT_INSERT 0x06 /* set = inserted */
|
||||||
|
#define SW_JACK_PHYSICAL_INSERT 0x07 /* set = mechanical switch set */
|
||||||
|
#define SW_VIDEOOUT_INSERT 0x08 /* set = inserted */
|
||||||
|
#define SW_CAMERA_LENS_COVER 0x09 /* set = lens covered */
|
||||||
|
#define SW_KEYPAD_SLIDE 0x0a /* set = keypad slide out */
|
||||||
|
#define SW_FRONT_PROXIMITY 0x0b /* set = front proximity sensor active */
|
||||||
|
#define SW_ROTATE_LOCK 0x0c /* set = rotate locked/disabled */
|
||||||
|
#define SW_LINEIN_INSERT 0x0d /* set = inserted */
|
||||||
|
#define SW_MUTE_DEVICE 0x0e /* set = device disabled */
|
||||||
|
#define SW_PEN_INSERTED 0x0f /* set = pen inserted */
|
||||||
|
#define SW_MACHINE_COVER 0x10 /* set = cover closed */
|
||||||
|
#define SW_MAX 0x10
|
||||||
|
#define SW_CNT (SW_MAX+1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Misc events
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define MSC_SERIAL 0x00
|
||||||
|
#define MSC_PULSELED 0x01
|
||||||
|
#define MSC_GESTURE 0x02
|
||||||
|
#define MSC_RAW 0x03
|
||||||
|
#define MSC_SCAN 0x04
|
||||||
|
#define MSC_TIMESTAMP 0x05
|
||||||
|
#define MSC_MAX 0x07
|
||||||
|
#define MSC_CNT (MSC_MAX+1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* LEDs
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define LED_NUML 0x00
|
||||||
|
#define LED_CAPSL 0x01
|
||||||
|
#define LED_SCROLLL 0x02
|
||||||
|
#define LED_COMPOSE 0x03
|
||||||
|
#define LED_KANA 0x04
|
||||||
|
#define LED_SLEEP 0x05
|
||||||
|
#define LED_SUSPEND 0x06
|
||||||
|
#define LED_MUTE 0x07
|
||||||
|
#define LED_MISC 0x08
|
||||||
|
#define LED_MAIL 0x09
|
||||||
|
#define LED_CHARGING 0x0a
|
||||||
|
#define LED_MAX 0x0f
|
||||||
|
#define LED_CNT (LED_MAX+1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Autorepeat values
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define REP_DELAY 0x00
|
||||||
|
#define REP_PERIOD 0x01
|
||||||
|
#define REP_MAX 0x01
|
||||||
|
#define REP_CNT (REP_MAX+1)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Sounds
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define SND_CLICK 0x00
|
||||||
|
#define SND_BELL 0x01
|
||||||
|
#define SND_TONE 0x02
|
||||||
|
#define SND_MAX 0x07
|
||||||
|
#define SND_CNT (SND_MAX+1)
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user