xref: /linux/drivers/clk/imx/clk-imx8qxp-lpcg.h (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1*1e3121bfSAisheng Dong /* SPDX-License-Identifier: GPL-2.0+ */
2*1e3121bfSAisheng Dong /*
3*1e3121bfSAisheng Dong  * Copyright 2018 NXP
4*1e3121bfSAisheng Dong  *   Dong Aisheng <aisheng.dong@nxp.com>
5*1e3121bfSAisheng Dong  */
6*1e3121bfSAisheng Dong 
7*1e3121bfSAisheng Dong #ifndef _IMX8QXP_LPCG_H
8*1e3121bfSAisheng Dong #define _IMX8QXP_LPCG_H
9*1e3121bfSAisheng Dong 
10*1e3121bfSAisheng Dong /*LSIO SS */
11*1e3121bfSAisheng Dong #define LSIO_PWM_0_LPCG			0x00000
12*1e3121bfSAisheng Dong #define LSIO_PWM_1_LPCG			0x10000
13*1e3121bfSAisheng Dong #define LSIO_PWM_2_LPCG			0x20000
14*1e3121bfSAisheng Dong #define LSIO_PWM_3_LPCG			0x30000
15*1e3121bfSAisheng Dong #define LSIO_PWM_4_LPCG			0x40000
16*1e3121bfSAisheng Dong #define LSIO_PWM_5_LPCG			0x50000
17*1e3121bfSAisheng Dong #define LSIO_PWM_6_LPCG			0x60000
18*1e3121bfSAisheng Dong #define LSIO_PWM_7_LPCG			0x70000
19*1e3121bfSAisheng Dong #define LSIO_GPIO_0_LPCG		0x80000
20*1e3121bfSAisheng Dong #define LSIO_GPIO_1_LPCG		0x90000
21*1e3121bfSAisheng Dong #define LSIO_GPIO_2_LPCG		0xa0000
22*1e3121bfSAisheng Dong #define LSIO_GPIO_3_LPCG		0xb0000
23*1e3121bfSAisheng Dong #define LSIO_GPIO_4_LPCG		0xc0000
24*1e3121bfSAisheng Dong #define LSIO_GPIO_5_LPCG		0xd0000
25*1e3121bfSAisheng Dong #define LSIO_GPIO_6_LPCG		0xe0000
26*1e3121bfSAisheng Dong #define LSIO_GPIO_7_LPCG		0xf0000
27*1e3121bfSAisheng Dong #define LSIO_FSPI_0_LPCG		0x120000
28*1e3121bfSAisheng Dong #define LSIO_FSPI_1_LPCG		0x130000
29*1e3121bfSAisheng Dong #define LSIO_GPT_0_LPCG			0x140000
30*1e3121bfSAisheng Dong #define LSIO_GPT_1_LPCG			0x150000
31*1e3121bfSAisheng Dong #define LSIO_GPT_2_LPCG			0x160000
32*1e3121bfSAisheng Dong #define LSIO_GPT_3_LPCG			0x170000
33*1e3121bfSAisheng Dong #define LSIO_GPT_4_LPCG			0x180000
34*1e3121bfSAisheng Dong #define LSIO_OCRAM_LPCG			0x190000
35*1e3121bfSAisheng Dong #define LSIO_KPP_LPCG			0x1a0000
36*1e3121bfSAisheng Dong #define LSIO_ROMCP_LPCG			0x100000
37*1e3121bfSAisheng Dong 
38*1e3121bfSAisheng Dong /* Connectivity SS */
39*1e3121bfSAisheng Dong #define CONN_USDHC_0_LPCG		0x00000
40*1e3121bfSAisheng Dong #define CONN_USDHC_1_LPCG		0x10000
41*1e3121bfSAisheng Dong #define CONN_USDHC_2_LPCG		0x20000
42*1e3121bfSAisheng Dong #define CONN_ENET_0_LPCG		0x30000
43*1e3121bfSAisheng Dong #define CONN_ENET_1_LPCG		0x40000
44*1e3121bfSAisheng Dong #define CONN_DTCP_LPCG			0x50000
45*1e3121bfSAisheng Dong #define CONN_USB_2_LPCG			0x70000
46*1e3121bfSAisheng Dong #define CONN_USB_3_LPCG			0x80000
47*1e3121bfSAisheng Dong #define CONN_NAND_LPCG			0x90000
48*1e3121bfSAisheng Dong #define CONN_EDMA_LPCG			0xa0000
49*1e3121bfSAisheng Dong 
50*1e3121bfSAisheng Dong /* ADMA SS */
51*1e3121bfSAisheng Dong #define ADMA_ASRC_0_LPCG		0x400000
52*1e3121bfSAisheng Dong #define ADMA_ESAI_0_LPCG		0x410000
53*1e3121bfSAisheng Dong #define ADMA_SPDIF_0_LPCG		0x420000
54*1e3121bfSAisheng Dong #define ADMA_SAI_0_LPCG			0x440000
55*1e3121bfSAisheng Dong #define ADMA_SAI_1_LPCG			0x450000
56*1e3121bfSAisheng Dong #define ADMA_SAI_2_LPCG			0x460000
57*1e3121bfSAisheng Dong #define ADMA_SAI_3_LPCG			0x470000
58*1e3121bfSAisheng Dong #define ADMA_GPT_5_LPCG			0x4b0000
59*1e3121bfSAisheng Dong #define ADMA_GPT_6_LPCG			0x4c0000
60*1e3121bfSAisheng Dong #define ADMA_GPT_7_LPCG			0x4d0000
61*1e3121bfSAisheng Dong #define ADMA_GPT_8_LPCG			0x4e0000
62*1e3121bfSAisheng Dong #define ADMA_GPT_9_LPCG			0x4f0000
63*1e3121bfSAisheng Dong #define ADMA_GPT_10_LPCG		0x500000
64*1e3121bfSAisheng Dong #define ADMA_HIFI_LPCG			0x580000
65*1e3121bfSAisheng Dong #define ADMA_OCRAM_LPCG			0x590000
66*1e3121bfSAisheng Dong #define ADMA_EDMA_0_LPCG		0x5f0000
67*1e3121bfSAisheng Dong #define ADMA_ASRC_1_LPCG		0xc00000
68*1e3121bfSAisheng Dong #define ADMA_SAI_4_LPCG			0xc20000
69*1e3121bfSAisheng Dong #define ADMA_SAI_5_LPCG			0xc30000
70*1e3121bfSAisheng Dong #define ADMA_AMIX_LPCG			0xc40000
71*1e3121bfSAisheng Dong #define ADMA_MQS_LPCG			0xc50000
72*1e3121bfSAisheng Dong #define ADMA_ACM_LPCG			0xc60000
73*1e3121bfSAisheng Dong #define ADMA_REC_CLK0_LPCG		0xd00000
74*1e3121bfSAisheng Dong #define ADMA_REC_CLK1_LPCG		0xd10000
75*1e3121bfSAisheng Dong #define ADMA_PLL_CLK0_LPCG		0xd20000
76*1e3121bfSAisheng Dong #define ADMA_PLL_CLK1_LPCG		0xd30000
77*1e3121bfSAisheng Dong #define ADMA_MCLKOUT0_LPCG		0xd50000
78*1e3121bfSAisheng Dong #define ADMA_MCLKOUT1_LPCG		0xd60000
79*1e3121bfSAisheng Dong #define ADMA_EDMA_1_LPCG		0xdf0000
80*1e3121bfSAisheng Dong #define ADMA_LPSPI_0_LPCG		0x1400000
81*1e3121bfSAisheng Dong #define ADMA_LPSPI_1_LPCG		0x1410000
82*1e3121bfSAisheng Dong #define ADMA_LPSPI_2_LPCG		0x1420000
83*1e3121bfSAisheng Dong #define ADMA_LPSPI_3_LPCG		0x1430000
84*1e3121bfSAisheng Dong #define ADMA_LPUART_0_LPCG		0x1460000
85*1e3121bfSAisheng Dong #define ADMA_LPUART_1_LPCG		0x1470000
86*1e3121bfSAisheng Dong #define ADMA_LPUART_2_LPCG		0x1480000
87*1e3121bfSAisheng Dong #define ADMA_LPUART_3_LPCG		0x1490000
88*1e3121bfSAisheng Dong #define ADMA_LCD_LPCG			0x1580000
89*1e3121bfSAisheng Dong #define ADMA_PWM_LPCG			0x1590000
90*1e3121bfSAisheng Dong #define ADMA_LPI2C_0_LPCG		0x1c00000
91*1e3121bfSAisheng Dong #define ADMA_LPI2C_1_LPCG		0x1c10000
92*1e3121bfSAisheng Dong #define ADMA_LPI2C_2_LPCG		0x1c20000
93*1e3121bfSAisheng Dong #define ADMA_LPI2C_3_LPCG		0x1c30000
94*1e3121bfSAisheng Dong #define ADMA_ADC_0_LPCG			0x1c80000
95*1e3121bfSAisheng Dong #define ADMA_FTM_0_LPCG			0x1ca0000
96*1e3121bfSAisheng Dong #define ADMA_FTM_1_LPCG			0x1cb0000
97*1e3121bfSAisheng Dong #define ADMA_FLEXCAN_0_LPCG		0x1cd0000
98*1e3121bfSAisheng Dong #define ADMA_FLEXCAN_1_LPCG		0x1ce0000
99*1e3121bfSAisheng Dong #define ADMA_FLEXCAN_2_LPCG		0x1cf0000
100*1e3121bfSAisheng Dong 
101*1e3121bfSAisheng Dong #endif /* _IMX8QXP_LPCG_H */
102