162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright 2018 NXP 462306a36Sopenharmony_ci * Dong Aisheng <aisheng.dong@nxp.com> 562306a36Sopenharmony_ci */ 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci#ifndef _IMX8QXP_LPCG_H 862306a36Sopenharmony_ci#define _IMX8QXP_LPCG_H 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci/*LSIO SS */ 1162306a36Sopenharmony_ci#define LSIO_PWM_0_LPCG 0x00000 1262306a36Sopenharmony_ci#define LSIO_PWM_1_LPCG 0x10000 1362306a36Sopenharmony_ci#define LSIO_PWM_2_LPCG 0x20000 1462306a36Sopenharmony_ci#define LSIO_PWM_3_LPCG 0x30000 1562306a36Sopenharmony_ci#define LSIO_PWM_4_LPCG 0x40000 1662306a36Sopenharmony_ci#define LSIO_PWM_5_LPCG 0x50000 1762306a36Sopenharmony_ci#define LSIO_PWM_6_LPCG 0x60000 1862306a36Sopenharmony_ci#define LSIO_PWM_7_LPCG 0x70000 1962306a36Sopenharmony_ci#define LSIO_GPIO_0_LPCG 0x80000 2062306a36Sopenharmony_ci#define LSIO_GPIO_1_LPCG 0x90000 2162306a36Sopenharmony_ci#define LSIO_GPIO_2_LPCG 0xa0000 2262306a36Sopenharmony_ci#define LSIO_GPIO_3_LPCG 0xb0000 2362306a36Sopenharmony_ci#define LSIO_GPIO_4_LPCG 0xc0000 2462306a36Sopenharmony_ci#define LSIO_GPIO_5_LPCG 0xd0000 2562306a36Sopenharmony_ci#define LSIO_GPIO_6_LPCG 0xe0000 2662306a36Sopenharmony_ci#define LSIO_GPIO_7_LPCG 0xf0000 2762306a36Sopenharmony_ci#define LSIO_FSPI_0_LPCG 0x120000 2862306a36Sopenharmony_ci#define LSIO_FSPI_1_LPCG 0x130000 2962306a36Sopenharmony_ci#define LSIO_GPT_0_LPCG 0x140000 3062306a36Sopenharmony_ci#define LSIO_GPT_1_LPCG 0x150000 3162306a36Sopenharmony_ci#define LSIO_GPT_2_LPCG 0x160000 3262306a36Sopenharmony_ci#define LSIO_GPT_3_LPCG 0x170000 3362306a36Sopenharmony_ci#define LSIO_GPT_4_LPCG 0x180000 3462306a36Sopenharmony_ci#define LSIO_OCRAM_LPCG 0x190000 3562306a36Sopenharmony_ci#define LSIO_KPP_LPCG 0x1a0000 3662306a36Sopenharmony_ci#define LSIO_ROMCP_LPCG 0x100000 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci/* Connectivity SS */ 3962306a36Sopenharmony_ci#define CONN_USDHC_0_LPCG 0x00000 4062306a36Sopenharmony_ci#define CONN_USDHC_1_LPCG 0x10000 4162306a36Sopenharmony_ci#define CONN_USDHC_2_LPCG 0x20000 4262306a36Sopenharmony_ci#define CONN_ENET_0_LPCG 0x30000 4362306a36Sopenharmony_ci#define CONN_ENET_1_LPCG 0x40000 4462306a36Sopenharmony_ci#define CONN_DTCP_LPCG 0x50000 4562306a36Sopenharmony_ci#define CONN_MLB_LPCG 0x60000 4662306a36Sopenharmony_ci#define CONN_USB_2_LPCG 0x70000 4762306a36Sopenharmony_ci#define CONN_USB_3_LPCG 0x80000 4862306a36Sopenharmony_ci#define CONN_NAND_LPCG 0x90000 4962306a36Sopenharmony_ci#define CONN_EDMA_LPCG 0xa0000 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci/* ADMA SS */ 5262306a36Sopenharmony_ci#define ADMA_ASRC_0_LPCG 0x400000 5362306a36Sopenharmony_ci#define ADMA_ESAI_0_LPCG 0x410000 5462306a36Sopenharmony_ci#define ADMA_SPDIF_0_LPCG 0x420000 5562306a36Sopenharmony_ci#define ADMA_SAI_0_LPCG 0x440000 5662306a36Sopenharmony_ci#define ADMA_SAI_1_LPCG 0x450000 5762306a36Sopenharmony_ci#define ADMA_SAI_2_LPCG 0x460000 5862306a36Sopenharmony_ci#define ADMA_SAI_3_LPCG 0x470000 5962306a36Sopenharmony_ci#define ADMA_GPT_5_LPCG 0x4b0000 6062306a36Sopenharmony_ci#define ADMA_GPT_6_LPCG 0x4c0000 6162306a36Sopenharmony_ci#define ADMA_GPT_7_LPCG 0x4d0000 6262306a36Sopenharmony_ci#define ADMA_GPT_8_LPCG 0x4e0000 6362306a36Sopenharmony_ci#define ADMA_GPT_9_LPCG 0x4f0000 6462306a36Sopenharmony_ci#define ADMA_GPT_10_LPCG 0x500000 6562306a36Sopenharmony_ci#define ADMA_HIFI_LPCG 0x580000 6662306a36Sopenharmony_ci#define ADMA_OCRAM_LPCG 0x590000 6762306a36Sopenharmony_ci#define ADMA_EDMA_0_LPCG 0x5f0000 6862306a36Sopenharmony_ci#define ADMA_ASRC_1_LPCG 0xc00000 6962306a36Sopenharmony_ci#define ADMA_SAI_4_LPCG 0xc20000 7062306a36Sopenharmony_ci#define ADMA_SAI_5_LPCG 0xc30000 7162306a36Sopenharmony_ci#define ADMA_AMIX_LPCG 0xc40000 7262306a36Sopenharmony_ci#define ADMA_MQS_LPCG 0xc50000 7362306a36Sopenharmony_ci#define ADMA_ACM_LPCG 0xc60000 7462306a36Sopenharmony_ci#define ADMA_REC_CLK0_LPCG 0xd00000 7562306a36Sopenharmony_ci#define ADMA_REC_CLK1_LPCG 0xd10000 7662306a36Sopenharmony_ci#define ADMA_PLL_CLK0_LPCG 0xd20000 7762306a36Sopenharmony_ci#define ADMA_PLL_CLK1_LPCG 0xd30000 7862306a36Sopenharmony_ci#define ADMA_MCLKOUT0_LPCG 0xd50000 7962306a36Sopenharmony_ci#define ADMA_MCLKOUT1_LPCG 0xd60000 8062306a36Sopenharmony_ci#define ADMA_EDMA_1_LPCG 0xdf0000 8162306a36Sopenharmony_ci#define ADMA_LPSPI_0_LPCG 0x1400000 8262306a36Sopenharmony_ci#define ADMA_LPSPI_1_LPCG 0x1410000 8362306a36Sopenharmony_ci#define ADMA_LPSPI_2_LPCG 0x1420000 8462306a36Sopenharmony_ci#define ADMA_LPSPI_3_LPCG 0x1430000 8562306a36Sopenharmony_ci#define ADMA_LPUART_0_LPCG 0x1460000 8662306a36Sopenharmony_ci#define ADMA_LPUART_1_LPCG 0x1470000 8762306a36Sopenharmony_ci#define ADMA_LPUART_2_LPCG 0x1480000 8862306a36Sopenharmony_ci#define ADMA_LPUART_3_LPCG 0x1490000 8962306a36Sopenharmony_ci#define ADMA_LCD_LPCG 0x1580000 9062306a36Sopenharmony_ci#define ADMA_PWM_LPCG 0x1590000 9162306a36Sopenharmony_ci#define ADMA_LPI2C_0_LPCG 0x1c00000 9262306a36Sopenharmony_ci#define ADMA_LPI2C_1_LPCG 0x1c10000 9362306a36Sopenharmony_ci#define ADMA_LPI2C_2_LPCG 0x1c20000 9462306a36Sopenharmony_ci#define ADMA_LPI2C_3_LPCG 0x1c30000 9562306a36Sopenharmony_ci#define ADMA_ADC_0_LPCG 0x1c80000 9662306a36Sopenharmony_ci#define ADMA_FTM_0_LPCG 0x1ca0000 9762306a36Sopenharmony_ci#define ADMA_FTM_1_LPCG 0x1cb0000 9862306a36Sopenharmony_ci#define ADMA_FLEXCAN_0_LPCG 0x1cd0000 9962306a36Sopenharmony_ci#define ADMA_FLEXCAN_1_LPCG 0x1ce0000 10062306a36Sopenharmony_ci#define ADMA_FLEXCAN_2_LPCG 0x1cf0000 10162306a36Sopenharmony_ci 10262306a36Sopenharmony_ci#endif /* _IMX8QXP_LPCG_H */ 103