Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ */
0002 /*
0003  * Copyright 2018 NXP
0004  *   Dong Aisheng <aisheng.dong@nxp.com>
0005  */
0006 
0007 #ifndef _IMX8QXP_LPCG_H
0008 #define _IMX8QXP_LPCG_H
0009 
0010 /*LSIO SS */
0011 #define LSIO_PWM_0_LPCG         0x00000
0012 #define LSIO_PWM_1_LPCG         0x10000
0013 #define LSIO_PWM_2_LPCG         0x20000
0014 #define LSIO_PWM_3_LPCG         0x30000
0015 #define LSIO_PWM_4_LPCG         0x40000
0016 #define LSIO_PWM_5_LPCG         0x50000
0017 #define LSIO_PWM_6_LPCG         0x60000
0018 #define LSIO_PWM_7_LPCG         0x70000
0019 #define LSIO_GPIO_0_LPCG        0x80000
0020 #define LSIO_GPIO_1_LPCG        0x90000
0021 #define LSIO_GPIO_2_LPCG        0xa0000
0022 #define LSIO_GPIO_3_LPCG        0xb0000
0023 #define LSIO_GPIO_4_LPCG        0xc0000
0024 #define LSIO_GPIO_5_LPCG        0xd0000
0025 #define LSIO_GPIO_6_LPCG        0xe0000
0026 #define LSIO_GPIO_7_LPCG        0xf0000
0027 #define LSIO_FSPI_0_LPCG        0x120000
0028 #define LSIO_FSPI_1_LPCG        0x130000
0029 #define LSIO_GPT_0_LPCG         0x140000
0030 #define LSIO_GPT_1_LPCG         0x150000
0031 #define LSIO_GPT_2_LPCG         0x160000
0032 #define LSIO_GPT_3_LPCG         0x170000
0033 #define LSIO_GPT_4_LPCG         0x180000
0034 #define LSIO_OCRAM_LPCG         0x190000
0035 #define LSIO_KPP_LPCG           0x1a0000
0036 #define LSIO_ROMCP_LPCG         0x100000
0037 
0038 /* Connectivity SS */
0039 #define CONN_USDHC_0_LPCG       0x00000
0040 #define CONN_USDHC_1_LPCG       0x10000
0041 #define CONN_USDHC_2_LPCG       0x20000
0042 #define CONN_ENET_0_LPCG        0x30000
0043 #define CONN_ENET_1_LPCG        0x40000
0044 #define CONN_DTCP_LPCG          0x50000
0045 #define CONN_MLB_LPCG           0x60000
0046 #define CONN_USB_2_LPCG         0x70000
0047 #define CONN_USB_3_LPCG         0x80000
0048 #define CONN_NAND_LPCG          0x90000
0049 #define CONN_EDMA_LPCG          0xa0000
0050 
0051 /* ADMA SS */
0052 #define ADMA_ASRC_0_LPCG        0x400000
0053 #define ADMA_ESAI_0_LPCG        0x410000
0054 #define ADMA_SPDIF_0_LPCG       0x420000
0055 #define ADMA_SAI_0_LPCG         0x440000
0056 #define ADMA_SAI_1_LPCG         0x450000
0057 #define ADMA_SAI_2_LPCG         0x460000
0058 #define ADMA_SAI_3_LPCG         0x470000
0059 #define ADMA_GPT_5_LPCG         0x4b0000
0060 #define ADMA_GPT_6_LPCG         0x4c0000
0061 #define ADMA_GPT_7_LPCG         0x4d0000
0062 #define ADMA_GPT_8_LPCG         0x4e0000
0063 #define ADMA_GPT_9_LPCG         0x4f0000
0064 #define ADMA_GPT_10_LPCG        0x500000
0065 #define ADMA_HIFI_LPCG          0x580000
0066 #define ADMA_OCRAM_LPCG         0x590000
0067 #define ADMA_EDMA_0_LPCG        0x5f0000
0068 #define ADMA_ASRC_1_LPCG        0xc00000
0069 #define ADMA_SAI_4_LPCG         0xc20000
0070 #define ADMA_SAI_5_LPCG         0xc30000
0071 #define ADMA_AMIX_LPCG          0xc40000
0072 #define ADMA_MQS_LPCG           0xc50000
0073 #define ADMA_ACM_LPCG           0xc60000
0074 #define ADMA_REC_CLK0_LPCG      0xd00000
0075 #define ADMA_REC_CLK1_LPCG      0xd10000
0076 #define ADMA_PLL_CLK0_LPCG      0xd20000
0077 #define ADMA_PLL_CLK1_LPCG      0xd30000
0078 #define ADMA_MCLKOUT0_LPCG      0xd50000
0079 #define ADMA_MCLKOUT1_LPCG      0xd60000
0080 #define ADMA_EDMA_1_LPCG        0xdf0000
0081 #define ADMA_LPSPI_0_LPCG       0x1400000
0082 #define ADMA_LPSPI_1_LPCG       0x1410000
0083 #define ADMA_LPSPI_2_LPCG       0x1420000
0084 #define ADMA_LPSPI_3_LPCG       0x1430000
0085 #define ADMA_LPUART_0_LPCG      0x1460000
0086 #define ADMA_LPUART_1_LPCG      0x1470000
0087 #define ADMA_LPUART_2_LPCG      0x1480000
0088 #define ADMA_LPUART_3_LPCG      0x1490000
0089 #define ADMA_LCD_LPCG           0x1580000
0090 #define ADMA_PWM_LPCG           0x1590000
0091 #define ADMA_LPI2C_0_LPCG       0x1c00000
0092 #define ADMA_LPI2C_1_LPCG       0x1c10000
0093 #define ADMA_LPI2C_2_LPCG       0x1c20000
0094 #define ADMA_LPI2C_3_LPCG       0x1c30000
0095 #define ADMA_ADC_0_LPCG         0x1c80000
0096 #define ADMA_FTM_0_LPCG         0x1ca0000
0097 #define ADMA_FTM_1_LPCG         0x1cb0000
0098 #define ADMA_FLEXCAN_0_LPCG     0x1cd0000
0099 #define ADMA_FLEXCAN_1_LPCG     0x1ce0000
0100 #define ADMA_FLEXCAN_2_LPCG     0x1cf0000
0101 
0102 #endif /* _IMX8QXP_LPCG_H */