1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2d5586560SJoseph Lo /** @file */ 3d5586560SJoseph Lo 4d5586560SJoseph Lo #ifndef _MACH_T186_CLK_T186_H 5d5586560SJoseph Lo #define _MACH_T186_CLK_T186_H 6d5586560SJoseph Lo 7d5586560SJoseph Lo /** 8d5586560SJoseph Lo * @defgroup clock_ids Clock Identifiers 9d5586560SJoseph Lo * @{ 10d5586560SJoseph Lo * @defgroup extern_input external input clocks 11d5586560SJoseph Lo * @{ 12d5586560SJoseph Lo * @def TEGRA186_CLK_OSC 13d5586560SJoseph Lo * @def TEGRA186_CLK_CLK_32K 14d5586560SJoseph Lo * @def TEGRA186_CLK_DTV_INPUT 15d5586560SJoseph Lo * @def TEGRA186_CLK_SOR0_PAD_CLKOUT 16d5586560SJoseph Lo * @def TEGRA186_CLK_SOR1_PAD_CLKOUT 17d5586560SJoseph Lo * @def TEGRA186_CLK_I2S1_SYNC_INPUT 18d5586560SJoseph Lo * @def TEGRA186_CLK_I2S2_SYNC_INPUT 19d5586560SJoseph Lo * @def TEGRA186_CLK_I2S3_SYNC_INPUT 20d5586560SJoseph Lo * @def TEGRA186_CLK_I2S4_SYNC_INPUT 21d5586560SJoseph Lo * @def TEGRA186_CLK_I2S5_SYNC_INPUT 22d5586560SJoseph Lo * @def TEGRA186_CLK_I2S6_SYNC_INPUT 23d5586560SJoseph Lo * @def TEGRA186_CLK_SPDIFIN_SYNC_INPUT 24d5586560SJoseph Lo * @} 25d5586560SJoseph Lo * 26d5586560SJoseph Lo * @defgroup extern_output external output clocks 27d5586560SJoseph Lo * @{ 28d5586560SJoseph Lo * @def TEGRA186_CLK_EXTPERIPH1 29d5586560SJoseph Lo * @def TEGRA186_CLK_EXTPERIPH2 30d5586560SJoseph Lo * @def TEGRA186_CLK_EXTPERIPH3 31d5586560SJoseph Lo * @def TEGRA186_CLK_EXTPERIPH4 32d5586560SJoseph Lo * @} 33d5586560SJoseph Lo * 34d5586560SJoseph Lo * @defgroup display_clks display related clocks 35d5586560SJoseph Lo * @{ 36d5586560SJoseph Lo * @def TEGRA186_CLK_CEC 37d5586560SJoseph Lo * @def TEGRA186_CLK_DSIC 38d5586560SJoseph Lo * @def TEGRA186_CLK_DSIC_LP 39d5586560SJoseph Lo * @def TEGRA186_CLK_DSID 40d5586560SJoseph Lo * @def TEGRA186_CLK_DSID_LP 41d5586560SJoseph Lo * @def TEGRA186_CLK_DPAUX1 42d5586560SJoseph Lo * @def TEGRA186_CLK_DPAUX 43d5586560SJoseph Lo * @def TEGRA186_CLK_HDA2HDMICODEC 44d5586560SJoseph Lo * @def TEGRA186_CLK_NVDISPLAY_DISP 45d5586560SJoseph Lo * @def TEGRA186_CLK_NVDISPLAY_DSC 46d5586560SJoseph Lo * @def TEGRA186_CLK_NVDISPLAY_P0 47d5586560SJoseph Lo * @def TEGRA186_CLK_NVDISPLAY_P1 48d5586560SJoseph Lo * @def TEGRA186_CLK_NVDISPLAY_P2 49d5586560SJoseph Lo * @def TEGRA186_CLK_NVDISPLAYHUB 50d5586560SJoseph Lo * @def TEGRA186_CLK_SOR_SAFE 51d5586560SJoseph Lo * @def TEGRA186_CLK_SOR0 52d5586560SJoseph Lo * @def TEGRA186_CLK_SOR0_OUT 53d5586560SJoseph Lo * @def TEGRA186_CLK_SOR1 54d5586560SJoseph Lo * @def TEGRA186_CLK_SOR1_OUT 55d5586560SJoseph Lo * @def TEGRA186_CLK_DSI 56d5586560SJoseph Lo * @def TEGRA186_CLK_MIPI_CAL 57d5586560SJoseph Lo * @def TEGRA186_CLK_DSIA_LP 58d5586560SJoseph Lo * @def TEGRA186_CLK_DSIB 59d5586560SJoseph Lo * @def TEGRA186_CLK_DSIB_LP 60d5586560SJoseph Lo * @} 61d5586560SJoseph Lo * 62d5586560SJoseph Lo * @defgroup camera_clks camera related clocks 63d5586560SJoseph Lo * @{ 64d5586560SJoseph Lo * @def TEGRA186_CLK_NVCSI 65d5586560SJoseph Lo * @def TEGRA186_CLK_NVCSILP 66d5586560SJoseph Lo * @def TEGRA186_CLK_VI 67d5586560SJoseph Lo * @} 68d5586560SJoseph Lo * 69d5586560SJoseph Lo * @defgroup audio_clks audio related clocks 70d5586560SJoseph Lo * @{ 71d5586560SJoseph Lo * @def TEGRA186_CLK_ACLK 72d5586560SJoseph Lo * @def TEGRA186_CLK_ADSP 73d5586560SJoseph Lo * @def TEGRA186_CLK_ADSPNEON 74d5586560SJoseph Lo * @def TEGRA186_CLK_AHUB 75d5586560SJoseph Lo * @def TEGRA186_CLK_APE 76d5586560SJoseph Lo * @def TEGRA186_CLK_APB2APE 77d5586560SJoseph Lo * @def TEGRA186_CLK_AUD_MCLK 78d5586560SJoseph Lo * @def TEGRA186_CLK_DMIC1 79d5586560SJoseph Lo * @def TEGRA186_CLK_DMIC2 80d5586560SJoseph Lo * @def TEGRA186_CLK_DMIC3 81d5586560SJoseph Lo * @def TEGRA186_CLK_DMIC4 82d5586560SJoseph Lo * @def TEGRA186_CLK_DSPK1 83d5586560SJoseph Lo * @def TEGRA186_CLK_DSPK2 84d5586560SJoseph Lo * @def TEGRA186_CLK_HDA 85d5586560SJoseph Lo * @def TEGRA186_CLK_HDA2CODEC_2X 86d5586560SJoseph Lo * @def TEGRA186_CLK_I2S1 87d5586560SJoseph Lo * @def TEGRA186_CLK_I2S2 88d5586560SJoseph Lo * @def TEGRA186_CLK_I2S3 89d5586560SJoseph Lo * @def TEGRA186_CLK_I2S4 90d5586560SJoseph Lo * @def TEGRA186_CLK_I2S5 91d5586560SJoseph Lo * @def TEGRA186_CLK_I2S6 92d5586560SJoseph Lo * @def TEGRA186_CLK_MAUD 93d5586560SJoseph Lo * @def TEGRA186_CLK_PLL_A_OUT0 94d5586560SJoseph Lo * @def TEGRA186_CLK_SPDIF_DOUBLER 95d5586560SJoseph Lo * @def TEGRA186_CLK_SPDIF_IN 96d5586560SJoseph Lo * @def TEGRA186_CLK_SPDIF_OUT 97d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_DMIC1 98d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_DMIC2 99d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_DMIC3 100d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_DMIC4 101d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_DMIC5 102d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_DSPK1 103d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_DSPK2 104d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_I2S1 105d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_I2S2 106d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_I2S3 107d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_I2S4 108d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_I2S5 109d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_I2S6 110d5586560SJoseph Lo * @def TEGRA186_CLK_SYNC_SPDIF 111d5586560SJoseph Lo * @} 112d5586560SJoseph Lo * 113d5586560SJoseph Lo * @defgroup uart_clks UART clocks 114d5586560SJoseph Lo * @{ 115d5586560SJoseph Lo * @def TEGRA186_CLK_AON_UART_FST_MIPI_CAL 116d5586560SJoseph Lo * @def TEGRA186_CLK_UARTA 117d5586560SJoseph Lo * @def TEGRA186_CLK_UARTB 118d5586560SJoseph Lo * @def TEGRA186_CLK_UARTC 119d5586560SJoseph Lo * @def TEGRA186_CLK_UARTD 120d5586560SJoseph Lo * @def TEGRA186_CLK_UARTE 121d5586560SJoseph Lo * @def TEGRA186_CLK_UARTF 122d5586560SJoseph Lo * @def TEGRA186_CLK_UARTG 123d5586560SJoseph Lo * @def TEGRA186_CLK_UART_FST_MIPI_CAL 124d5586560SJoseph Lo * @} 125d5586560SJoseph Lo * 126d5586560SJoseph Lo * @defgroup i2c_clks I2C clocks 127d5586560SJoseph Lo * @{ 128d5586560SJoseph Lo * @def TEGRA186_CLK_AON_I2C_SLOW 129d5586560SJoseph Lo * @def TEGRA186_CLK_I2C1 130d5586560SJoseph Lo * @def TEGRA186_CLK_I2C2 131d5586560SJoseph Lo * @def TEGRA186_CLK_I2C3 132d5586560SJoseph Lo * @def TEGRA186_CLK_I2C4 133d5586560SJoseph Lo * @def TEGRA186_CLK_I2C5 134d5586560SJoseph Lo * @def TEGRA186_CLK_I2C6 135d5586560SJoseph Lo * @def TEGRA186_CLK_I2C8 136d5586560SJoseph Lo * @def TEGRA186_CLK_I2C9 137d5586560SJoseph Lo * @def TEGRA186_CLK_I2C1 138d5586560SJoseph Lo * @def TEGRA186_CLK_I2C12 139d5586560SJoseph Lo * @def TEGRA186_CLK_I2C13 140d5586560SJoseph Lo * @def TEGRA186_CLK_I2C14 141d5586560SJoseph Lo * @def TEGRA186_CLK_I2C_SLOW 142d5586560SJoseph Lo * @def TEGRA186_CLK_VI_I2C 143d5586560SJoseph Lo * @} 144d5586560SJoseph Lo * 145d5586560SJoseph Lo * @defgroup spi_clks SPI clocks 146d5586560SJoseph Lo * @{ 147d5586560SJoseph Lo * @def TEGRA186_CLK_SPI1 148d5586560SJoseph Lo * @def TEGRA186_CLK_SPI2 149d5586560SJoseph Lo * @def TEGRA186_CLK_SPI3 150d5586560SJoseph Lo * @def TEGRA186_CLK_SPI4 151d5586560SJoseph Lo * @} 152d5586560SJoseph Lo * 153d5586560SJoseph Lo * @defgroup storage storage related clocks 154d5586560SJoseph Lo * @{ 155d5586560SJoseph Lo * @def TEGRA186_CLK_SATA 156d5586560SJoseph Lo * @def TEGRA186_CLK_SATA_OOB 157d5586560SJoseph Lo * @def TEGRA186_CLK_SATA_IOBIST 158d5586560SJoseph Lo * @def TEGRA186_CLK_SDMMC_LEGACY_TM 159d5586560SJoseph Lo * @def TEGRA186_CLK_SDMMC1 160d5586560SJoseph Lo * @def TEGRA186_CLK_SDMMC2 161d5586560SJoseph Lo * @def TEGRA186_CLK_SDMMC3 162d5586560SJoseph Lo * @def TEGRA186_CLK_SDMMC4 163d5586560SJoseph Lo * @def TEGRA186_CLK_QSPI 164d5586560SJoseph Lo * @def TEGRA186_CLK_QSPI_OUT 165d5586560SJoseph Lo * @def TEGRA186_CLK_UFSDEV_REF 166d5586560SJoseph Lo * @def TEGRA186_CLK_UFSHC 167d5586560SJoseph Lo * @} 168d5586560SJoseph Lo * 169d5586560SJoseph Lo * @defgroup pwm_clks PWM clocks 170d5586560SJoseph Lo * @{ 171d5586560SJoseph Lo * @def TEGRA186_CLK_PWM1 172d5586560SJoseph Lo * @def TEGRA186_CLK_PWM2 173d5586560SJoseph Lo * @def TEGRA186_CLK_PWM3 174d5586560SJoseph Lo * @def TEGRA186_CLK_PWM4 175d5586560SJoseph Lo * @def TEGRA186_CLK_PWM5 176d5586560SJoseph Lo * @def TEGRA186_CLK_PWM6 177d5586560SJoseph Lo * @def TEGRA186_CLK_PWM7 178d5586560SJoseph Lo * @def TEGRA186_CLK_PWM8 179d5586560SJoseph Lo * @} 180d5586560SJoseph Lo * 181d5586560SJoseph Lo * @defgroup plls PLLs and related clocks 182d5586560SJoseph Lo * @{ 183d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_OUT_GATED 184d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_OUT1 185d5586560SJoseph Lo * @def TEGRA186_CLK_PLLD_OUT1 186d5586560SJoseph Lo * @def TEGRA186_CLK_PLLP_OUT0 187d5586560SJoseph Lo * @def TEGRA186_CLK_PLLP_OUT5 188d5586560SJoseph Lo * @def TEGRA186_CLK_PLLA 189d5586560SJoseph Lo * @def TEGRA186_CLK_PLLE_PWRSEQ 190d5586560SJoseph Lo * @def TEGRA186_CLK_PLLA_OUT1 191d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_REF 192d5586560SJoseph Lo * @def TEGRA186_CLK_UPHY_PLL0_PWRSEQ 193d5586560SJoseph Lo * @def TEGRA186_CLK_UPHY_PLL1_PWRSEQ 194d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_PLLE_PASSTHROUGH 195d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_PEX 196d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_IDDQ 197d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC_OUT_AON 198d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC_OUT_ISP 199d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC_OUT_VE 200d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC4_OUT 201d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_OUT 202d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_PLL_REF 203d5586560SJoseph Lo * @def TEGRA186_CLK_PLLE 204d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC 205d5586560SJoseph Lo * @def TEGRA186_CLK_PLLP 206d5586560SJoseph Lo * @def TEGRA186_CLK_PLLD 207d5586560SJoseph Lo * @def TEGRA186_CLK_PLLD2 208d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_VCO 209d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC2 210d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC3 211d5586560SJoseph Lo * @def TEGRA186_CLK_PLLDP 212d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC4_VCO 213d5586560SJoseph Lo * @def TEGRA186_CLK_PLLA1 214d5586560SJoseph Lo * @def TEGRA186_CLK_PLLNVCSI 215d5586560SJoseph Lo * @def TEGRA186_CLK_PLLDISPHUB 216d5586560SJoseph Lo * @def TEGRA186_CLK_PLLD3 217d5586560SJoseph Lo * @def TEGRA186_CLK_PLLBPMPCAM 218d5586560SJoseph Lo * @def TEGRA186_CLK_PLLAON 219d5586560SJoseph Lo * @def TEGRA186_CLK_PLLU 220d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC4_VCO_DIV2 221d5586560SJoseph Lo * @def TEGRA186_CLK_PLL_REF 222d5586560SJoseph Lo * @def TEGRA186_CLK_PLLREFE_OUT1_DIV5 223d5586560SJoseph Lo * @def TEGRA186_CLK_UTMIP_PLL_PWRSEQ 224d5586560SJoseph Lo * @def TEGRA186_CLK_PLL_U_48M 225d5586560SJoseph Lo * @def TEGRA186_CLK_PLL_U_480M 226d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC4_OUT0 227d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC4_OUT1 228d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC4_OUT2 229d5586560SJoseph Lo * @def TEGRA186_CLK_PLLC4_OUT_MUX 230d5586560SJoseph Lo * @def TEGRA186_CLK_DFLLDISP_DIV 231d5586560SJoseph Lo * @def TEGRA186_CLK_PLLDISPHUB_DIV 232d5586560SJoseph Lo * @def TEGRA186_CLK_PLLP_DIV8 233d5586560SJoseph Lo * @} 234d5586560SJoseph Lo * 235d5586560SJoseph Lo * @defgroup nafll_clks NAFLL clock sources 236d5586560SJoseph Lo * @{ 237d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_AXI_CBB 238d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_BCPU 239d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_BPMP 240d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_DISP 241d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_GPU 242d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_ISP 243d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_MCPU 244d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_NVDEC 245d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_NVENC 246d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_NVJPG 247d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_SCE 248d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_SE 249d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_TSEC 250d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_TSECB 251d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_VI 252d5586560SJoseph Lo * @def TEGRA186_CLK_NAFLL_VIC 253d5586560SJoseph Lo * @} 254d5586560SJoseph Lo * 255d5586560SJoseph Lo * @defgroup mphy MPHY related clocks 256d5586560SJoseph Lo * @{ 257d5586560SJoseph Lo * @def TEGRA186_CLK_MPHY_L0_RX_SYMB 258d5586560SJoseph Lo * @def TEGRA186_CLK_MPHY_L0_RX_LS_BIT 259d5586560SJoseph Lo * @def TEGRA186_CLK_MPHY_L0_TX_SYMB 260d5586560SJoseph Lo * @def TEGRA186_CLK_MPHY_L0_TX_LS_3XBIT 261d5586560SJoseph Lo * @def TEGRA186_CLK_MPHY_L0_RX_ANA 262d5586560SJoseph Lo * @def TEGRA186_CLK_MPHY_L1_RX_ANA 263d5586560SJoseph Lo * @def TEGRA186_CLK_MPHY_IOBIST 264d5586560SJoseph Lo * @def TEGRA186_CLK_MPHY_TX_1MHZ_REF 265d5586560SJoseph Lo * @def TEGRA186_CLK_MPHY_CORE_PLL_FIXED 266d5586560SJoseph Lo * @} 267d5586560SJoseph Lo * 268d5586560SJoseph Lo * @defgroup eavb EAVB related clocks 269d5586560SJoseph Lo * @{ 270d5586560SJoseph Lo * @def TEGRA186_CLK_EQOS_AXI 271d5586560SJoseph Lo * @def TEGRA186_CLK_EQOS_PTP_REF 272d5586560SJoseph Lo * @def TEGRA186_CLK_EQOS_RX 273d5586560SJoseph Lo * @def TEGRA186_CLK_EQOS_RX_INPUT 274d5586560SJoseph Lo * @def TEGRA186_CLK_EQOS_TX 275d5586560SJoseph Lo * @} 276d5586560SJoseph Lo * 277d5586560SJoseph Lo * @defgroup usb USB related clocks 278d5586560SJoseph Lo * @{ 279d5586560SJoseph Lo * @def TEGRA186_CLK_PEX_USB_PAD0_MGMT 280d5586560SJoseph Lo * @def TEGRA186_CLK_PEX_USB_PAD1_MGMT 281d5586560SJoseph Lo * @def TEGRA186_CLK_HSIC_TRK 282d5586560SJoseph Lo * @def TEGRA186_CLK_USB2_TRK 283d5586560SJoseph Lo * @def TEGRA186_CLK_USB2_HSIC_TRK 284d5586560SJoseph Lo * @def TEGRA186_CLK_XUSB_CORE_SS 285d5586560SJoseph Lo * @def TEGRA186_CLK_XUSB_CORE_DEV 286d5586560SJoseph Lo * @def TEGRA186_CLK_XUSB_FALCON 287d5586560SJoseph Lo * @def TEGRA186_CLK_XUSB_FS 288d5586560SJoseph Lo * @def TEGRA186_CLK_XUSB 289d5586560SJoseph Lo * @def TEGRA186_CLK_XUSB_DEV 290d5586560SJoseph Lo * @def TEGRA186_CLK_XUSB_HOST 291d5586560SJoseph Lo * @def TEGRA186_CLK_XUSB_SS 292d5586560SJoseph Lo * @} 293d5586560SJoseph Lo * 294d5586560SJoseph Lo * @defgroup bigblock compute block related clocks 295d5586560SJoseph Lo * @{ 296d5586560SJoseph Lo * @def TEGRA186_CLK_GPCCLK 297d5586560SJoseph Lo * @def TEGRA186_CLK_GPC2CLK 298d5586560SJoseph Lo * @def TEGRA186_CLK_GPU 299d5586560SJoseph Lo * @def TEGRA186_CLK_HOST1X 300d5586560SJoseph Lo * @def TEGRA186_CLK_ISP 301d5586560SJoseph Lo * @def TEGRA186_CLK_NVDEC 302d5586560SJoseph Lo * @def TEGRA186_CLK_NVENC 303d5586560SJoseph Lo * @def TEGRA186_CLK_NVJPG 304d5586560SJoseph Lo * @def TEGRA186_CLK_SE 305d5586560SJoseph Lo * @def TEGRA186_CLK_TSEC 306d5586560SJoseph Lo * @def TEGRA186_CLK_TSECB 307d5586560SJoseph Lo * @def TEGRA186_CLK_VIC 308d5586560SJoseph Lo * @} 309d5586560SJoseph Lo * 310d5586560SJoseph Lo * @defgroup can CAN bus related clocks 311d5586560SJoseph Lo * @{ 312d5586560SJoseph Lo * @def TEGRA186_CLK_CAN1 313d5586560SJoseph Lo * @def TEGRA186_CLK_CAN1_HOST 314d5586560SJoseph Lo * @def TEGRA186_CLK_CAN2 315d5586560SJoseph Lo * @def TEGRA186_CLK_CAN2_HOST 316d5586560SJoseph Lo * @} 317d5586560SJoseph Lo * 318d5586560SJoseph Lo * @defgroup system basic system clocks 319d5586560SJoseph Lo * @{ 320d5586560SJoseph Lo * @def TEGRA186_CLK_ACTMON 321d5586560SJoseph Lo * @def TEGRA186_CLK_AON_APB 322d5586560SJoseph Lo * @def TEGRA186_CLK_AON_CPU_NIC 323d5586560SJoseph Lo * @def TEGRA186_CLK_AON_NIC 324d5586560SJoseph Lo * @def TEGRA186_CLK_AXI_CBB 325d5586560SJoseph Lo * @def TEGRA186_CLK_BPMP_APB 326d5586560SJoseph Lo * @def TEGRA186_CLK_BPMP_CPU_NIC 327d5586560SJoseph Lo * @def TEGRA186_CLK_BPMP_NIC_RATE 328d5586560SJoseph Lo * @def TEGRA186_CLK_CLK_M 329d5586560SJoseph Lo * @def TEGRA186_CLK_EMC 330d5586560SJoseph Lo * @def TEGRA186_CLK_MSS_ENCRYPT 331d5586560SJoseph Lo * @def TEGRA186_CLK_SCE_APB 332d5586560SJoseph Lo * @def TEGRA186_CLK_SCE_CPU_NIC 333d5586560SJoseph Lo * @def TEGRA186_CLK_SCE_NIC 334d5586560SJoseph Lo * @def TEGRA186_CLK_TSC 335d5586560SJoseph Lo * @} 336d5586560SJoseph Lo * 337d5586560SJoseph Lo * @defgroup pcie_clks PCIe related clocks 338d5586560SJoseph Lo * @{ 339d5586560SJoseph Lo * @def TEGRA186_CLK_AFI 340d5586560SJoseph Lo * @def TEGRA186_CLK_PCIE 341d5586560SJoseph Lo * @def TEGRA186_CLK_PCIE2_IOBIST 342d5586560SJoseph Lo * @def TEGRA186_CLK_PCIERX0 343d5586560SJoseph Lo * @def TEGRA186_CLK_PCIERX1 344d5586560SJoseph Lo * @def TEGRA186_CLK_PCIERX2 345d5586560SJoseph Lo * @def TEGRA186_CLK_PCIERX3 346d5586560SJoseph Lo * @def TEGRA186_CLK_PCIERX4 347d5586560SJoseph Lo * @} 348d5586560SJoseph Lo */ 349d5586560SJoseph Lo 350d5586560SJoseph Lo /** @brief output of gate CLK_ENB_FUSE */ 351d5586560SJoseph Lo #define TEGRA186_CLK_FUSE 0 352d5586560SJoseph Lo /** 353d5586560SJoseph Lo * @brief It's not what you think 354d5586560SJoseph Lo * @details output of gate CLK_ENB_GPU. This output connects to the GPU 355d5586560SJoseph Lo * pwrclk. @warning: This is almost certainly not the clock you think 356d5586560SJoseph Lo * it is. If you're looking for the clock of the graphics engine, see 357d5586560SJoseph Lo * TEGRA186_GPCCLK 358d5586560SJoseph Lo */ 359d5586560SJoseph Lo #define TEGRA186_CLK_GPU 1 360d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PCIE */ 361d5586560SJoseph Lo #define TEGRA186_CLK_PCIE 3 362d5586560SJoseph Lo /** @brief output of the divider IPFS_CLK_DIVISOR */ 363d5586560SJoseph Lo #define TEGRA186_CLK_AFI 4 364d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PCIE2_IOBIST */ 365d5586560SJoseph Lo #define TEGRA186_CLK_PCIE2_IOBIST 5 366d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PCIERX0*/ 367d5586560SJoseph Lo #define TEGRA186_CLK_PCIERX0 6 368d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PCIERX1*/ 369d5586560SJoseph Lo #define TEGRA186_CLK_PCIERX1 7 370d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PCIERX2*/ 371d5586560SJoseph Lo #define TEGRA186_CLK_PCIERX2 8 372d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PCIERX3*/ 373d5586560SJoseph Lo #define TEGRA186_CLK_PCIERX3 9 374d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PCIERX4*/ 375d5586560SJoseph Lo #define TEGRA186_CLK_PCIERX4 10 376d5586560SJoseph Lo /** @brief output branch of PLL_C for ISP, controlled by gate CLK_ENB_PLLC_OUT_ISP */ 377d5586560SJoseph Lo #define TEGRA186_CLK_PLLC_OUT_ISP 11 378d5586560SJoseph Lo /** @brief output branch of PLL_C for VI, controlled by gate CLK_ENB_PLLC_OUT_VE */ 379d5586560SJoseph Lo #define TEGRA186_CLK_PLLC_OUT_VE 12 380d5586560SJoseph Lo /** @brief output branch of PLL_C for AON domain, controlled by gate CLK_ENB_PLLC_OUT_AON */ 381d5586560SJoseph Lo #define TEGRA186_CLK_PLLC_OUT_AON 13 382d5586560SJoseph Lo /** @brief output of gate CLK_ENB_SOR_SAFE */ 383d5586560SJoseph Lo #define TEGRA186_CLK_SOR_SAFE 39 384d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S2 */ 385d5586560SJoseph Lo #define TEGRA186_CLK_I2S2 42 386d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S3 */ 387d5586560SJoseph Lo #define TEGRA186_CLK_I2S3 43 388d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPDF_IN */ 389d5586560SJoseph Lo #define TEGRA186_CLK_SPDIF_IN 44 390d5586560SJoseph Lo /** @brief output of gate CLK_ENB_SPDIF_DOUBLER */ 391d5586560SJoseph Lo #define TEGRA186_CLK_SPDIF_DOUBLER 45 392d5586560SJoseph Lo /** @clkdesc{spi_clks, out, mux, CLK_RST_CONTROLLER_CLK_SOURCE_SPI3} */ 393d5586560SJoseph Lo #define TEGRA186_CLK_SPI3 46 394d5586560SJoseph Lo /** @clkdesc{i2c_clks, out, mux, CLK_RST_CONTROLLER_CLK_SOURCE_I2C1} */ 395d5586560SJoseph Lo #define TEGRA186_CLK_I2C1 47 396d5586560SJoseph Lo /** @clkdesc{i2c_clks, out, mux, CLK_RST_CONTROLLER_CLK_SOURCE_I2C5} */ 397d5586560SJoseph Lo #define TEGRA186_CLK_I2C5 48 398d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPI1 */ 399d5586560SJoseph Lo #define TEGRA186_CLK_SPI1 49 400d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_ISP */ 401d5586560SJoseph Lo #define TEGRA186_CLK_ISP 50 402d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_VI */ 403d5586560SJoseph Lo #define TEGRA186_CLK_VI 51 404d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC1 */ 405d5586560SJoseph Lo #define TEGRA186_CLK_SDMMC1 52 406d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC2 */ 407d5586560SJoseph Lo #define TEGRA186_CLK_SDMMC2 53 408d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC4 */ 409d5586560SJoseph Lo #define TEGRA186_CLK_SDMMC4 54 410d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTA */ 411d5586560SJoseph Lo #define TEGRA186_CLK_UARTA 55 412d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTB */ 413d5586560SJoseph Lo #define TEGRA186_CLK_UARTB 56 414d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_HOST1X */ 415d5586560SJoseph Lo #define TEGRA186_CLK_HOST1X 57 416d5586560SJoseph Lo /** 417d5586560SJoseph Lo * @brief controls the EMC clock frequency. 418d5586560SJoseph Lo * @details Doing a clk_set_rate on this clock will select the 419d5586560SJoseph Lo * appropriate clock source, program the source rate and execute a 420d5586560SJoseph Lo * specific sequence to switch to the new clock source for both memory 421d5586560SJoseph Lo * controllers. This can be used to control the balance between memory 422d5586560SJoseph Lo * throughput and memory controller power. 423d5586560SJoseph Lo */ 424d5586560SJoseph Lo #define TEGRA186_CLK_EMC 58 425d5586560SJoseph Lo /* @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EXTPERIPH4 */ 426d5586560SJoseph Lo #define TEGRA186_CLK_EXTPERIPH4 73 427d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPI4 */ 428d5586560SJoseph Lo #define TEGRA186_CLK_SPI4 74 429d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C3 */ 430d5586560SJoseph Lo #define TEGRA186_CLK_I2C3 75 431d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC3 */ 432d5586560SJoseph Lo #define TEGRA186_CLK_SDMMC3 76 433d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTD */ 434d5586560SJoseph Lo #define TEGRA186_CLK_UARTD 77 435d5586560SJoseph Lo /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S1 */ 436d5586560SJoseph Lo #define TEGRA186_CLK_I2S1 79 437d5586560SJoseph Lo /** output of gate CLK_ENB_DTV */ 438d5586560SJoseph Lo #define TEGRA186_CLK_DTV 80 439d5586560SJoseph Lo /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_TSEC */ 440d5586560SJoseph Lo #define TEGRA186_CLK_TSEC 81 441d5586560SJoseph Lo /** @brief output of gate CLK_ENB_DP2 */ 442d5586560SJoseph Lo #define TEGRA186_CLK_DP2 82 443d5586560SJoseph Lo /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S4 */ 444d5586560SJoseph Lo #define TEGRA186_CLK_I2S4 84 445d5586560SJoseph Lo /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2S5 */ 446d5586560SJoseph Lo #define TEGRA186_CLK_I2S5 85 447d5586560SJoseph Lo /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C4 */ 448d5586560SJoseph Lo #define TEGRA186_CLK_I2C4 86 449d5586560SJoseph Lo /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AHUB */ 450d5586560SJoseph Lo #define TEGRA186_CLK_AHUB 87 451d5586560SJoseph Lo /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_HDA2CODEC_2X */ 452d5586560SJoseph Lo #define TEGRA186_CLK_HDA2CODEC_2X 88 453d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EXTPERIPH1 */ 454d5586560SJoseph Lo #define TEGRA186_CLK_EXTPERIPH1 89 455d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EXTPERIPH2 */ 456d5586560SJoseph Lo #define TEGRA186_CLK_EXTPERIPH2 90 457d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_EXTPERIPH3 */ 458d5586560SJoseph Lo #define TEGRA186_CLK_EXTPERIPH3 91 459d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C_SLOW */ 460d5586560SJoseph Lo #define TEGRA186_CLK_I2C_SLOW 92 461d5586560SJoseph Lo /** @brief output of the SOR1_CLK_SRC mux in CLK_RST_CONTROLLER_CLK_SOURCE_SOR1 */ 462d5586560SJoseph Lo #define TEGRA186_CLK_SOR1 93 463d5586560SJoseph Lo /** @brief output of gate CLK_ENB_CEC */ 464d5586560SJoseph Lo #define TEGRA186_CLK_CEC 94 465d5586560SJoseph Lo /** @brief output of gate CLK_ENB_DPAUX1 */ 466d5586560SJoseph Lo #define TEGRA186_CLK_DPAUX1 95 467d5586560SJoseph Lo /** @brief output of gate CLK_ENB_DPAUX */ 468d5586560SJoseph Lo #define TEGRA186_CLK_DPAUX 96 469d5586560SJoseph Lo /** @brief output of the SOR0_CLK_SRC mux in CLK_RST_CONTROLLER_CLK_SOURCE_SOR0 */ 470d5586560SJoseph Lo #define TEGRA186_CLK_SOR0 97 471d5586560SJoseph Lo /** @brief output of gate CLK_ENB_HDA2HDMICODEC */ 472d5586560SJoseph Lo #define TEGRA186_CLK_HDA2HDMICODEC 98 473d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SATA */ 474d5586560SJoseph Lo #define TEGRA186_CLK_SATA 99 475d5586560SJoseph Lo /** @brief output of gate CLK_ENB_SATA_OOB */ 476d5586560SJoseph Lo #define TEGRA186_CLK_SATA_OOB 100 477d5586560SJoseph Lo /** @brief output of gate CLK_ENB_SATA_IOBIST */ 478d5586560SJoseph Lo #define TEGRA186_CLK_SATA_IOBIST 101 479d5586560SJoseph Lo /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_HDA */ 480d5586560SJoseph Lo #define TEGRA186_CLK_HDA 102 481d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SE */ 482d5586560SJoseph Lo #define TEGRA186_CLK_SE 103 483d5586560SJoseph Lo /** @brief output of gate CLK_ENB_APB2APE */ 484d5586560SJoseph Lo #define TEGRA186_CLK_APB2APE 104 485d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_APE */ 486d5586560SJoseph Lo #define TEGRA186_CLK_APE 105 487d5586560SJoseph Lo /** @brief output of gate CLK_ENB_IQC1 */ 488d5586560SJoseph Lo #define TEGRA186_CLK_IQC1 106 489d5586560SJoseph Lo /** @brief output of gate CLK_ENB_IQC2 */ 490d5586560SJoseph Lo #define TEGRA186_CLK_IQC2 107 491d5586560SJoseph Lo /** divide by 2 version of TEGRA186_CLK_PLLREFE_VCO */ 492d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_OUT 108 493d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PLLREFE_PLL_REF */ 494d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_PLL_REF 109 495d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PLLC4_OUT */ 496d5586560SJoseph Lo #define TEGRA186_CLK_PLLC4_OUT 110 497d5586560SJoseph Lo /** @brief output of mux xusb_core_clk_switch on page 67 of T186_Clocks_IAS.doc */ 498d5586560SJoseph Lo #define TEGRA186_CLK_XUSB 111 499d5586560SJoseph Lo /** controls xusb_dev_ce signal on page 66 and 67 of T186_Clocks_IAS.doc */ 500d5586560SJoseph Lo #define TEGRA186_CLK_XUSB_DEV 112 501d5586560SJoseph Lo /** controls xusb_host_ce signal on page 67 of T186_Clocks_IAS.doc */ 502d5586560SJoseph Lo #define TEGRA186_CLK_XUSB_HOST 113 503d5586560SJoseph Lo /** controls xusb_ss_ce signal on page 67 of T186_Clocks_IAS.doc */ 504d5586560SJoseph Lo #define TEGRA186_CLK_XUSB_SS 114 505d5586560SJoseph Lo /** @brief output of gate CLK_ENB_DSI */ 506d5586560SJoseph Lo #define TEGRA186_CLK_DSI 115 507d5586560SJoseph Lo /** @brief output of gate CLK_ENB_MIPI_CAL */ 508d5586560SJoseph Lo #define TEGRA186_CLK_MIPI_CAL 116 509d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DSIA_LP */ 510d5586560SJoseph Lo #define TEGRA186_CLK_DSIA_LP 117 511d5586560SJoseph Lo /** @brief output of gate CLK_ENB_DSIB */ 512d5586560SJoseph Lo #define TEGRA186_CLK_DSIB 118 513d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DSIB_LP */ 514d5586560SJoseph Lo #define TEGRA186_CLK_DSIB_LP 119 515d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC1 */ 516d5586560SJoseph Lo #define TEGRA186_CLK_DMIC1 122 517d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC2 */ 518d5586560SJoseph Lo #define TEGRA186_CLK_DMIC2 123 519d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AUD_MCLK */ 520d5586560SJoseph Lo #define TEGRA186_CLK_AUD_MCLK 124 521d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C6 */ 522d5586560SJoseph Lo #define TEGRA186_CLK_I2C6 125 523d5586560SJoseph Lo /**output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UART_FST_MIPI_CAL */ 524d5586560SJoseph Lo #define TEGRA186_CLK_UART_FST_MIPI_CAL 126 525d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_VIC */ 526d5586560SJoseph Lo #define TEGRA186_CLK_VIC 127 527d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SDMMC_LEGACY_TM */ 528d5586560SJoseph Lo #define TEGRA186_CLK_SDMMC_LEGACY_TM 128 529d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVDEC */ 530d5586560SJoseph Lo #define TEGRA186_CLK_NVDEC 129 531d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVJPG */ 532d5586560SJoseph Lo #define TEGRA186_CLK_NVJPG 130 533d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVENC */ 534d5586560SJoseph Lo #define TEGRA186_CLK_NVENC 131 535d5586560SJoseph Lo /** @brief output of the QSPI_CLK_SRC mux in CLK_RST_CONTROLLER_CLK_SOURCE_QSPI */ 536d5586560SJoseph Lo #define TEGRA186_CLK_QSPI 132 537d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_VI_I2C */ 538d5586560SJoseph Lo #define TEGRA186_CLK_VI_I2C 133 539d5586560SJoseph Lo /** @brief output of gate CLK_ENB_HSIC_TRK */ 540d5586560SJoseph Lo #define TEGRA186_CLK_HSIC_TRK 134 541d5586560SJoseph Lo /** @brief output of gate CLK_ENB_USB2_TRK */ 542d5586560SJoseph Lo #define TEGRA186_CLK_USB2_TRK 135 543d5586560SJoseph Lo /** output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_MAUD */ 544d5586560SJoseph Lo #define TEGRA186_CLK_MAUD 136 545d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_TSECB */ 546d5586560SJoseph Lo #define TEGRA186_CLK_TSECB 137 547d5586560SJoseph Lo /** @brief output of gate CLK_ENB_ADSP */ 548d5586560SJoseph Lo #define TEGRA186_CLK_ADSP 138 549d5586560SJoseph Lo /** @brief output of gate CLK_ENB_ADSPNEON */ 550d5586560SJoseph Lo #define TEGRA186_CLK_ADSPNEON 139 551d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_L0_RX_LS_SYMB */ 552d5586560SJoseph Lo #define TEGRA186_CLK_MPHY_L0_RX_SYMB 140 553d5586560SJoseph Lo /** @brief output of gate CLK_ENB_MPHY_L0_RX_LS_BIT */ 554d5586560SJoseph Lo #define TEGRA186_CLK_MPHY_L0_RX_LS_BIT 141 555d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_L0_TX_LS_SYMB */ 556d5586560SJoseph Lo #define TEGRA186_CLK_MPHY_L0_TX_SYMB 142 557d5586560SJoseph Lo /** @brief output of gate CLK_ENB_MPHY_L0_TX_LS_3XBIT */ 558d5586560SJoseph Lo #define TEGRA186_CLK_MPHY_L0_TX_LS_3XBIT 143 559d5586560SJoseph Lo /** @brief output of gate CLK_ENB_MPHY_L0_RX_ANA */ 560d5586560SJoseph Lo #define TEGRA186_CLK_MPHY_L0_RX_ANA 144 561d5586560SJoseph Lo /** @brief output of gate CLK_ENB_MPHY_L1_RX_ANA */ 562d5586560SJoseph Lo #define TEGRA186_CLK_MPHY_L1_RX_ANA 145 563d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_IOBIST */ 564d5586560SJoseph Lo #define TEGRA186_CLK_MPHY_IOBIST 146 565d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_TX_1MHZ_REF */ 566d5586560SJoseph Lo #define TEGRA186_CLK_MPHY_TX_1MHZ_REF 147 567d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_MPHY_CORE_PLL_FIXED */ 568d5586560SJoseph Lo #define TEGRA186_CLK_MPHY_CORE_PLL_FIXED 148 569d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AXI_CBB */ 570d5586560SJoseph Lo #define TEGRA186_CLK_AXI_CBB 149 571d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC3 */ 572d5586560SJoseph Lo #define TEGRA186_CLK_DMIC3 150 573d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC4 */ 574d5586560SJoseph Lo #define TEGRA186_CLK_DMIC4 151 575d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DSPK1 */ 576d5586560SJoseph Lo #define TEGRA186_CLK_DSPK1 152 577d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DSPK2 */ 578d5586560SJoseph Lo #define TEGRA186_CLK_DSPK2 153 579d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C6 */ 580d5586560SJoseph Lo #define TEGRA186_CLK_I2S6 154 581d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVDISPLAY_P0 */ 582d5586560SJoseph Lo #define TEGRA186_CLK_NVDISPLAY_P0 155 583d5586560SJoseph Lo /** @brief output of the NVDISPLAY_DISP_CLK_SRC mux in CLK_RST_CONTROLLER_CLK_SOURCE_NVDISPLAY_DISP */ 584d5586560SJoseph Lo #define TEGRA186_CLK_NVDISPLAY_DISP 156 585d5586560SJoseph Lo /** @brief output of gate CLK_ENB_NVDISPLAY_DSC */ 586d5586560SJoseph Lo #define TEGRA186_CLK_NVDISPLAY_DSC 157 587d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVDISPLAYHUB */ 588d5586560SJoseph Lo #define TEGRA186_CLK_NVDISPLAYHUB 158 589d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVDISPLAY_P1 */ 590d5586560SJoseph Lo #define TEGRA186_CLK_NVDISPLAY_P1 159 591d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVDISPLAY_P2 */ 592d5586560SJoseph Lo #define TEGRA186_CLK_NVDISPLAY_P2 160 593d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_TACH */ 594d5586560SJoseph Lo #define TEGRA186_CLK_TACH 166 595d5586560SJoseph Lo /** @brief output of gate CLK_ENB_EQOS */ 596d5586560SJoseph Lo #define TEGRA186_CLK_EQOS_AXI 167 597d5586560SJoseph Lo /** @brief output of gate CLK_ENB_EQOS_RX */ 598d5586560SJoseph Lo #define TEGRA186_CLK_EQOS_RX 168 599d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UFSHC_CG_SYS */ 600d5586560SJoseph Lo #define TEGRA186_CLK_UFSHC 178 601d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UFSDEV_REF */ 602d5586560SJoseph Lo #define TEGRA186_CLK_UFSDEV_REF 179 603d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVCSI */ 604d5586560SJoseph Lo #define TEGRA186_CLK_NVCSI 180 605d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_NVCSILP */ 606d5586560SJoseph Lo #define TEGRA186_CLK_NVCSILP 181 607d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C7 */ 608d5586560SJoseph Lo #define TEGRA186_CLK_I2C7 182 609d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C9 */ 610d5586560SJoseph Lo #define TEGRA186_CLK_I2C9 183 611d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C12 */ 612d5586560SJoseph Lo #define TEGRA186_CLK_I2C12 184 613d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C13 */ 614d5586560SJoseph Lo #define TEGRA186_CLK_I2C13 185 615d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C14 */ 616d5586560SJoseph Lo #define TEGRA186_CLK_I2C14 186 617d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM1 */ 618d5586560SJoseph Lo #define TEGRA186_CLK_PWM1 187 619d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM2 */ 620d5586560SJoseph Lo #define TEGRA186_CLK_PWM2 188 621d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM3 */ 622d5586560SJoseph Lo #define TEGRA186_CLK_PWM3 189 623d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM5 */ 624d5586560SJoseph Lo #define TEGRA186_CLK_PWM5 190 625d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM6 */ 626d5586560SJoseph Lo #define TEGRA186_CLK_PWM6 191 627d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM7 */ 628d5586560SJoseph Lo #define TEGRA186_CLK_PWM7 192 629d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM8 */ 630d5586560SJoseph Lo #define TEGRA186_CLK_PWM8 193 631d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTE */ 632d5586560SJoseph Lo #define TEGRA186_CLK_UARTE 194 633d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTF */ 634d5586560SJoseph Lo #define TEGRA186_CLK_UARTF 195 635d5586560SJoseph Lo /** @deprecated */ 636d5586560SJoseph Lo #define TEGRA186_CLK_DBGAPB 196 637d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_BPMP_CPU_NIC */ 638d5586560SJoseph Lo #define TEGRA186_CLK_BPMP_CPU_NIC 197 639d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_BPMP_APB */ 640d5586560SJoseph Lo #define TEGRA186_CLK_BPMP_APB 199 641d5586560SJoseph Lo /** @brief output of mux controlled by TEGRA186_CLK_SOC_ACTMON */ 642d5586560SJoseph Lo #define TEGRA186_CLK_ACTMON 201 643d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AON_CPU_NIC */ 644d5586560SJoseph Lo #define TEGRA186_CLK_AON_CPU_NIC 208 645d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_CAN1 */ 646d5586560SJoseph Lo #define TEGRA186_CLK_CAN1 210 647d5586560SJoseph Lo /** @brief output of gate CLK_ENB_CAN1_HOST */ 648d5586560SJoseph Lo #define TEGRA186_CLK_CAN1_HOST 211 649d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_CAN2 */ 650d5586560SJoseph Lo #define TEGRA186_CLK_CAN2 212 651d5586560SJoseph Lo /** @brief output of gate CLK_ENB_CAN2_HOST */ 652d5586560SJoseph Lo #define TEGRA186_CLK_CAN2_HOST 213 653d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AON_APB */ 654d5586560SJoseph Lo #define TEGRA186_CLK_AON_APB 214 655d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTC */ 656d5586560SJoseph Lo #define TEGRA186_CLK_UARTC 215 657d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_UARTG */ 658d5586560SJoseph Lo #define TEGRA186_CLK_UARTG 216 659d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AON_UART_FST_MIPI_CAL */ 660d5586560SJoseph Lo #define TEGRA186_CLK_AON_UART_FST_MIPI_CAL 217 661d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C2 */ 662d5586560SJoseph Lo #define TEGRA186_CLK_I2C2 218 663d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C8 */ 664d5586560SJoseph Lo #define TEGRA186_CLK_I2C8 219 665d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_I2C10 */ 666d5586560SJoseph Lo #define TEGRA186_CLK_I2C10 220 667d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AON_I2C_SLOW */ 668d5586560SJoseph Lo #define TEGRA186_CLK_AON_I2C_SLOW 221 669d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPI2 */ 670d5586560SJoseph Lo #define TEGRA186_CLK_SPI2 222 671d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DMIC5 */ 672d5586560SJoseph Lo #define TEGRA186_CLK_DMIC5 223 673d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_AON_TOUCH */ 674d5586560SJoseph Lo #define TEGRA186_CLK_AON_TOUCH 224 675d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_PWM4 */ 676d5586560SJoseph Lo #define TEGRA186_CLK_PWM4 225 677d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_TSC. This clock object is read only and is used for all timers in the system. */ 678d5586560SJoseph Lo #define TEGRA186_CLK_TSC 226 679d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_MSS_ENCRYPT */ 680d5586560SJoseph Lo #define TEGRA186_CLK_MSS_ENCRYPT 227 681d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SCE_CPU_NIC */ 682d5586560SJoseph Lo #define TEGRA186_CLK_SCE_CPU_NIC 228 683d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SCE_APB */ 684d5586560SJoseph Lo #define TEGRA186_CLK_SCE_APB 230 685d5586560SJoseph Lo /** @brief output of gate CLK_ENB_DSIC */ 686d5586560SJoseph Lo #define TEGRA186_CLK_DSIC 231 687d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DSIC_LP */ 688d5586560SJoseph Lo #define TEGRA186_CLK_DSIC_LP 232 689d5586560SJoseph Lo /** @brief output of gate CLK_ENB_DSID */ 690d5586560SJoseph Lo #define TEGRA186_CLK_DSID 233 691d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_DSID_LP */ 692d5586560SJoseph Lo #define TEGRA186_CLK_DSID_LP 234 693d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_PEX_SATA_USB_RX_BYP */ 694d5586560SJoseph Lo #define TEGRA186_CLK_PEX_SATA_USB_RX_BYP 236 695d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_CLK_SOURCE_SPDIF_OUT */ 696d5586560SJoseph Lo #define TEGRA186_CLK_SPDIF_OUT 238 697d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_PTP_REF_CLK_0 */ 698d5586560SJoseph Lo #define TEGRA186_CLK_EQOS_PTP_REF 239 699d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_EQOS_TX_CLK */ 700d5586560SJoseph Lo #define TEGRA186_CLK_EQOS_TX 240 701d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_USB2_HSIC_TRK */ 702d5586560SJoseph Lo #define TEGRA186_CLK_USB2_HSIC_TRK 241 703d5586560SJoseph Lo /** @brief output of mux xusb_ss_clk_switch on page 66 of T186_Clocks_IAS.doc */ 704d5586560SJoseph Lo #define TEGRA186_CLK_XUSB_CORE_SS 242 705d5586560SJoseph Lo /** @brief output of mux xusb_core_dev_clk_switch on page 67 of T186_Clocks_IAS.doc */ 706d5586560SJoseph Lo #define TEGRA186_CLK_XUSB_CORE_DEV 243 707d5586560SJoseph Lo /** @brief output of mux xusb_core_falcon_clk_switch on page 67 of T186_Clocks_IAS.doc */ 708d5586560SJoseph Lo #define TEGRA186_CLK_XUSB_FALCON 244 709d5586560SJoseph Lo /** @brief output of mux xusb_fs_clk_switch on page 66 of T186_Clocks_IAS.doc */ 710d5586560SJoseph Lo #define TEGRA186_CLK_XUSB_FS 245 711d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_PLLA_OUT */ 712d5586560SJoseph Lo #define TEGRA186_CLK_PLL_A_OUT0 246 713d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S1 */ 714d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_I2S1 247 715d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S2 */ 716d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_I2S2 248 717d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S3 */ 718d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_I2S3 249 719d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S4 */ 720d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_I2S4 250 721d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S5 */ 722d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_I2S5 251 723d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_I2S6 */ 724d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_I2S6 252 725d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DSPK1 */ 726d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_DSPK1 253 727d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DSPK2 */ 728d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_DSPK2 254 729d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DMIC1 */ 730d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_DMIC1 255 731d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DMIC2 */ 732d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_DMIC2 256 733d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DMIC3 */ 734d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_DMIC3 257 735d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_DMIC4 */ 736d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_DMIC4 259 737d5586560SJoseph Lo /** @brief output of mux controlled by CLK_RST_CONTROLLER_AUDIO_SYNC_CLK_SPDIF */ 738d5586560SJoseph Lo #define TEGRA186_CLK_SYNC_SPDIF 260 739d5586560SJoseph Lo /** @brief output of gate CLK_ENB_PLLREFE_OUT */ 740d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_OUT_GATED 261 741d5586560SJoseph Lo /** @brief output of the divider PLLREFE_DIVP in CLK_RST_CONTROLLER_PLLREFE_BASE. PLLREFE has 2 outputs: 742d5586560SJoseph Lo * * VCO/pdiv defined by this clock object 743d5586560SJoseph Lo * * VCO/2 defined by TEGRA186_CLK_PLLREFE_OUT 744d5586560SJoseph Lo */ 745d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_OUT1 262 746d5586560SJoseph Lo #define TEGRA186_CLK_PLLD_OUT1 267 747d5586560SJoseph Lo /** @brief output of the divider PLLP_DIVP in CLK_RST_CONTROLLER_PLLP_BASE */ 748d5586560SJoseph Lo #define TEGRA186_CLK_PLLP_OUT0 269 749d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_PLLP_OUTC */ 750d5586560SJoseph Lo #define TEGRA186_CLK_PLLP_OUT5 270 751d5586560SJoseph Lo /** PLL controlled by CLK_RST_CONTROLLER_PLLA_BASE for use by audio clocks */ 752d5586560SJoseph Lo #define TEGRA186_CLK_PLLA 271 753d5586560SJoseph Lo /** @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 */ 754d5586560SJoseph Lo #define TEGRA186_CLK_ACLK 273 755d5586560SJoseph Lo /** fixed 48MHz clock divided down from TEGRA186_CLK_PLL_U */ 756d5586560SJoseph Lo #define TEGRA186_CLK_PLL_U_48M 274 757d5586560SJoseph Lo /** fixed 480MHz clock divided down from TEGRA186_CLK_PLL_U */ 758d5586560SJoseph Lo #define TEGRA186_CLK_PLL_U_480M 275 759d5586560SJoseph Lo /** @brief output of the divider PLLC4_DIVP in CLK_RST_CONTROLLER_PLLC4_BASE. Output frequency is TEGRA186_CLK_PLLC4_VCO/PLLC4_DIVP */ 760d5586560SJoseph Lo #define TEGRA186_CLK_PLLC4_OUT0 276 761d5586560SJoseph Lo /** fixed /3 divider. Output frequency of this clock is TEGRA186_CLK_PLLC4_VCO/3 */ 762d5586560SJoseph Lo #define TEGRA186_CLK_PLLC4_OUT1 277 763d5586560SJoseph Lo /** fixed /5 divider. Output frequency of this clock is TEGRA186_CLK_PLLC4_VCO/5 */ 764d5586560SJoseph Lo #define TEGRA186_CLK_PLLC4_OUT2 278 765d5586560SJoseph Lo /** @brief output of mux controlled by PLLC4_CLK_SEL in CLK_RST_CONTROLLER_PLLC4_MISC1 */ 766d5586560SJoseph Lo #define TEGRA186_CLK_PLLC4_OUT_MUX 279 767d5586560SJoseph Lo /** @brief output of divider NVDISPLAY_DISP_CLK_DIVISOR in CLK_RST_CONTROLLER_CLK_SOURCE_NVDISPLAY_DISP when DFLLDISP_DIV is selected in NVDISPLAY_DISP_CLK_SRC */ 768d5586560SJoseph Lo #define TEGRA186_CLK_DFLLDISP_DIV 284 769d5586560SJoseph Lo /** @brief output of divider NVDISPLAY_DISP_CLK_DIVISOR in CLK_RST_CONTROLLER_CLK_SOURCE_NVDISPLAY_DISP when PLLDISPHUB_DIV is selected in NVDISPLAY_DISP_CLK_SRC */ 770d5586560SJoseph Lo #define TEGRA186_CLK_PLLDISPHUB_DIV 285 771d5586560SJoseph Lo /** fixed /8 divider which is used as the input for TEGRA186_CLK_SOR_SAFE */ 772d5586560SJoseph Lo #define TEGRA186_CLK_PLLP_DIV8 286 773d5586560SJoseph Lo /** @brief output of divider CLK_RST_CONTROLLER_BPMP_NIC_RATE */ 774d5586560SJoseph Lo #define TEGRA186_CLK_BPMP_NIC 287 775d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_PLLA1_OUT1 */ 776d5586560SJoseph Lo #define TEGRA186_CLK_PLL_A_OUT1 288 777d5586560SJoseph Lo /** @deprecated */ 778d5586560SJoseph Lo #define TEGRA186_CLK_GPC2CLK 289 779d5586560SJoseph Lo /** A fake clock which must be enabled during KFUSE read operations to ensure adequate VDD_CORE voltage. */ 780d5586560SJoseph Lo #define TEGRA186_CLK_KFUSE 293 781d5586560SJoseph Lo /** 782d5586560SJoseph Lo * @brief controls the PLLE hardware sequencer. 783d5586560SJoseph Lo * @details This clock only has enable and disable methods. When the 784d5586560SJoseph Lo * PLLE hw sequencer is enabled, PLLE, will be enabled or disabled by 785d5586560SJoseph Lo * hw based on the control signals from the PCIe, SATA and XUSB 786d5586560SJoseph Lo * clocks. When the PLLE hw sequencer is disabled, the state of PLLE 787d5586560SJoseph Lo * is controlled by sw using clk_enable/clk_disable on 788d5586560SJoseph Lo * TEGRA186_CLK_PLLE. 789d5586560SJoseph Lo */ 790d5586560SJoseph Lo #define TEGRA186_CLK_PLLE_PWRSEQ 294 791d5586560SJoseph Lo /** fixed 60MHz clock divided down from, TEGRA186_CLK_PLL_U */ 792d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_REF 295 793d5586560SJoseph Lo /** @brief output of mux controlled by SOR0_CLK_SEL0 and SOR0_CLK_SEL1 in CLK_RST_CONTROLLER_CLK_SOURCE_SOR0 */ 794d5586560SJoseph Lo #define TEGRA186_CLK_SOR0_OUT 296 795d5586560SJoseph Lo /** @brief output of mux controlled by SOR1_CLK_SEL0 and SOR1_CLK_SEL1 in CLK_RST_CONTROLLER_CLK_SOURCE_SOR1 */ 796d5586560SJoseph Lo #define TEGRA186_CLK_SOR1_OUT 297 797d5586560SJoseph Lo /** @brief fixed /5 divider. Output frequency of this clock is TEGRA186_CLK_PLLREFE_OUT1/5. Used as input for TEGRA186_CLK_EQOS_AXI */ 798d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_OUT1_DIV5 298 799d5586560SJoseph Lo /** @brief controls the UTMIP_PLL (aka PLLU) hardware sqeuencer */ 800d5586560SJoseph Lo #define TEGRA186_CLK_UTMIP_PLL_PWRSEQ 301 801d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_PEX_USB_PAD_PLL0_MGMT */ 802d5586560SJoseph Lo #define TEGRA186_CLK_PEX_USB_PAD0_MGMT 302 803d5586560SJoseph Lo /** @brief output of the divider CLK_RST_CONTROLLER_CLK_SOURCE_PEX_USB_PAD_PLL1_MGMT */ 804d5586560SJoseph Lo #define TEGRA186_CLK_PEX_USB_PAD1_MGMT 303 805d5586560SJoseph Lo /** @brief controls the UPHY_PLL0 hardware sqeuencer */ 806d5586560SJoseph Lo #define TEGRA186_CLK_UPHY_PLL0_PWRSEQ 304 807d5586560SJoseph Lo /** @brief controls the UPHY_PLL1 hardware sqeuencer */ 808d5586560SJoseph Lo #define TEGRA186_CLK_UPHY_PLL1_PWRSEQ 305 809d5586560SJoseph Lo /** @brief control for PLLREFE_IDDQ in CLK_RST_CONTROLLER_PLLREFE_MISC so the bypass output even be used when the PLL is disabled */ 810d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_PLLE_PASSTHROUGH 306 811d5586560SJoseph Lo /** @brief output of the mux controlled by PLLREFE_SEL_CLKIN_PEX in CLK_RST_CONTROLLER_PLLREFE_MISC */ 812d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_PEX 307 813d5586560SJoseph Lo /** @brief control for PLLREFE_IDDQ in CLK_RST_CONTROLLER_PLLREFE_MISC to turn on the PLL when enabled */ 814d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_IDDQ 308 815d5586560SJoseph Lo /** @brief output of the divider QSPI_CLK_DIV2_SEL in CLK_RST_CONTROLLER_CLK_SOURCE_QSPI */ 816d5586560SJoseph Lo #define TEGRA186_CLK_QSPI_OUT 309 817d5586560SJoseph Lo /** 818d5586560SJoseph Lo * @brief GPC2CLK-div-2 819d5586560SJoseph Lo * @details fixed /2 divider. Output frequency is 820d5586560SJoseph Lo * TEGRA186_CLK_GPC2CLK/2. The frequency of this clock is the 821d5586560SJoseph Lo * frequency at which the GPU graphics engine runs. */ 822d5586560SJoseph Lo #define TEGRA186_CLK_GPCCLK 310 823d5586560SJoseph Lo /** @brief output of divider CLK_RST_CONTROLLER_AON_NIC_RATE */ 824d5586560SJoseph Lo #define TEGRA186_CLK_AON_NIC 450 825d5586560SJoseph Lo /** @brief output of divider CLK_RST_CONTROLLER_SCE_NIC_RATE */ 826d5586560SJoseph Lo #define TEGRA186_CLK_SCE_NIC 451 827d5586560SJoseph Lo /** Fixed 100MHz PLL for PCIe, SATA and superspeed USB */ 828d5586560SJoseph Lo #define TEGRA186_CLK_PLLE 512 829d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC_BASE */ 830d5586560SJoseph Lo #define TEGRA186_CLK_PLLC 513 831d5586560SJoseph Lo /** Fixed 408MHz PLL for use by peripheral clocks */ 832d5586560SJoseph Lo #define TEGRA186_CLK_PLLP 516 833d5586560SJoseph Lo /** @deprecated */ 834d5586560SJoseph Lo #define TEGRA186_CLK_PLL_P TEGRA186_CLK_PLLP 835d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLD_BASE for use by DSI */ 836d5586560SJoseph Lo #define TEGRA186_CLK_PLLD 518 837d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLD2_BASE for use by HDMI or DP */ 838d5586560SJoseph Lo #define TEGRA186_CLK_PLLD2 519 839d5586560SJoseph Lo /** 840d5586560SJoseph Lo * @brief PLL controlled by CLK_RST_CONTROLLER_PLLREFE_BASE. 841d5586560SJoseph Lo * @details Note that this clock only controls the VCO output, before 842d5586560SJoseph Lo * the post-divider. See TEGRA186_CLK_PLLREFE_OUT1 for more 843d5586560SJoseph Lo * information. 844d5586560SJoseph Lo */ 845d5586560SJoseph Lo #define TEGRA186_CLK_PLLREFE_VCO 520 846d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC2_BASE */ 847d5586560SJoseph Lo #define TEGRA186_CLK_PLLC2 521 848d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC3_BASE */ 849d5586560SJoseph Lo #define TEGRA186_CLK_PLLC3 522 850d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLDP_BASE for use as the DP link clock */ 851d5586560SJoseph Lo #define TEGRA186_CLK_PLLDP 523 852d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLC4_BASE */ 853d5586560SJoseph Lo #define TEGRA186_CLK_PLLC4_VCO 524 854d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLA1_BASE for use by audio clocks */ 855d5586560SJoseph Lo #define TEGRA186_CLK_PLLA1 525 856d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLNVCSI_BASE */ 857d5586560SJoseph Lo #define TEGRA186_CLK_PLLNVCSI 526 858d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLDISPHUB_BASE */ 859d5586560SJoseph Lo #define TEGRA186_CLK_PLLDISPHUB 527 860d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLD3_BASE for use by HDMI or DP */ 861d5586560SJoseph Lo #define TEGRA186_CLK_PLLD3 528 862d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLBPMPCAM_BASE */ 863d5586560SJoseph Lo #define TEGRA186_CLK_PLLBPMPCAM 531 864d5586560SJoseph Lo /** @brief PLL controlled by CLK_RST_CONTROLLER_PLLAON_BASE for use by IP blocks in the AON domain */ 865d5586560SJoseph Lo #define TEGRA186_CLK_PLLAON 532 866d5586560SJoseph Lo /** Fixed frequency 960MHz PLL for USB and EAVB */ 867d5586560SJoseph Lo #define TEGRA186_CLK_PLLU 533 868d5586560SJoseph Lo /** fixed /2 divider. Output frequency is TEGRA186_CLK_PLLC4_VCO/2 */ 869d5586560SJoseph Lo #define TEGRA186_CLK_PLLC4_VCO_DIV2 535 870d5586560SJoseph Lo /** @brief NAFLL clock source for AXI_CBB */ 871d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_AXI_CBB 564 872d5586560SJoseph Lo /** @brief NAFLL clock source for BPMP */ 873d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_BPMP 565 874d5586560SJoseph Lo /** @brief NAFLL clock source for ISP */ 875d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_ISP 566 876d5586560SJoseph Lo /** @brief NAFLL clock source for NVDEC */ 877d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_NVDEC 567 878d5586560SJoseph Lo /** @brief NAFLL clock source for NVENC */ 879d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_NVENC 568 880d5586560SJoseph Lo /** @brief NAFLL clock source for NVJPG */ 881d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_NVJPG 569 882d5586560SJoseph Lo /** @brief NAFLL clock source for SCE */ 883d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_SCE 570 884d5586560SJoseph Lo /** @brief NAFLL clock source for SE */ 885d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_SE 571 886d5586560SJoseph Lo /** @brief NAFLL clock source for TSEC */ 887d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_TSEC 572 888d5586560SJoseph Lo /** @brief NAFLL clock source for TSECB */ 889d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_TSECB 573 890d5586560SJoseph Lo /** @brief NAFLL clock source for VI */ 891d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_VI 574 892d5586560SJoseph Lo /** @brief NAFLL clock source for VIC */ 893d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_VIC 575 894d5586560SJoseph Lo /** @brief NAFLL clock source for DISP */ 895d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_DISP 576 896d5586560SJoseph Lo /** @brief NAFLL clock source for GPU */ 897d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_GPU 577 898d5586560SJoseph Lo /** @brief NAFLL clock source for M-CPU cluster */ 899d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_MCPU 578 900d5586560SJoseph Lo /** @brief NAFLL clock source for B-CPU cluster */ 901d5586560SJoseph Lo #define TEGRA186_CLK_NAFLL_BCPU 579 902d5586560SJoseph Lo /** @brief input from Tegra's CLK_32K_IN pad */ 903d5586560SJoseph Lo #define TEGRA186_CLK_CLK_32K 608 904d5586560SJoseph Lo /** @brief output of divider CLK_RST_CONTROLLER_CLK_M_DIVIDE */ 905d5586560SJoseph Lo #define TEGRA186_CLK_CLK_M 609 906d5586560SJoseph Lo /** @brief output of divider PLL_REF_DIV in CLK_RST_CONTROLLER_OSC_CTRL */ 907d5586560SJoseph Lo #define TEGRA186_CLK_PLL_REF 610 908d5586560SJoseph Lo /** @brief input from Tegra's XTAL_IN */ 909d5586560SJoseph Lo #define TEGRA186_CLK_OSC 612 910d5586560SJoseph Lo /** @brief clock recovered from EAVB input */ 911d5586560SJoseph Lo #define TEGRA186_CLK_EQOS_RX_INPUT 613 912d5586560SJoseph Lo /** @brief clock recovered from DTV input */ 913d5586560SJoseph Lo #define TEGRA186_CLK_DTV_INPUT 614 914d5586560SJoseph Lo /** @brief SOR0 brick output which feeds into SOR0_CLK_SEL mux in CLK_RST_CONTROLLER_CLK_SOURCE_SOR0*/ 915d5586560SJoseph Lo #define TEGRA186_CLK_SOR0_PAD_CLKOUT 615 916d5586560SJoseph Lo /** @brief SOR1 brick output which feeds into SOR1_CLK_SEL mux in CLK_RST_CONTROLLER_CLK_SOURCE_SOR1*/ 917d5586560SJoseph Lo #define TEGRA186_CLK_SOR1_PAD_CLKOUT 616 918d5586560SJoseph Lo /** @brief clock recovered from I2S1 input */ 919d5586560SJoseph Lo #define TEGRA186_CLK_I2S1_SYNC_INPUT 617 920d5586560SJoseph Lo /** @brief clock recovered from I2S2 input */ 921d5586560SJoseph Lo #define TEGRA186_CLK_I2S2_SYNC_INPUT 618 922d5586560SJoseph Lo /** @brief clock recovered from I2S3 input */ 923d5586560SJoseph Lo #define TEGRA186_CLK_I2S3_SYNC_INPUT 619 924d5586560SJoseph Lo /** @brief clock recovered from I2S4 input */ 925d5586560SJoseph Lo #define TEGRA186_CLK_I2S4_SYNC_INPUT 620 926d5586560SJoseph Lo /** @brief clock recovered from I2S5 input */ 927d5586560SJoseph Lo #define TEGRA186_CLK_I2S5_SYNC_INPUT 621 928d5586560SJoseph Lo /** @brief clock recovered from I2S6 input */ 929d5586560SJoseph Lo #define TEGRA186_CLK_I2S6_SYNC_INPUT 622 930d5586560SJoseph Lo /** @brief clock recovered from SPDIFIN input */ 931d5586560SJoseph Lo #define TEGRA186_CLK_SPDIFIN_SYNC_INPUT 623 932d5586560SJoseph Lo 933d5586560SJoseph Lo /** 934d5586560SJoseph Lo * @brief subject to change 935d5586560SJoseph Lo * @details maximum clock identifier value plus one. 936d5586560SJoseph Lo */ 937d5586560SJoseph Lo #define TEGRA186_CLK_CLK_MAX 624 938d5586560SJoseph Lo 939d5586560SJoseph Lo /** @} */ 940d5586560SJoseph Lo 941d5586560SJoseph Lo #endif 942