blob: 9b8045d75b8b67f439facdc10b09e8668f6657b9 [file] [log] [blame]
Patrick Wildt02548cf2019-10-14 13:19:00 +02001/* SPDX-License-Identifier: GPL-2.0 */
Peng Fand76f3b02018-01-10 13:20:45 +08002/*
3 * Copyright 2016 Freescale Semiconductor, Inc.
4 * Copyright 2017 NXP
Peng Fand76f3b02018-01-10 13:20:45 +08005 */
6
7#ifndef __DT_BINDINGS_CLOCK_IMX8MQ_H
8#define __DT_BINDINGS_CLOCK_IMX8MQ_H
9
10#define IMX8MQ_CLK_DUMMY 0
11#define IMX8MQ_CLK_32K 1
12#define IMX8MQ_CLK_25M 2
13#define IMX8MQ_CLK_27M 3
14#define IMX8MQ_CLK_EXT1 4
15#define IMX8MQ_CLK_EXT2 5
16#define IMX8MQ_CLK_EXT3 6
17#define IMX8MQ_CLK_EXT4 7
18
19/* ANAMIX PLL clocks */
20/* FRAC PLLs */
21/* ARM PLL */
22#define IMX8MQ_ARM_PLL_REF_SEL 8
23#define IMX8MQ_ARM_PLL_REF_DIV 9
24#define IMX8MQ_ARM_PLL 10
25#define IMX8MQ_ARM_PLL_BYPASS 11
26#define IMX8MQ_ARM_PLL_OUT 12
27
28/* GPU PLL */
29#define IMX8MQ_GPU_PLL_REF_SEL 13
30#define IMX8MQ_GPU_PLL_REF_DIV 14
31#define IMX8MQ_GPU_PLL 15
32#define IMX8MQ_GPU_PLL_BYPASS 16
33#define IMX8MQ_GPU_PLL_OUT 17
34
35/* VPU PLL */
36#define IMX8MQ_VPU_PLL_REF_SEL 18
37#define IMX8MQ_VPU_PLL_REF_DIV 19
38#define IMX8MQ_VPU_PLL 20
39#define IMX8MQ_VPU_PLL_BYPASS 21
40#define IMX8MQ_VPU_PLL_OUT 22
41
42/* AUDIO PLL1 */
43#define IMX8MQ_AUDIO_PLL1_REF_SEL 23
44#define IMX8MQ_AUDIO_PLL1_REF_DIV 24
45#define IMX8MQ_AUDIO_PLL1 25
46#define IMX8MQ_AUDIO_PLL1_BYPASS 26
47#define IMX8MQ_AUDIO_PLL1_OUT 27
48
49/* AUDIO PLL2 */
50#define IMX8MQ_AUDIO_PLL2_REF_SEL 28
51#define IMX8MQ_AUDIO_PLL2_REF_DIV 29
52#define IMX8MQ_AUDIO_PLL2 30
53#define IMX8MQ_AUDIO_PLL2_BYPASS 31
54#define IMX8MQ_AUDIO_PLL2_OUT 32
55
56/* VIDEO PLL1 */
57#define IMX8MQ_VIDEO_PLL1_REF_SEL 33
58#define IMX8MQ_VIDEO_PLL1_REF_DIV 34
59#define IMX8MQ_VIDEO_PLL1 35
60#define IMX8MQ_VIDEO_PLL1_BYPASS 36
61#define IMX8MQ_VIDEO_PLL1_OUT 37
62
63/* SYS1 PLL */
64#define IMX8MQ_SYS1_PLL1_REF_SEL 38
65#define IMX8MQ_SYS1_PLL1_REF_DIV 39
66#define IMX8MQ_SYS1_PLL1 40
67#define IMX8MQ_SYS1_PLL1_OUT 41
68#define IMX8MQ_SYS1_PLL1_OUT_DIV 42
69#define IMX8MQ_SYS1_PLL2 43
70#define IMX8MQ_SYS1_PLL2_DIV 44
71#define IMX8MQ_SYS1_PLL2_OUT 45
72
73/* SYS2 PLL */
74#define IMX8MQ_SYS2_PLL1_REF_SEL 46
75#define IMX8MQ_SYS2_PLL1_REF_DIV 47
76#define IMX8MQ_SYS2_PLL1 48
77#define IMX8MQ_SYS2_PLL1_OUT 49
78#define IMX8MQ_SYS2_PLL1_OUT_DIV 50
79#define IMX8MQ_SYS2_PLL2 51
80#define IMX8MQ_SYS2_PLL2_DIV 52
81#define IMX8MQ_SYS2_PLL2_OUT 53
82
83/* SYS3 PLL */
84#define IMX8MQ_SYS3_PLL1_REF_SEL 54
85#define IMX8MQ_SYS3_PLL1_REF_DIV 55
86#define IMX8MQ_SYS3_PLL1 56
87#define IMX8MQ_SYS3_PLL1_OUT 57
88#define IMX8MQ_SYS3_PLL1_OUT_DIV 58
89#define IMX8MQ_SYS3_PLL2 59
90#define IMX8MQ_SYS3_PLL2_DIV 60
91#define IMX8MQ_SYS3_PLL2_OUT 61
92
93/* DRAM PLL */
94#define IMX8MQ_DRAM_PLL1_REF_SEL 62
95#define IMX8MQ_DRAM_PLL1_REF_DIV 63
96#define IMX8MQ_DRAM_PLL1 64
97#define IMX8MQ_DRAM_PLL1_OUT 65
98#define IMX8MQ_DRAM_PLL1_OUT_DIV 66
99#define IMX8MQ_DRAM_PLL2 67
100#define IMX8MQ_DRAM_PLL2_DIV 68
101#define IMX8MQ_DRAM_PLL2_OUT 69
102
103/* SYS PLL DIV */
104#define IMX8MQ_SYS1_PLL_40M 70
105#define IMX8MQ_SYS1_PLL_80M 71
106#define IMX8MQ_SYS1_PLL_100M 72
107#define IMX8MQ_SYS1_PLL_133M 73
108#define IMX8MQ_SYS1_PLL_160M 74
109#define IMX8MQ_SYS1_PLL_200M 75
110#define IMX8MQ_SYS1_PLL_266M 76
111#define IMX8MQ_SYS1_PLL_400M 77
112#define IMX8MQ_SYS1_PLL_800M 78
113
114#define IMX8MQ_SYS2_PLL_50M 79
115#define IMX8MQ_SYS2_PLL_100M 80
116#define IMX8MQ_SYS2_PLL_125M 81
117#define IMX8MQ_SYS2_PLL_166M 82
118#define IMX8MQ_SYS2_PLL_200M 83
119#define IMX8MQ_SYS2_PLL_250M 84
120#define IMX8MQ_SYS2_PLL_333M 85
121#define IMX8MQ_SYS2_PLL_500M 86
122#define IMX8MQ_SYS2_PLL_1000M 87
123
124/* CCM ROOT clocks */
125/* A53 */
126#define IMX8MQ_CLK_A53_SRC 88
127#define IMX8MQ_CLK_A53_CG 89
128#define IMX8MQ_CLK_A53_DIV 90
129/* M4 */
130#define IMX8MQ_CLK_M4_SRC 91
131#define IMX8MQ_CLK_M4_CG 92
132#define IMX8MQ_CLK_M4_DIV 93
133/* VPU */
134#define IMX8MQ_CLK_VPU_SRC 94
135#define IMX8MQ_CLK_VPU_CG 95
136#define IMX8MQ_CLK_VPU_DIV 96
137/* GPU CORE */
138#define IMX8MQ_CLK_GPU_CORE_SRC 97
139#define IMX8MQ_CLK_GPU_CORE_CG 98
140#define IMX8MQ_CLK_GPU_CORE_DIV 99
141/* GPU SHADER */
142#define IMX8MQ_CLK_GPU_SHADER_SRC 100
143#define IMX8MQ_CLK_GPU_SHADER_CG 101
144#define IMX8MQ_CLK_GPU_SHADER_DIV 102
145
146/* BUS TYPE */
147/* MAIN AXI */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200148#define IMX8MQ_CLK_MAIN_AXI 103
Peng Fand76f3b02018-01-10 13:20:45 +0800149/* ENET AXI */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200150#define IMX8MQ_CLK_ENET_AXI 104
Peng Fand76f3b02018-01-10 13:20:45 +0800151/* NAND_USDHC_BUS */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200152#define IMX8MQ_CLK_NAND_USDHC_BUS 105
Peng Fand76f3b02018-01-10 13:20:45 +0800153/* VPU BUS */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200154#define IMX8MQ_CLK_VPU_BUS 106
Peng Fand76f3b02018-01-10 13:20:45 +0800155/* DISP_AXI */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200156#define IMX8MQ_CLK_DISP_AXI 107
Peng Fand76f3b02018-01-10 13:20:45 +0800157/* DISP APB */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200158#define IMX8MQ_CLK_DISP_APB 108
Peng Fand76f3b02018-01-10 13:20:45 +0800159/* DISP RTRM */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200160#define IMX8MQ_CLK_DISP_RTRM 109
Peng Fand76f3b02018-01-10 13:20:45 +0800161/* USB_BUS */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200162#define IMX8MQ_CLK_USB_BUS 110
Peng Fand76f3b02018-01-10 13:20:45 +0800163/* GPU_AXI */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200164#define IMX8MQ_CLK_GPU_AXI 111
Peng Fand76f3b02018-01-10 13:20:45 +0800165/* GPU_AHB */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200166#define IMX8MQ_CLK_GPU_AHB 112
Peng Fand76f3b02018-01-10 13:20:45 +0800167/* NOC */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200168#define IMX8MQ_CLK_NOC 113
Peng Fand76f3b02018-01-10 13:20:45 +0800169/* NOC_APB */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200170#define IMX8MQ_CLK_NOC_APB 115
Peng Fand76f3b02018-01-10 13:20:45 +0800171
172/* AHB */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200173#define IMX8MQ_CLK_AHB 116
Peng Fand76f3b02018-01-10 13:20:45 +0800174/* AUDIO AHB */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200175#define IMX8MQ_CLK_AUDIO_AHB 117
Peng Fand76f3b02018-01-10 13:20:45 +0800176
177/* DRAM_ALT */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200178#define IMX8MQ_CLK_DRAM_ALT 118
Peng Fand76f3b02018-01-10 13:20:45 +0800179/* DRAM APB */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200180#define IMX8MQ_CLK_DRAM_APB 119
Peng Fand76f3b02018-01-10 13:20:45 +0800181/* VPU_G1 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200182#define IMX8MQ_CLK_VPU_G1 120
Peng Fand76f3b02018-01-10 13:20:45 +0800183/* VPU_G2 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200184#define IMX8MQ_CLK_VPU_G2 121
Peng Fand76f3b02018-01-10 13:20:45 +0800185/* DISP_DTRC */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200186#define IMX8MQ_CLK_DISP_DTRC 122
Peng Fand76f3b02018-01-10 13:20:45 +0800187/* DISP_DC8000 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200188#define IMX8MQ_CLK_DISP_DC8000 123
Peng Fand76f3b02018-01-10 13:20:45 +0800189/* PCIE_CTRL */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200190#define IMX8MQ_CLK_PCIE1_CTRL 124
Peng Fand76f3b02018-01-10 13:20:45 +0800191/* PCIE_PHY */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200192#define IMX8MQ_CLK_PCIE1_PHY 125
Peng Fand76f3b02018-01-10 13:20:45 +0800193/* PCIE_AUX */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200194#define IMX8MQ_CLK_PCIE1_AUX 126
Peng Fand76f3b02018-01-10 13:20:45 +0800195/* DC_PIXEL */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200196#define IMX8MQ_CLK_DC_PIXEL 127
Peng Fand76f3b02018-01-10 13:20:45 +0800197/* LCDIF_PIXEL */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200198#define IMX8MQ_CLK_LCDIF_PIXEL 128
Peng Fand76f3b02018-01-10 13:20:45 +0800199/* SAI1~6 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200200#define IMX8MQ_CLK_SAI1 129
Peng Fand76f3b02018-01-10 13:20:45 +0800201
Patrick Wildt02548cf2019-10-14 13:19:00 +0200202#define IMX8MQ_CLK_SAI2 130
Peng Fand76f3b02018-01-10 13:20:45 +0800203
Patrick Wildt02548cf2019-10-14 13:19:00 +0200204#define IMX8MQ_CLK_SAI3 131
Peng Fand76f3b02018-01-10 13:20:45 +0800205
Patrick Wildt02548cf2019-10-14 13:19:00 +0200206#define IMX8MQ_CLK_SAI4 132
Peng Fand76f3b02018-01-10 13:20:45 +0800207
Patrick Wildt02548cf2019-10-14 13:19:00 +0200208#define IMX8MQ_CLK_SAI5 133
Peng Fand76f3b02018-01-10 13:20:45 +0800209
Patrick Wildt02548cf2019-10-14 13:19:00 +0200210#define IMX8MQ_CLK_SAI6 134
Peng Fand76f3b02018-01-10 13:20:45 +0800211/* SPDIF1 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200212#define IMX8MQ_CLK_SPDIF1 135
Peng Fand76f3b02018-01-10 13:20:45 +0800213/* SPDIF2 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200214#define IMX8MQ_CLK_SPDIF2 136
Peng Fand76f3b02018-01-10 13:20:45 +0800215/* ENET_REF */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200216#define IMX8MQ_CLK_ENET_REF 137
Peng Fand76f3b02018-01-10 13:20:45 +0800217/* ENET_TIMER */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200218#define IMX8MQ_CLK_ENET_TIMER 138
Peng Fand76f3b02018-01-10 13:20:45 +0800219/* ENET_PHY */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200220#define IMX8MQ_CLK_ENET_PHY_REF 139
Peng Fand76f3b02018-01-10 13:20:45 +0800221/* NAND */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200222#define IMX8MQ_CLK_NAND 140
Peng Fand76f3b02018-01-10 13:20:45 +0800223/* QSPI */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200224#define IMX8MQ_CLK_QSPI 141
Peng Fand76f3b02018-01-10 13:20:45 +0800225/* USDHC1 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200226#define IMX8MQ_CLK_USDHC1 142
Peng Fand76f3b02018-01-10 13:20:45 +0800227/* USDHC2 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200228#define IMX8MQ_CLK_USDHC2 143
Peng Fand76f3b02018-01-10 13:20:45 +0800229/* I2C1 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200230#define IMX8MQ_CLK_I2C1 144
Peng Fand76f3b02018-01-10 13:20:45 +0800231/* I2C2 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200232#define IMX8MQ_CLK_I2C2 145
Peng Fand76f3b02018-01-10 13:20:45 +0800233/* I2C3 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200234#define IMX8MQ_CLK_I2C3 146
Peng Fand76f3b02018-01-10 13:20:45 +0800235/* I2C4 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200236#define IMX8MQ_CLK_I2C4 147
Peng Fand76f3b02018-01-10 13:20:45 +0800237/* UART1 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200238#define IMX8MQ_CLK_UART1 148
Peng Fand76f3b02018-01-10 13:20:45 +0800239/* UART2 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200240#define IMX8MQ_CLK_UART2 149
Peng Fand76f3b02018-01-10 13:20:45 +0800241/* UART3 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200242#define IMX8MQ_CLK_UART3 150
Peng Fand76f3b02018-01-10 13:20:45 +0800243/* UART4 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200244#define IMX8MQ_CLK_UART4 151
Peng Fand76f3b02018-01-10 13:20:45 +0800245/* USB_CORE_REF */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200246#define IMX8MQ_CLK_USB_CORE_REF 152
Peng Fand76f3b02018-01-10 13:20:45 +0800247/* USB_PHY_REF */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200248#define IMX8MQ_CLK_USB_PHY_REF 153
Peng Fand76f3b02018-01-10 13:20:45 +0800249/* ECSPI1 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200250#define IMX8MQ_CLK_ECSPI1 154
Peng Fand76f3b02018-01-10 13:20:45 +0800251/* ECSPI2 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200252#define IMX8MQ_CLK_ECSPI2 155
Peng Fand76f3b02018-01-10 13:20:45 +0800253/* PWM1 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200254#define IMX8MQ_CLK_PWM1 156
Peng Fand76f3b02018-01-10 13:20:45 +0800255/* PWM2 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200256#define IMX8MQ_CLK_PWM2 157
Peng Fand76f3b02018-01-10 13:20:45 +0800257/* PWM3 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200258#define IMX8MQ_CLK_PWM3 158
Peng Fand76f3b02018-01-10 13:20:45 +0800259/* PWM4 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200260#define IMX8MQ_CLK_PWM4 159
Peng Fand76f3b02018-01-10 13:20:45 +0800261/* GPT1 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200262#define IMX8MQ_CLK_GPT1 160
Peng Fand76f3b02018-01-10 13:20:45 +0800263/* WDOG */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200264#define IMX8MQ_CLK_WDOG 161
Peng Fand76f3b02018-01-10 13:20:45 +0800265/* WRCLK */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200266#define IMX8MQ_CLK_WRCLK 162
Peng Fand76f3b02018-01-10 13:20:45 +0800267/* DSI_CORE */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200268#define IMX8MQ_CLK_DSI_CORE 163
Peng Fand76f3b02018-01-10 13:20:45 +0800269/* DSI_PHY */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200270#define IMX8MQ_CLK_DSI_PHY_REF 164
Peng Fand76f3b02018-01-10 13:20:45 +0800271/* DSI_DBI */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200272#define IMX8MQ_CLK_DSI_DBI 165
Peng Fand76f3b02018-01-10 13:20:45 +0800273/*DSI_ESC */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200274#define IMX8MQ_CLK_DSI_ESC 166
Peng Fand76f3b02018-01-10 13:20:45 +0800275/* CSI1_CORE */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200276#define IMX8MQ_CLK_CSI1_CORE 167
Peng Fand76f3b02018-01-10 13:20:45 +0800277/* CSI1_PHY */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200278#define IMX8MQ_CLK_CSI1_PHY_REF 168
Peng Fand76f3b02018-01-10 13:20:45 +0800279/* CSI_ESC */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200280#define IMX8MQ_CLK_CSI1_ESC 169
Peng Fand76f3b02018-01-10 13:20:45 +0800281/* CSI2_CORE */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200282#define IMX8MQ_CLK_CSI2_CORE 170
Peng Fand76f3b02018-01-10 13:20:45 +0800283/* CSI2_PHY */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200284#define IMX8MQ_CLK_CSI2_PHY_REF 171
Peng Fand76f3b02018-01-10 13:20:45 +0800285/* CSI2_ESC */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200286#define IMX8MQ_CLK_CSI2_ESC 172
Peng Fand76f3b02018-01-10 13:20:45 +0800287/* PCIE2_CTRL */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200288#define IMX8MQ_CLK_PCIE2_CTRL 173
Peng Fand76f3b02018-01-10 13:20:45 +0800289/* PCIE2_PHY */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200290#define IMX8MQ_CLK_PCIE2_PHY 174
Peng Fand76f3b02018-01-10 13:20:45 +0800291/* PCIE2_AUX */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200292#define IMX8MQ_CLK_PCIE2_AUX 175
Peng Fand76f3b02018-01-10 13:20:45 +0800293/* ECSPI3 */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200294#define IMX8MQ_CLK_ECSPI3 176
Peng Fand76f3b02018-01-10 13:20:45 +0800295
296/* CCGR clocks */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200297#define IMX8MQ_CLK_A53_ROOT 177
298#define IMX8MQ_CLK_DRAM_ROOT 178
299#define IMX8MQ_CLK_ECSPI1_ROOT 179
300#define IMX8MQ_CLK_ECSPI2_ROOT 180
301#define IMX8MQ_CLK_ECSPI3_ROOT 181
302#define IMX8MQ_CLK_ENET1_ROOT 182
303#define IMX8MQ_CLK_GPT1_ROOT 183
304#define IMX8MQ_CLK_I2C1_ROOT 184
305#define IMX8MQ_CLK_I2C2_ROOT 185
306#define IMX8MQ_CLK_I2C3_ROOT 186
307#define IMX8MQ_CLK_I2C4_ROOT 187
308#define IMX8MQ_CLK_M4_ROOT 188
309#define IMX8MQ_CLK_PCIE1_ROOT 189
310#define IMX8MQ_CLK_PCIE2_ROOT 190
311#define IMX8MQ_CLK_PWM1_ROOT 191
312#define IMX8MQ_CLK_PWM2_ROOT 192
313#define IMX8MQ_CLK_PWM3_ROOT 193
314#define IMX8MQ_CLK_PWM4_ROOT 194
315#define IMX8MQ_CLK_QSPI_ROOT 195
316#define IMX8MQ_CLK_SAI1_ROOT 196
317#define IMX8MQ_CLK_SAI2_ROOT 197
318#define IMX8MQ_CLK_SAI3_ROOT 198
319#define IMX8MQ_CLK_SAI4_ROOT 199
320#define IMX8MQ_CLK_SAI5_ROOT 200
321#define IMX8MQ_CLK_SAI6_ROOT 201
322#define IMX8MQ_CLK_UART1_ROOT 202
323#define IMX8MQ_CLK_UART2_ROOT 203
324#define IMX8MQ_CLK_UART3_ROOT 204
325#define IMX8MQ_CLK_UART4_ROOT 205
326#define IMX8MQ_CLK_USB1_CTRL_ROOT 206
327#define IMX8MQ_CLK_USB2_CTRL_ROOT 207
328#define IMX8MQ_CLK_USB1_PHY_ROOT 208
329#define IMX8MQ_CLK_USB2_PHY_ROOT 209
330#define IMX8MQ_CLK_USDHC1_ROOT 210
331#define IMX8MQ_CLK_USDHC2_ROOT 211
332#define IMX8MQ_CLK_WDOG1_ROOT 212
333#define IMX8MQ_CLK_WDOG2_ROOT 213
334#define IMX8MQ_CLK_WDOG3_ROOT 214
335#define IMX8MQ_CLK_GPU_ROOT 215
336#define IMX8MQ_CLK_HEVC_ROOT 216
337#define IMX8MQ_CLK_AVC_ROOT 217
338#define IMX8MQ_CLK_VP9_ROOT 218
339#define IMX8MQ_CLK_HEVC_INTER_ROOT 219
340#define IMX8MQ_CLK_DISP_ROOT 220
341#define IMX8MQ_CLK_HDMI_ROOT 221
342#define IMX8MQ_CLK_HDMI_PHY_ROOT 222
343#define IMX8MQ_CLK_VPU_DEC_ROOT 223
344#define IMX8MQ_CLK_CSI1_ROOT 224
345#define IMX8MQ_CLK_CSI2_ROOT 225
346#define IMX8MQ_CLK_RAWNAND_ROOT 226
347#define IMX8MQ_CLK_SDMA1_ROOT 227
348#define IMX8MQ_CLK_SDMA2_ROOT 228
349#define IMX8MQ_CLK_VPU_G1_ROOT 229
350#define IMX8MQ_CLK_VPU_G2_ROOT 230
Peng Fand76f3b02018-01-10 13:20:45 +0800351
352/* SCCG PLL GATE */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200353#define IMX8MQ_SYS1_PLL_OUT 231
354#define IMX8MQ_SYS2_PLL_OUT 232
355#define IMX8MQ_SYS3_PLL_OUT 233
356#define IMX8MQ_DRAM_PLL_OUT 234
Peng Fand76f3b02018-01-10 13:20:45 +0800357
Patrick Wildt02548cf2019-10-14 13:19:00 +0200358#define IMX8MQ_GPT_3M_CLK 235
Peng Fand76f3b02018-01-10 13:20:45 +0800359
Patrick Wildt02548cf2019-10-14 13:19:00 +0200360#define IMX8MQ_CLK_IPG_ROOT 236
361#define IMX8MQ_CLK_IPG_AUDIO_ROOT 237
362#define IMX8MQ_CLK_SAI1_IPG 238
363#define IMX8MQ_CLK_SAI2_IPG 239
364#define IMX8MQ_CLK_SAI3_IPG 240
365#define IMX8MQ_CLK_SAI4_IPG 241
366#define IMX8MQ_CLK_SAI5_IPG 242
367#define IMX8MQ_CLK_SAI6_IPG 243
Peng Fand76f3b02018-01-10 13:20:45 +0800368
369/* DSI AHB/IPG clocks */
370/* rxesc clock */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200371#define IMX8MQ_CLK_DSI_AHB 244
Peng Fand76f3b02018-01-10 13:20:45 +0800372/* txesc clock */
Patrick Wildt02548cf2019-10-14 13:19:00 +0200373#define IMX8MQ_CLK_DSI_IPG_DIV 245
Peng Fand76f3b02018-01-10 13:20:45 +0800374
Patrick Wildt02548cf2019-10-14 13:19:00 +0200375#define IMX8MQ_CLK_TMU_ROOT 246
376
377/* Display root clocks */
378#define IMX8MQ_CLK_DISP_AXI_ROOT 247
379#define IMX8MQ_CLK_DISP_APB_ROOT 248
380#define IMX8MQ_CLK_DISP_RTRM_ROOT 249
381
382#define IMX8MQ_CLK_OCOTP_ROOT 250
383
384#define IMX8MQ_CLK_DRAM_ALT_ROOT 251
385#define IMX8MQ_CLK_DRAM_CORE 252
386
387#define IMX8MQ_CLK_MU_ROOT 253
388#define IMX8MQ_VIDEO2_PLL_OUT 254
389
390#define IMX8MQ_CLK_CLKO2 255
391
392#define IMX8MQ_CLK_NAND_USDHC_BUS_RAWNAND_CLK 256
393
394#define IMX8MQ_CLK_CLKO1 257
395#define IMX8MQ_CLK_ARM 258
396
397#define IMX8MQ_CLK_GPIO1_ROOT 259
398#define IMX8MQ_CLK_GPIO2_ROOT 260
399#define IMX8MQ_CLK_GPIO3_ROOT 261
400#define IMX8MQ_CLK_GPIO4_ROOT 262
401#define IMX8MQ_CLK_GPIO5_ROOT 263
402
403#define IMX8MQ_CLK_SNVS_ROOT 264
404#define IMX8MQ_CLK_GIC 265
Peng Fand76f3b02018-01-10 13:20:45 +0800405
Peng Fan583b2e52020-12-27 16:11:56 +0800406#define IMX8MQ_VIDEO2_PLL1_REF_SEL 266
407
408#define IMX8MQ_SYS1_PLL_40M_CG 267
409#define IMX8MQ_SYS1_PLL_80M_CG 268
410#define IMX8MQ_SYS1_PLL_100M_CG 269
411#define IMX8MQ_SYS1_PLL_133M_CG 270
412#define IMX8MQ_SYS1_PLL_160M_CG 271
413#define IMX8MQ_SYS1_PLL_200M_CG 272
414#define IMX8MQ_SYS1_PLL_266M_CG 273
415#define IMX8MQ_SYS1_PLL_400M_CG 274
416#define IMX8MQ_SYS1_PLL_800M_CG 275
417#define IMX8MQ_SYS2_PLL_50M_CG 276
418#define IMX8MQ_SYS2_PLL_100M_CG 277
419#define IMX8MQ_SYS2_PLL_125M_CG 278
420#define IMX8MQ_SYS2_PLL_166M_CG 279
421#define IMX8MQ_SYS2_PLL_200M_CG 280
422#define IMX8MQ_SYS2_PLL_250M_CG 281
423#define IMX8MQ_SYS2_PLL_333M_CG 282
424#define IMX8MQ_SYS2_PLL_500M_CG 283
425#define IMX8MQ_SYS2_PLL_1000M_CG 284
426
427#define IMX8MQ_CLK_GPU_CORE 285
428#define IMX8MQ_CLK_GPU_SHADER 286
429#define IMX8MQ_CLK_M4_CORE 287
430#define IMX8MQ_CLK_VPU_CORE 288
431
432#define IMX8MQ_CLK_A53_CORE 289
433
434#define IMX8MQ_CLK_END 290
435
Peng Fand76f3b02018-01-10 13:20:45 +0800436#endif /* __DT_BINDINGS_CLOCK_IMX8MQ_H */