clk-imx8qxp-rsrc.c (1772B)
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright 2019-2021 NXP 4 * Dong Aisheng <aisheng.dong@nxp.com> 5 */ 6 7#include <dt-bindings/firmware/imx/rsrc.h> 8 9#include "clk-scu.h" 10 11/* Keep sorted in the ascending order */ 12static const u32 imx8qxp_clk_scu_rsrc_table[] = { 13 IMX_SC_R_DC_0_VIDEO0, 14 IMX_SC_R_DC_0_VIDEO1, 15 IMX_SC_R_DC_0, 16 IMX_SC_R_DC_0_PLL_0, 17 IMX_SC_R_DC_0_PLL_1, 18 IMX_SC_R_SPI_0, 19 IMX_SC_R_SPI_1, 20 IMX_SC_R_SPI_2, 21 IMX_SC_R_SPI_3, 22 IMX_SC_R_UART_0, 23 IMX_SC_R_UART_1, 24 IMX_SC_R_UART_2, 25 IMX_SC_R_UART_3, 26 IMX_SC_R_I2C_0, 27 IMX_SC_R_I2C_1, 28 IMX_SC_R_I2C_2, 29 IMX_SC_R_I2C_3, 30 IMX_SC_R_ADC_0, 31 IMX_SC_R_FTM_0, 32 IMX_SC_R_FTM_1, 33 IMX_SC_R_CAN_0, 34 IMX_SC_R_GPU_0_PID0, 35 IMX_SC_R_LCD_0, 36 IMX_SC_R_LCD_0_PWM_0, 37 IMX_SC_R_PWM_0, 38 IMX_SC_R_PWM_1, 39 IMX_SC_R_PWM_2, 40 IMX_SC_R_PWM_3, 41 IMX_SC_R_PWM_4, 42 IMX_SC_R_PWM_5, 43 IMX_SC_R_PWM_6, 44 IMX_SC_R_PWM_7, 45 IMX_SC_R_GPT_0, 46 IMX_SC_R_GPT_1, 47 IMX_SC_R_GPT_2, 48 IMX_SC_R_GPT_3, 49 IMX_SC_R_GPT_4, 50 IMX_SC_R_FSPI_0, 51 IMX_SC_R_FSPI_1, 52 IMX_SC_R_SDHC_0, 53 IMX_SC_R_SDHC_1, 54 IMX_SC_R_SDHC_2, 55 IMX_SC_R_ENET_0, 56 IMX_SC_R_ENET_1, 57 IMX_S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