18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright 2018 NXP 48c2ecf20Sopenharmony_ci * Dong Aisheng <aisheng.dong@nxp.com> 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef _IMX8QXP_LPCG_H 88c2ecf20Sopenharmony_ci#define _IMX8QXP_LPCG_H 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci/*LSIO SS */ 118c2ecf20Sopenharmony_ci#define LSIO_PWM_0_LPCG 0x00000 128c2ecf20Sopenharmony_ci#define LSIO_PWM_1_LPCG 0x10000 138c2ecf20Sopenharmony_ci#define LSIO_PWM_2_LPCG 0x20000 148c2ecf20Sopenharmony_ci#define LSIO_PWM_3_LPCG 0x30000 158c2ecf20Sopenharmony_ci#define LSIO_PWM_4_LPCG 0x40000 168c2ecf20Sopenharmony_ci#define LSIO_PWM_5_LPCG 0x50000 178c2ecf20Sopenharmony_ci#define LSIO_PWM_6_LPCG 0x60000 188c2ecf20Sopenharmony_ci#define LSIO_PWM_7_LPCG 0x70000 198c2ecf20Sopenharmony_ci#define LSIO_GPIO_0_LPCG 0x80000 208c2ecf20Sopenharmony_ci#define LSIO_GPIO_1_LPCG 0x90000 218c2ecf20Sopenharmony_ci#define LSIO_GPIO_2_LPCG 0xa0000 228c2ecf20Sopenharmony_ci#define LSIO_GPIO_3_LPCG 0xb0000 238c2ecf20Sopenharmony_ci#define LSIO_GPIO_4_LPCG 0xc0000 248c2ecf20Sopenharmony_ci#define LSIO_GPIO_5_LPCG 0xd0000 258c2ecf20Sopenharmony_ci#define LSIO_GPIO_6_LPCG 0xe0000 268c2ecf20Sopenharmony_ci#define LSIO_GPIO_7_LPCG 0xf0000 278c2ecf20Sopenharmony_ci#define LSIO_FSPI_0_LPCG 0x120000 288c2ecf20Sopenharmony_ci#define LSIO_FSPI_1_LPCG 0x130000 298c2ecf20Sopenharmony_ci#define LSIO_GPT_0_LPCG 0x140000 308c2ecf20Sopenharmony_ci#define LSIO_GPT_1_LPCG 0x150000 318c2ecf20Sopenharmony_ci#define LSIO_GPT_2_LPCG 0x160000 328c2ecf20Sopenharmony_ci#define LSIO_GPT_3_LPCG 0x170000 338c2ecf20Sopenharmony_ci#define LSIO_GPT_4_LPCG 0x180000 348c2ecf20Sopenharmony_ci#define LSIO_OCRAM_LPCG 0x190000 358c2ecf20Sopenharmony_ci#define LSIO_KPP_LPCG 0x1a0000 368c2ecf20Sopenharmony_ci#define LSIO_ROMCP_LPCG 0x100000 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci/* Connectivity SS */ 398c2ecf20Sopenharmony_ci#define CONN_USDHC_0_LPCG 0x00000 408c2ecf20Sopenharmony_ci#define CONN_USDHC_1_LPCG 0x10000 418c2ecf20Sopenharmony_ci#define CONN_USDHC_2_LPCG 0x20000 428c2ecf20Sopenharmony_ci#define CONN_ENET_0_LPCG 0x30000 438c2ecf20Sopenharmony_ci#define CONN_ENET_1_LPCG 0x40000 448c2ecf20Sopenharmony_ci#define CONN_DTCP_LPCG 0x50000 458c2ecf20Sopenharmony_ci#define CONN_MLB_LPCG 0x60000 468c2ecf20Sopenharmony_ci#define CONN_USB_2_LPCG 0x70000 478c2ecf20Sopenharmony_ci#define CONN_USB_3_LPCG 0x80000 488c2ecf20Sopenharmony_ci#define CONN_NAND_LPCG 0x90000 498c2ecf20Sopenharmony_ci#define CONN_EDMA_LPCG 0xa0000 508c2ecf20Sopenharmony_ci 518c2ecf20Sopenharmony_ci/* ADMA SS */ 528c2ecf20Sopenharmony_ci#define ADMA_ASRC_0_LPCG 0x400000 538c2ecf20Sopenharmony_ci#define ADMA_ESAI_0_LPCG 0x410000 548c2ecf20Sopenharmony_ci#define ADMA_SPDIF_0_LPCG 0x420000 558c2ecf20Sopenharmony_ci#define ADMA_SAI_0_LPCG 0x440000 568c2ecf20Sopenharmony_ci#define ADMA_SAI_1_LPCG 0x450000 578c2ecf20Sopenharmony_ci#define ADMA_SAI_2_LPCG 0x460000 588c2ecf20Sopenharmony_ci#define ADMA_SAI_3_LPCG 0x470000 598c2ecf20Sopenharmony_ci#define ADMA_GPT_5_LPCG 0x4b0000 608c2ecf20Sopenharmony_ci#define ADMA_GPT_6_LPCG 0x4c0000 618c2ecf20Sopenharmony_ci#define ADMA_GPT_7_LPCG 0x4d0000 628c2ecf20Sopenharmony_ci#define ADMA_GPT_8_LPCG 0x4e0000 638c2ecf20Sopenharmony_ci#define ADMA_GPT_9_LPCG 0x4f0000 648c2ecf20Sopenharmony_ci#define ADMA_GPT_10_LPCG 0x500000 658c2ecf20Sopenharmony_ci#define ADMA_HIFI_LPCG 0x580000 668c2ecf20Sopenharmony_ci#define ADMA_OCRAM_LPCG 0x590000 678c2ecf20Sopenharmony_ci#define ADMA_EDMA_0_LPCG 0x5f0000 688c2ecf20Sopenharmony_ci#define ADMA_ASRC_1_LPCG 0xc00000 698c2ecf20Sopenharmony_ci#define ADMA_SAI_4_LPCG 0xc20000 708c2ecf20Sopenharmony_ci#define ADMA_SAI_5_LPCG 0xc30000 718c2ecf20Sopenharmony_ci#define ADMA_AMIX_LPCG 0xc40000 728c2ecf20Sopenharmony_ci#define ADMA_MQS_LPCG 0xc50000 738c2ecf20Sopenharmony_ci#define ADMA_ACM_LPCG 0xc60000 748c2ecf20Sopenharmony_ci#define ADMA_REC_CLK0_LPCG 0xd00000 758c2ecf20Sopenharmony_ci#define ADMA_REC_CLK1_LPCG 0xd10000 768c2ecf20Sopenharmony_ci#define ADMA_PLL_CLK0_LPCG 0xd20000 778c2ecf20Sopenharmony_ci#define ADMA_PLL_CLK1_LPCG 0xd30000 788c2ecf20Sopenharmony_ci#define ADMA_MCLKOUT0_LPCG 0xd50000 798c2ecf20Sopenharmony_ci#define ADMA_MCLKOUT1_LPCG 0xd60000 808c2ecf20Sopenharmony_ci#define ADMA_EDMA_1_LPCG 0xdf0000 818c2ecf20Sopenharmony_ci#define ADMA_LPSPI_0_LPCG 0x1400000 828c2ecf20Sopenharmony_ci#define ADMA_LPSPI_1_LPCG 0x1410000 838c2ecf20Sopenharmony_ci#define ADMA_LPSPI_2_LPCG 0x1420000 848c2ecf20Sopenharmony_ci#define ADMA_LPSPI_3_LPCG 0x1430000 858c2ecf20Sopenharmony_ci#define ADMA_LPUART_0_LPCG 0x1460000 868c2ecf20Sopenharmony_ci#define ADMA_LPUART_1_LPCG 0x1470000 878c2ecf20Sopenharmony_ci#define ADMA_LPUART_2_LPCG 0x1480000 888c2ecf20Sopenharmony_ci#define ADMA_LPUART_3_LPCG 0x1490000 898c2ecf20Sopenharmony_ci#define ADMA_LCD_LPCG 0x1580000 908c2ecf20Sopenharmony_ci#define ADMA_PWM_LPCG 0x1590000 918c2ecf20Sopenharmony_ci#define ADMA_LPI2C_0_LPCG 0x1c00000 928c2ecf20Sopenharmony_ci#define ADMA_LPI2C_1_LPCG 0x1c10000 938c2ecf20Sopenharmony_ci#define ADMA_LPI2C_2_LPCG 0x1c20000 948c2ecf20Sopenharmony_ci#define ADMA_LPI2C_3_LPCG 0x1c30000 958c2ecf20Sopenharmony_ci#define ADMA_ADC_0_LPCG 0x1c80000 968c2ecf20Sopenharmony_ci#define ADMA_FTM_0_LPCG 0x1ca0000 978c2ecf20Sopenharmony_ci#define ADMA_FTM_1_LPCG 0x1cb0000 988c2ecf20Sopenharmony_ci#define ADMA_FLEXCAN_0_LPCG 0x1cd0000 998c2ecf20Sopenharmony_ci#define ADMA_FLEXCAN_1_LPCG 0x1ce0000 1008c2ecf20Sopenharmony_ci#define ADMA_FLEXCAN_2_LPCG 0x1cf0000 1018c2ecf20Sopenharmony_ci 1028c2ecf20Sopenharmony_ci#endif /* _IMX8QXP_LPCG_H */ 103