162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2016 Rockchip Electronics Co. Ltd.
462306a36Sopenharmony_ci * Author: Xing Zheng <zhengxing@rock-chips.com>
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_ROCKCHIP_RK3399_H
862306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_ROCKCHIP_RK3399_H
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci/* core clocks */
1162306a36Sopenharmony_ci#define PLL_APLLL			1
1262306a36Sopenharmony_ci#define PLL_APLLB			2
1362306a36Sopenharmony_ci#define PLL_DPLL			3
1462306a36Sopenharmony_ci#define PLL_CPLL			4
1562306a36Sopenharmony_ci#define PLL_GPLL			5
1662306a36Sopenharmony_ci#define PLL_NPLL			6
1762306a36Sopenharmony_ci#define PLL_VPLL			7
1862306a36Sopenharmony_ci#define ARMCLKL				8
1962306a36Sopenharmony_ci#define ARMCLKB				9
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci/* sclk gates (special clocks) */
2262306a36Sopenharmony_ci#define SCLK_I2C1			65
2362306a36Sopenharmony_ci#define SCLK_I2C2			66
2462306a36Sopenharmony_ci#define SCLK_I2C3			67
2562306a36Sopenharmony_ci#define SCLK_I2C5			68
2662306a36Sopenharmony_ci#define SCLK_I2C6			69
2762306a36Sopenharmony_ci#define SCLK_I2C7			70
2862306a36Sopenharmony_ci#define SCLK_SPI0			71
2962306a36Sopenharmony_ci#define SCLK_SPI1			72
3062306a36Sopenharmony_ci#define SCLK_SPI2			73
3162306a36Sopenharmony_ci#define SCLK_SPI4			74
3262306a36Sopenharmony_ci#define SCLK_SPI5			75
3362306a36Sopenharmony_ci#define SCLK_SDMMC			76
3462306a36Sopenharmony_ci#define SCLK_SDIO			77
3562306a36Sopenharmony_ci#define SCLK_EMMC			78
3662306a36Sopenharmony_ci#define SCLK_TSADC			79
3762306a36Sopenharmony_ci#define SCLK_SARADC			80
3862306a36Sopenharmony_ci#define SCLK_UART0			81
3962306a36Sopenharmony_ci#define SCLK_UART1			82
4062306a36Sopenharmony_ci#define SCLK_UART2			83
4162306a36Sopenharmony_ci#define SCLK_UART3			84
4262306a36Sopenharmony_ci#define SCLK_SPDIF_8CH			85
4362306a36Sopenharmony_ci#define SCLK_I2S0_8CH			86
4462306a36Sopenharmony_ci#define SCLK_I2S1_8CH			87
4562306a36Sopenharmony_ci#define SCLK_I2S2_8CH			88
4662306a36Sopenharmony_ci#define SCLK_I2S_8CH_OUT		89
4762306a36Sopenharmony_ci#define SCLK_TIMER00			90
4862306a36Sopenharmony_ci#define SCLK_TIMER01			91
4962306a36Sopenharmony_ci#define SCLK_TIMER02			92
5062306a36Sopenharmony_ci#define SCLK_TIMER03			93
5162306a36Sopenharmony_ci#define SCLK_TIMER04			94
5262306a36Sopenharmony_ci#define SCLK_TIMER05			95
5362306a36Sopenharmony_ci#define SCLK_TIMER06			96
5462306a36Sopenharmony_ci#define SCLK_TIMER07			97
5562306a36Sopenharmony_ci#define SCLK_TIMER08			98
5662306a36Sopenharmony_ci#define SCLK_TIMER09			99
5762306a36Sopenharmony_ci#define SCLK_TIMER10			100
5862306a36Sopenharmony_ci#define SCLK_TIMER11			101
5962306a36Sopenharmony_ci#define SCLK_MACREF			102
6062306a36Sopenharmony_ci#define SCLK_MAC_RX			103
6162306a36Sopenharmony_ci#define SCLK_MAC_TX			104
6262306a36Sopenharmony_ci#define SCLK_MAC			105
6362306a36Sopenharmony_ci#define SCLK_MACREF_OUT			106
6462306a36Sopenharmony_ci#define SCLK_VOP0_PWM			107
6562306a36Sopenharmony_ci#define SCLK_VOP1_PWM			108
6662306a36Sopenharmony_ci#define SCLK_RGA_CORE			109
6762306a36Sopenharmony_ci#define SCLK_ISP0			110
6862306a36Sopenharmony_ci#define SCLK_ISP1			111
6962306a36Sopenharmony_ci#define SCLK_HDMI_CEC			112
7062306a36Sopenharmony_ci#define SCLK_HDMI_SFR			113
7162306a36Sopenharmony_ci#define SCLK_DP_CORE			114
7262306a36Sopenharmony_ci#define SCLK_PVTM_CORE_L		115
7362306a36Sopenharmony_ci#define SCLK_PVTM_CORE_B		116
7462306a36Sopenharmony_ci#define SCLK_PVTM_GPU			117
7562306a36Sopenharmony_ci#define SCLK_PVTM_DDR			118
7662306a36Sopenharmony_ci#define SCLK_MIPIDPHY_REF		119
7762306a36Sopenharmony_ci#define SCLK_MIPIDPHY_CFG		120
7862306a36Sopenharmony_ci#define SCLK_HSICPHY			121
7962306a36Sopenharmony_ci#define SCLK_USBPHY480M			122
8062306a36Sopenharmony_ci#define SCLK_USB2PHY0_REF		123
8162306a36Sopenharmony_ci#define SCLK_USB2PHY1_REF		124
8262306a36Sopenharmony_ci#define SCLK_UPHY0_TCPDPHY_REF		125
8362306a36Sopenharmony_ci#define SCLK_UPHY0_TCPDCORE		126
8462306a36Sopenharmony_ci#define SCLK_UPHY1_TCPDPHY_REF		127
8562306a36Sopenharmony_ci#define SCLK_UPHY1_TCPDCORE		128
8662306a36Sopenharmony_ci#define SCLK_USB3OTG0_REF		129
8762306a36Sopenharmony_ci#define SCLK_USB3OTG1_REF		130
8862306a36Sopenharmony_ci#define SCLK_USB3OTG0_SUSPEND		131
8962306a36Sopenharmony_ci#define SCLK_USB3OTG1_SUSPEND		132
9062306a36Sopenharmony_ci#define SCLK_CRYPTO0			133
9162306a36Sopenharmony_ci#define SCLK_CRYPTO1			134
9262306a36Sopenharmony_ci#define SCLK_CCI_TRACE			135
9362306a36Sopenharmony_ci#define SCLK_CS				136
9462306a36Sopenharmony_ci#define SCLK_CIF_OUT			137
9562306a36Sopenharmony_ci#define SCLK_PCIEPHY_REF		138
9662306a36Sopenharmony_ci#define SCLK_PCIE_CORE			139
9762306a36Sopenharmony_ci#define SCLK_M0_PERILP			140
9862306a36Sopenharmony_ci#define SCLK_M0_PERILP_DEC		141
9962306a36Sopenharmony_ci#define SCLK_CM0S			142
10062306a36Sopenharmony_ci#define SCLK_DBG_NOC			143
10162306a36Sopenharmony_ci#define SCLK_DBG_PD_CORE_B		144
10262306a36Sopenharmony_ci#define SCLK_DBG_PD_CORE_L		145
10362306a36Sopenharmony_ci#define SCLK_DFIMON0_TIMER		146
10462306a36Sopenharmony_ci#define SCLK_DFIMON1_TIMER		147
10562306a36Sopenharmony_ci#define SCLK_INTMEM0			148
10662306a36Sopenharmony_ci#define SCLK_INTMEM1			149
10762306a36Sopenharmony_ci#define SCLK_INTMEM2			150
10862306a36Sopenharmony_ci#define SCLK_INTMEM3			151
10962306a36Sopenharmony_ci#define SCLK_INTMEM4			152
11062306a36Sopenharmony_ci#define SCLK_INTMEM5			153
11162306a36Sopenharmony_ci#define SCLK_SDMMC_DRV			154
11262306a36Sopenharmony_ci#define SCLK_SDMMC_SAMPLE		155
11362306a36Sopenharmony_ci#define SCLK_SDIO_DRV			156
11462306a36Sopenharmony_ci#define SCLK_SDIO_SAMPLE		157
11562306a36Sopenharmony_ci#define SCLK_VDU_CORE			158
11662306a36Sopenharmony_ci#define SCLK_VDU_CA			159
11762306a36Sopenharmony_ci#define SCLK_PCIE_PM			160
11862306a36Sopenharmony_ci#define SCLK_SPDIF_REC_DPTX		161
11962306a36Sopenharmony_ci#define SCLK_DPHY_PLL			162
12062306a36Sopenharmony_ci#define SCLK_DPHY_TX0_CFG		163
12162306a36Sopenharmony_ci#define SCLK_DPHY_TX1RX1_CFG		164
12262306a36Sopenharmony_ci#define SCLK_DPHY_RX0_CFG		165
12362306a36Sopenharmony_ci#define SCLK_RMII_SRC			166
12462306a36Sopenharmony_ci#define SCLK_PCIEPHY_REF100M		167
12562306a36Sopenharmony_ci#define SCLK_DDRC			168
12662306a36Sopenharmony_ci#define SCLK_TESTCLKOUT1		169
12762306a36Sopenharmony_ci#define SCLK_TESTCLKOUT2		170
12862306a36Sopenharmony_ci
12962306a36Sopenharmony_ci#define DCLK_VOP0			180
13062306a36Sopenharmony_ci#define DCLK_VOP1			181
13162306a36Sopenharmony_ci#define DCLK_VOP0_DIV			182
13262306a36Sopenharmony_ci#define DCLK_VOP1_DIV			183
13362306a36Sopenharmony_ci#define DCLK_M0_PERILP			184
13462306a36Sopenharmony_ci#define DCLK_VOP0_FRAC			185
13562306a36Sopenharmony_ci#define DCLK_VOP1_FRAC			186
13662306a36Sopenharmony_ci
13762306a36Sopenharmony_ci#define FCLK_CM0S			190
13862306a36Sopenharmony_ci
13962306a36Sopenharmony_ci/* aclk gates */
14062306a36Sopenharmony_ci#define ACLK_PERIHP			192
14162306a36Sopenharmony_ci#define ACLK_PERIHP_NOC			193
14262306a36Sopenharmony_ci#define ACLK_PERILP0			194
14362306a36Sopenharmony_ci#define ACLK_PERILP0_NOC		195
14462306a36Sopenharmony_ci#define ACLK_PERF_PCIE			196
14562306a36Sopenharmony_ci#define ACLK_PCIE			197
14662306a36Sopenharmony_ci#define ACLK_INTMEM			198
14762306a36Sopenharmony_ci#define ACLK_TZMA			199
14862306a36Sopenharmony_ci#define ACLK_DCF			200
14962306a36Sopenharmony_ci#define ACLK_CCI			201
15062306a36Sopenharmony_ci#define ACLK_CCI_NOC0			202
15162306a36Sopenharmony_ci#define ACLK_CCI_NOC1			203
15262306a36Sopenharmony_ci#define ACLK_CCI_GRF			204
15362306a36Sopenharmony_ci#define ACLK_CENTER			205
15462306a36Sopenharmony_ci#define ACLK_CENTER_MAIN_NOC		206
15562306a36Sopenharmony_ci#define ACLK_CENTER_PERI_NOC		207
15662306a36Sopenharmony_ci#define ACLK_GPU			208
15762306a36Sopenharmony_ci#define ACLK_PERF_GPU			209
15862306a36Sopenharmony_ci#define ACLK_GPU_GRF			210
15962306a36Sopenharmony_ci#define ACLK_DMAC0_PERILP		211
16062306a36Sopenharmony_ci#define ACLK_DMAC1_PERILP		212
16162306a36Sopenharmony_ci#define ACLK_GMAC			213
16262306a36Sopenharmony_ci#define ACLK_GMAC_NOC			214
16362306a36Sopenharmony_ci#define ACLK_PERF_GMAC			215
16462306a36Sopenharmony_ci#define ACLK_VOP0_NOC			216
16562306a36Sopenharmony_ci#define ACLK_VOP0			217
16662306a36Sopenharmony_ci#define ACLK_VOP1_NOC			218
16762306a36Sopenharmony_ci#define ACLK_VOP1			219
16862306a36Sopenharmony_ci#define ACLK_RGA			220
16962306a36Sopenharmony_ci#define ACLK_RGA_NOC			221
17062306a36Sopenharmony_ci#define ACLK_HDCP			222
17162306a36Sopenharmony_ci#define ACLK_HDCP_NOC			223
17262306a36Sopenharmony_ci#define ACLK_HDCP22			224
17362306a36Sopenharmony_ci#define ACLK_IEP			225
17462306a36Sopenharmony_ci#define ACLK_IEP_NOC			226
17562306a36Sopenharmony_ci#define ACLK_VIO			227
17662306a36Sopenharmony_ci#define ACLK_VIO_NOC			228
17762306a36Sopenharmony_ci#define ACLK_ISP0			229
17862306a36Sopenharmony_ci#define ACLK_ISP1			230
17962306a36Sopenharmony_ci#define ACLK_ISP0_NOC			231
18062306a36Sopenharmony_ci#define ACLK_ISP1_NOC			232
18162306a36Sopenharmony_ci#define ACLK_ISP0_WRAPPER		233
18262306a36Sopenharmony_ci#define ACLK_ISP1_WRAPPER		234
18362306a36Sopenharmony_ci#define ACLK_VCODEC			235
18462306a36Sopenharmony_ci#define ACLK_VCODEC_NOC			236
18562306a36Sopenharmony_ci#define ACLK_VDU			237
18662306a36Sopenharmony_ci#define ACLK_VDU_NOC			238
18762306a36Sopenharmony_ci#define ACLK_PERI			239
18862306a36Sopenharmony_ci#define ACLK_EMMC			240
18962306a36Sopenharmony_ci#define ACLK_EMMC_CORE			241
19062306a36Sopenharmony_ci#define ACLK_EMMC_NOC			242
19162306a36Sopenharmony_ci#define ACLK_EMMC_GRF			243
19262306a36Sopenharmony_ci#define ACLK_USB3			244
19362306a36Sopenharmony_ci#define ACLK_USB3_NOC			245
19462306a36Sopenharmony_ci#define ACLK_USB3OTG0			246
19562306a36Sopenharmony_ci#define ACLK_USB3OTG1			247
19662306a36Sopenharmony_ci#define ACLK_USB3_RKSOC_AXI_PERF	248
19762306a36Sopenharmony_ci#define ACLK_USB3_GRF			249
19862306a36Sopenharmony_ci#define ACLK_GIC			250
19962306a36Sopenharmony_ci#define ACLK_GIC_NOC			251
20062306a36Sopenharmony_ci#define ACLK_GIC_ADB400_CORE_L_2_GIC	252
20162306a36Sopenharmony_ci#define ACLK_GIC_ADB400_CORE_B_2_GIC	253
20262306a36Sopenharmony_ci#define ACLK_GIC_ADB400_GIC_2_CORE_L	254
20362306a36Sopenharmony_ci#define ACLK_GIC_ADB400_GIC_2_CORE_B	255
20462306a36Sopenharmony_ci#define ACLK_CORE_ADB400_CORE_L_2_CCI500 256
20562306a36Sopenharmony_ci#define ACLK_CORE_ADB400_CORE_B_2_CCI500 257
20662306a36Sopenharmony_ci#define ACLK_ADB400M_PD_CORE_L		258
20762306a36Sopenharmony_ci#define ACLK_ADB400M_PD_CORE_B		259
20862306a36Sopenharmony_ci#define ACLK_PERF_CORE_L		260
20962306a36Sopenharmony_ci#define ACLK_PERF_CORE_B		261
21062306a36Sopenharmony_ci#define ACLK_GIC_PRE			262
21162306a36Sopenharmony_ci#define ACLK_VOP0_PRE			263
21262306a36Sopenharmony_ci#define ACLK_VOP1_PRE			264
21362306a36Sopenharmony_ci
21462306a36Sopenharmony_ci/* pclk gates */
21562306a36Sopenharmony_ci#define PCLK_PERIHP			320
21662306a36Sopenharmony_ci#define PCLK_PERIHP_NOC			321
21762306a36Sopenharmony_ci#define PCLK_PERILP0			322
21862306a36Sopenharmony_ci#define PCLK_PERILP1			323
21962306a36Sopenharmony_ci#define PCLK_PERILP1_NOC		324
22062306a36Sopenharmony_ci#define PCLK_PERILP_SGRF		325
22162306a36Sopenharmony_ci#define PCLK_PERIHP_GRF			326
22262306a36Sopenharmony_ci#define PCLK_PCIE			327
22362306a36Sopenharmony_ci#define PCLK_SGRF			328
22462306a36Sopenharmony_ci#define PCLK_INTR_ARB			329
22562306a36Sopenharmony_ci#define PCLK_CENTER_MAIN_NOC		330
22662306a36Sopenharmony_ci#define PCLK_CIC			331
22762306a36Sopenharmony_ci#define PCLK_COREDBG_B			332
22862306a36Sopenharmony_ci#define PCLK_COREDBG_L			333
22962306a36Sopenharmony_ci#define PCLK_DBG_CXCS_PD_CORE_B		334
23062306a36Sopenharmony_ci#define PCLK_DCF			335
23162306a36Sopenharmony_ci#define PCLK_GPIO2			336
23262306a36Sopenharmony_ci#define PCLK_GPIO3			337
23362306a36Sopenharmony_ci#define PCLK_GPIO4			338
23462306a36Sopenharmony_ci#define PCLK_GRF			339
23562306a36Sopenharmony_ci#define PCLK_HSICPHY			340
23662306a36Sopenharmony_ci#define PCLK_I2C1			341
23762306a36Sopenharmony_ci#define PCLK_I2C2			342
23862306a36Sopenharmony_ci#define PCLK_I2C3			343
23962306a36Sopenharmony_ci#define PCLK_I2C5			344
24062306a36Sopenharmony_ci#define PCLK_I2C6			345
24162306a36Sopenharmony_ci#define PCLK_I2C7			346
24262306a36Sopenharmony_ci#define PCLK_SPI0			347
24362306a36Sopenharmony_ci#define PCLK_SPI1			348
24462306a36Sopenharmony_ci#define PCLK_SPI2			349
24562306a36Sopenharmony_ci#define PCLK_SPI4			350
24662306a36Sopenharmony_ci#define PCLK_SPI5			351
24762306a36Sopenharmony_ci#define PCLK_UART0			352
24862306a36Sopenharmony_ci#define PCLK_UART1			353
24962306a36Sopenharmony_ci#define PCLK_UART2			354
25062306a36Sopenharmony_ci#define PCLK_UART3			355
25162306a36Sopenharmony_ci#define PCLK_TSADC			356
25262306a36Sopenharmony_ci#define PCLK_SARADC			357
25362306a36Sopenharmony_ci#define PCLK_GMAC			358
25462306a36Sopenharmony_ci#define PCLK_GMAC_NOC			359
25562306a36Sopenharmony_ci#define PCLK_TIMER0			360
25662306a36Sopenharmony_ci#define PCLK_TIMER1			361
25762306a36Sopenharmony_ci#define PCLK_EDP			362
25862306a36Sopenharmony_ci#define PCLK_EDP_NOC			363
25962306a36Sopenharmony_ci#define PCLK_EDP_CTRL			364
26062306a36Sopenharmony_ci#define PCLK_VIO			365
26162306a36Sopenharmony_ci#define PCLK_VIO_NOC			366
26262306a36Sopenharmony_ci#define PCLK_VIO_GRF			367
26362306a36Sopenharmony_ci#define PCLK_MIPI_DSI0			368
26462306a36Sopenharmony_ci#define PCLK_MIPI_DSI1			369
26562306a36Sopenharmony_ci#define PCLK_HDCP			370
26662306a36Sopenharmony_ci#define PCLK_HDCP_NOC			371
26762306a36Sopenharmony_ci#define PCLK_HDMI_CTRL			372
26862306a36Sopenharmony_ci#define PCLK_DP_CTRL			373
26962306a36Sopenharmony_ci#define PCLK_HDCP22			374
27062306a36Sopenharmony_ci#define PCLK_GASKET			375
27162306a36Sopenharmony_ci#define PCLK_DDR			376
27262306a36Sopenharmony_ci#define PCLK_DDR_MON			377
27362306a36Sopenharmony_ci#define PCLK_DDR_SGRF			378
27462306a36Sopenharmony_ci#define PCLK_ISP1_WRAPPER		379
27562306a36Sopenharmony_ci#define PCLK_WDT			380
27662306a36Sopenharmony_ci#define PCLK_EFUSE1024NS		381
27762306a36Sopenharmony_ci#define PCLK_EFUSE1024S			382
27862306a36Sopenharmony_ci#define PCLK_PMU_INTR_ARB		383
27962306a36Sopenharmony_ci#define PCLK_MAILBOX0			384
28062306a36Sopenharmony_ci#define PCLK_USBPHY_MUX_G		385
28162306a36Sopenharmony_ci#define PCLK_UPHY0_TCPHY_G		386
28262306a36Sopenharmony_ci#define PCLK_UPHY0_TCPD_G		387
28362306a36Sopenharmony_ci#define PCLK_UPHY1_TCPHY_G		388
28462306a36Sopenharmony_ci#define PCLK_UPHY1_TCPD_G		389
28562306a36Sopenharmony_ci#define PCLK_ALIVE			390
28662306a36Sopenharmony_ci
28762306a36Sopenharmony_ci/* hclk gates */
28862306a36Sopenharmony_ci#define HCLK_PERIHP			448
28962306a36Sopenharmony_ci#define HCLK_PERILP0			449
29062306a36Sopenharmony_ci#define HCLK_PERILP1			450
29162306a36Sopenharmony_ci#define HCLK_PERILP0_NOC		451
29262306a36Sopenharmony_ci#define HCLK_PERILP1_NOC		452
29362306a36Sopenharmony_ci#define HCLK_M0_PERILP			453
29462306a36Sopenharmony_ci#define HCLK_M0_PERILP_NOC		454
29562306a36Sopenharmony_ci#define HCLK_AHB1TOM			455
29662306a36Sopenharmony_ci#define HCLK_HOST0			456
29762306a36Sopenharmony_ci#define HCLK_HOST0_ARB			457
29862306a36Sopenharmony_ci#define HCLK_HOST1			458
29962306a36Sopenharmony_ci#define HCLK_HOST1_ARB			459
30062306a36Sopenharmony_ci#define HCLK_HSIC			460
30162306a36Sopenharmony_ci#define HCLK_SD				461
30262306a36Sopenharmony_ci#define HCLK_SDMMC			462
30362306a36Sopenharmony_ci#define HCLK_SDMMC_NOC			463
30462306a36Sopenharmony_ci#define HCLK_M_CRYPTO0			464
30562306a36Sopenharmony_ci#define HCLK_M_CRYPTO1			465
30662306a36Sopenharmony_ci#define HCLK_S_CRYPTO0			466
30762306a36Sopenharmony_ci#define HCLK_S_CRYPTO1			467
30862306a36Sopenharmony_ci#define HCLK_I2S0_8CH			468
30962306a36Sopenharmony_ci#define HCLK_I2S1_8CH			469
31062306a36Sopenharmony_ci#define HCLK_I2S2_8CH			470
31162306a36Sopenharmony_ci#define HCLK_SPDIF			471
31262306a36Sopenharmony_ci#define HCLK_VOP0_NOC			472
31362306a36Sopenharmony_ci#define HCLK_VOP0			473
31462306a36Sopenharmony_ci#define HCLK_VOP1_NOC			474
31562306a36Sopenharmony_ci#define HCLK_VOP1			475
31662306a36Sopenharmony_ci#define HCLK_ROM			476
31762306a36Sopenharmony_ci#define HCLK_IEP			477
31862306a36Sopenharmony_ci#define HCLK_IEP_NOC			478
31962306a36Sopenharmony_ci#define HCLK_ISP0			479
32062306a36Sopenharmony_ci#define HCLK_ISP1			480
32162306a36Sopenharmony_ci#define HCLK_ISP0_NOC			481
32262306a36Sopenharmony_ci#define HCLK_ISP1_NOC			482
32362306a36Sopenharmony_ci#define HCLK_ISP0_WRAPPER		483
32462306a36Sopenharmony_ci#define HCLK_ISP1_WRAPPER		484
32562306a36Sopenharmony_ci#define HCLK_RGA			485
32662306a36Sopenharmony_ci#define HCLK_RGA_NOC			486
32762306a36Sopenharmony_ci#define HCLK_HDCP			487
32862306a36Sopenharmony_ci#define HCLK_HDCP_NOC			488
32962306a36Sopenharmony_ci#define HCLK_HDCP22			489
33062306a36Sopenharmony_ci#define HCLK_VCODEC			490
33162306a36Sopenharmony_ci#define HCLK_VCODEC_NOC			491
33262306a36Sopenharmony_ci#define HCLK_VDU			492
33362306a36Sopenharmony_ci#define HCLK_VDU_NOC			493
33462306a36Sopenharmony_ci#define HCLK_SDIO			494
33562306a36Sopenharmony_ci#define HCLK_SDIO_NOC			495
33662306a36Sopenharmony_ci#define HCLK_SDIOAUDIO_NOC		496
33762306a36Sopenharmony_ci
33862306a36Sopenharmony_ci#define CLK_NR_CLKS			(HCLK_SDIOAUDIO_NOC + 1)
33962306a36Sopenharmony_ci
34062306a36Sopenharmony_ci/* pmu-clocks indices */
34162306a36Sopenharmony_ci
34262306a36Sopenharmony_ci#define PLL_PPLL			1
34362306a36Sopenharmony_ci
34462306a36Sopenharmony_ci#define SCLK_32K_SUSPEND_PMU		2
34562306a36Sopenharmony_ci#define SCLK_SPI3_PMU			3
34662306a36Sopenharmony_ci#define SCLK_TIMER12_PMU		4
34762306a36Sopenharmony_ci#define SCLK_TIMER13_PMU		5
34862306a36Sopenharmony_ci#define SCLK_UART4_PMU			6
34962306a36Sopenharmony_ci#define SCLK_PVTM_PMU			7
35062306a36Sopenharmony_ci#define SCLK_WIFI_PMU			8
35162306a36Sopenharmony_ci#define SCLK_I2C0_PMU			9
35262306a36Sopenharmony_ci#define SCLK_I2C4_PMU			10
35362306a36Sopenharmony_ci#define SCLK_I2C8_PMU			11
35462306a36Sopenharmony_ci
35562306a36Sopenharmony_ci#define PCLK_SRC_PMU			19
35662306a36Sopenharmony_ci#define PCLK_PMU			20
35762306a36Sopenharmony_ci#define PCLK_PMUGRF_PMU			21
35862306a36Sopenharmony_ci#define PCLK_INTMEM1_PMU		22
35962306a36Sopenharmony_ci#define PCLK_GPIO0_PMU			23
36062306a36Sopenharmony_ci#define PCLK_GPIO1_PMU			24
36162306a36Sopenharmony_ci#define PCLK_SGRF_PMU			25
36262306a36Sopenharmony_ci#define PCLK_NOC_PMU			26
36362306a36Sopenharmony_ci#define PCLK_I2C0_PMU			27
36462306a36Sopenharmony_ci#define PCLK_I2C4_PMU			28
36562306a36Sopenharmony_ci#define PCLK_I2C8_PMU			29
36662306a36Sopenharmony_ci#define PCLK_RKPWM_PMU			30
36762306a36Sopenharmony_ci#define PCLK_SPI3_PMU			31
36862306a36Sopenharmony_ci#define PCLK_TIMER_PMU			32
36962306a36Sopenharmony_ci#define PCLK_MAILBOX_PMU		33
37062306a36Sopenharmony_ci#define PCLK_UART4_PMU			34
37162306a36Sopenharmony_ci#define PCLK_WDT_M0_PMU			35
37262306a36Sopenharmony_ci
37362306a36Sopenharmony_ci#define FCLK_CM0S_SRC_PMU		44
37462306a36Sopenharmony_ci#define FCLK_CM0S_PMU			45
37562306a36Sopenharmony_ci#define SCLK_CM0S_PMU			46
37662306a36Sopenharmony_ci#define HCLK_CM0S_PMU			47
37762306a36Sopenharmony_ci#define DCLK_CM0S_PMU			48
37862306a36Sopenharmony_ci#define PCLK_INTR_ARB_PMU		49
37962306a36Sopenharmony_ci#define HCLK_NOC_PMU			50
38062306a36Sopenharmony_ci
38162306a36Sopenharmony_ci#define CLKPMU_NR_CLKS			(HCLK_NOC_PMU + 1)
38262306a36Sopenharmony_ci
38362306a36Sopenharmony_ci/* soft-reset indices */
38462306a36Sopenharmony_ci
38562306a36Sopenharmony_ci/* cru_softrst_con0 */
38662306a36Sopenharmony_ci#define SRST_CORE_L0			0
38762306a36Sopenharmony_ci#define SRST_CORE_B0			1
38862306a36Sopenharmony_ci#define SRST_CORE_PO_L0			2
38962306a36Sopenharmony_ci#define SRST_CORE_PO_B0			3
39062306a36Sopenharmony_ci#define SRST_L2_L			4
39162306a36Sopenharmony_ci#define SRST_L2_B			5
39262306a36Sopenharmony_ci#define SRST_ADB_L			6
39362306a36Sopenharmony_ci#define SRST_ADB_B			7
39462306a36Sopenharmony_ci#define SRST_A_CCI			8
39562306a36Sopenharmony_ci#define SRST_A_CCIM0_NOC		9
39662306a36Sopenharmony_ci#define SRST_A_CCIM1_NOC		10
39762306a36Sopenharmony_ci#define SRST_DBG_NOC			11
39862306a36Sopenharmony_ci
39962306a36Sopenharmony_ci/* cru_softrst_con1 */
40062306a36Sopenharmony_ci#define SRST_CORE_L0_T			16
40162306a36Sopenharmony_ci#define SRST_CORE_L1			17
40262306a36Sopenharmony_ci#define SRST_CORE_L2			18
40362306a36Sopenharmony_ci#define SRST_CORE_L3			19
40462306a36Sopenharmony_ci#define SRST_CORE_PO_L0_T		20
40562306a36Sopenharmony_ci#define SRST_CORE_PO_L1			21
40662306a36Sopenharmony_ci#define SRST_CORE_PO_L2			22
40762306a36Sopenharmony_ci#define SRST_CORE_PO_L3			23
40862306a36Sopenharmony_ci#define SRST_A_ADB400_GIC2COREL		24
40962306a36Sopenharmony_ci#define SRST_A_ADB400_COREL2GIC		25
41062306a36Sopenharmony_ci#define SRST_P_DBG_L			26
41162306a36Sopenharmony_ci#define SRST_L2_L_T			28
41262306a36Sopenharmony_ci#define SRST_ADB_L_T			29
41362306a36Sopenharmony_ci#define SRST_A_RKPERF_L			30
41462306a36Sopenharmony_ci#define SRST_PVTM_CORE_L		31
41562306a36Sopenharmony_ci
41662306a36Sopenharmony_ci/* cru_softrst_con2 */
41762306a36Sopenharmony_ci#define SRST_CORE_B0_T			32
41862306a36Sopenharmony_ci#define SRST_CORE_B1			33
41962306a36Sopenharmony_ci#define SRST_CORE_PO_B0_T		36
42062306a36Sopenharmony_ci#define SRST_CORE_PO_B1			37
42162306a36Sopenharmony_ci#define SRST_A_ADB400_GIC2COREB		40
42262306a36Sopenharmony_ci#define SRST_A_ADB400_COREB2GIC		41
42362306a36Sopenharmony_ci#define SRST_P_DBG_B			42
42462306a36Sopenharmony_ci#define SRST_L2_B_T			43
42562306a36Sopenharmony_ci#define SRST_ADB_B_T			45
42662306a36Sopenharmony_ci#define SRST_A_RKPERF_B			46
42762306a36Sopenharmony_ci#define SRST_PVTM_CORE_B		47
42862306a36Sopenharmony_ci
42962306a36Sopenharmony_ci/* cru_softrst_con3 */
43062306a36Sopenharmony_ci#define SRST_A_CCI_T			50
43162306a36Sopenharmony_ci#define SRST_A_CCIM0_NOC_T		51
43262306a36Sopenharmony_ci#define SRST_A_CCIM1_NOC_T		52
43362306a36Sopenharmony_ci#define SRST_A_ADB400M_PD_CORE_B_T	53
43462306a36Sopenharmony_ci#define SRST_A_ADB400M_PD_CORE_L_T	54
43562306a36Sopenharmony_ci#define SRST_DBG_NOC_T			55
43662306a36Sopenharmony_ci#define SRST_DBG_CXCS			56
43762306a36Sopenharmony_ci#define SRST_CCI_TRACE			57
43862306a36Sopenharmony_ci#define SRST_P_CCI_GRF			58
43962306a36Sopenharmony_ci
44062306a36Sopenharmony_ci/* cru_softrst_con4 */
44162306a36Sopenharmony_ci#define SRST_A_CENTER_MAIN_NOC		64
44262306a36Sopenharmony_ci#define SRST_A_CENTER_PERI_NOC		65
44362306a36Sopenharmony_ci#define SRST_P_CENTER_MAIN		66
44462306a36Sopenharmony_ci#define SRST_P_DDRMON			67
44562306a36Sopenharmony_ci#define SRST_P_CIC			68
44662306a36Sopenharmony_ci#define SRST_P_CENTER_SGRF		69
44762306a36Sopenharmony_ci#define SRST_DDR0_MSCH			70
44862306a36Sopenharmony_ci#define SRST_DDRCFG0_MSCH		71
44962306a36Sopenharmony_ci#define SRST_DDR0			72
45062306a36Sopenharmony_ci#define SRST_DDRPHY0			73
45162306a36Sopenharmony_ci#define SRST_DDR1_MSCH			74
45262306a36Sopenharmony_ci#define SRST_DDRCFG1_MSCH		75
45362306a36Sopenharmony_ci#define SRST_DDR1			76
45462306a36Sopenharmony_ci#define SRST_DDRPHY1			77
45562306a36Sopenharmony_ci#define SRST_DDR_CIC			78
45662306a36Sopenharmony_ci#define SRST_PVTM_DDR			79
45762306a36Sopenharmony_ci
45862306a36Sopenharmony_ci/* cru_softrst_con5 */
45962306a36Sopenharmony_ci#define SRST_A_VCODEC_NOC		80
46062306a36Sopenharmony_ci#define SRST_A_VCODEC			81
46162306a36Sopenharmony_ci#define SRST_H_VCODEC_NOC		82
46262306a36Sopenharmony_ci#define SRST_H_VCODEC			83
46362306a36Sopenharmony_ci#define SRST_A_VDU_NOC			88
46462306a36Sopenharmony_ci#define SRST_A_VDU			89
46562306a36Sopenharmony_ci#define SRST_H_VDU_NOC			90
46662306a36Sopenharmony_ci#define SRST_H_VDU			91
46762306a36Sopenharmony_ci#define SRST_VDU_CORE			92
46862306a36Sopenharmony_ci#define SRST_VDU_CA			93
46962306a36Sopenharmony_ci
47062306a36Sopenharmony_ci/* cru_softrst_con6 */
47162306a36Sopenharmony_ci#define SRST_A_IEP_NOC			96
47262306a36Sopenharmony_ci#define SRST_A_VOP_IEP			97
47362306a36Sopenharmony_ci#define SRST_A_IEP			98
47462306a36Sopenharmony_ci#define SRST_H_IEP_NOC			99
47562306a36Sopenharmony_ci#define SRST_H_IEP			100
47662306a36Sopenharmony_ci#define SRST_A_RGA_NOC			102
47762306a36Sopenharmony_ci#define SRST_A_RGA			103
47862306a36Sopenharmony_ci#define SRST_H_RGA_NOC			104
47962306a36Sopenharmony_ci#define SRST_H_RGA			105
48062306a36Sopenharmony_ci#define SRST_RGA_CORE			106
48162306a36Sopenharmony_ci#define SRST_EMMC_NOC			108
48262306a36Sopenharmony_ci#define SRST_EMMC			109
48362306a36Sopenharmony_ci#define SRST_EMMC_GRF			110
48462306a36Sopenharmony_ci
48562306a36Sopenharmony_ci/* cru_softrst_con7 */
48662306a36Sopenharmony_ci#define SRST_A_PERIHP_NOC		112
48762306a36Sopenharmony_ci#define SRST_P_PERIHP_GRF		113
48862306a36Sopenharmony_ci#define SRST_H_PERIHP_NOC		114
48962306a36Sopenharmony_ci#define SRST_USBHOST0			115
49062306a36Sopenharmony_ci#define SRST_HOSTC0_AUX			116
49162306a36Sopenharmony_ci#define SRST_HOST0_ARB			117
49262306a36Sopenharmony_ci#define SRST_USBHOST1			118
49362306a36Sopenharmony_ci#define SRST_HOSTC1_AUX			119
49462306a36Sopenharmony_ci#define SRST_HOST1_ARB			120
49562306a36Sopenharmony_ci#define SRST_SDIO0			121
49662306a36Sopenharmony_ci#define SRST_SDMMC			122
49762306a36Sopenharmony_ci#define SRST_HSIC			123
49862306a36Sopenharmony_ci#define SRST_HSIC_AUX			124
49962306a36Sopenharmony_ci#define SRST_AHB1TOM			125
50062306a36Sopenharmony_ci#define SRST_P_PERIHP_NOC		126
50162306a36Sopenharmony_ci#define SRST_HSICPHY			127
50262306a36Sopenharmony_ci
50362306a36Sopenharmony_ci/* cru_softrst_con8 */
50462306a36Sopenharmony_ci#define SRST_A_PCIE			128
50562306a36Sopenharmony_ci#define SRST_P_PCIE			129
50662306a36Sopenharmony_ci#define SRST_PCIE_CORE			130
50762306a36Sopenharmony_ci#define SRST_PCIE_MGMT			131
50862306a36Sopenharmony_ci#define SRST_PCIE_MGMT_STICKY		132
50962306a36Sopenharmony_ci#define SRST_PCIE_PIPE			133
51062306a36Sopenharmony_ci#define SRST_PCIE_PM			134
51162306a36Sopenharmony_ci#define SRST_PCIEPHY			135
51262306a36Sopenharmony_ci#define SRST_A_GMAC_NOC			136
51362306a36Sopenharmony_ci#define SRST_A_GMAC			137
51462306a36Sopenharmony_ci#define SRST_P_GMAC_NOC			138
51562306a36Sopenharmony_ci#define SRST_P_GMAC_GRF			140
51662306a36Sopenharmony_ci#define SRST_HSICPHY_POR		142
51762306a36Sopenharmony_ci#define SRST_HSICPHY_UTMI		143
51862306a36Sopenharmony_ci
51962306a36Sopenharmony_ci/* cru_softrst_con9 */
52062306a36Sopenharmony_ci#define SRST_USB2PHY0_POR		144
52162306a36Sopenharmony_ci#define SRST_USB2PHY0_UTMI_PORT0	145
52262306a36Sopenharmony_ci#define SRST_USB2PHY0_UTMI_PORT1	146
52362306a36Sopenharmony_ci#define SRST_USB2PHY0_EHCIPHY		147
52462306a36Sopenharmony_ci#define SRST_UPHY0_PIPE_L00		148
52562306a36Sopenharmony_ci#define SRST_UPHY0			149
52662306a36Sopenharmony_ci#define SRST_UPHY0_TCPDPWRUP		150
52762306a36Sopenharmony_ci#define SRST_USB2PHY1_POR		152
52862306a36Sopenharmony_ci#define SRST_USB2PHY1_UTMI_PORT0	153
52962306a36Sopenharmony_ci#define SRST_USB2PHY1_UTMI_PORT1	154
53062306a36Sopenharmony_ci#define SRST_USB2PHY1_EHCIPHY		155
53162306a36Sopenharmony_ci#define SRST_UPHY1_PIPE_L00		156
53262306a36Sopenharmony_ci#define SRST_UPHY1			157
53362306a36Sopenharmony_ci#define SRST_UPHY1_TCPDPWRUP		158
53462306a36Sopenharmony_ci
53562306a36Sopenharmony_ci/* cru_softrst_con10 */
53662306a36Sopenharmony_ci#define SRST_A_PERILP0_NOC		160
53762306a36Sopenharmony_ci#define SRST_A_DCF			161
53862306a36Sopenharmony_ci#define SRST_GIC500			162
53962306a36Sopenharmony_ci#define SRST_DMAC0_PERILP0		163
54062306a36Sopenharmony_ci#define SRST_DMAC1_PERILP0		164
54162306a36Sopenharmony_ci#define SRST_TZMA			165
54262306a36Sopenharmony_ci#define SRST_INTMEM			166
54362306a36Sopenharmony_ci#define SRST_ADB400_MST0		167
54462306a36Sopenharmony_ci#define SRST_ADB400_MST1		168
54562306a36Sopenharmony_ci#define SRST_ADB400_SLV0		169
54662306a36Sopenharmony_ci#define SRST_ADB400_SLV1		170
54762306a36Sopenharmony_ci#define SRST_H_PERILP0			171
54862306a36Sopenharmony_ci#define SRST_H_PERILP0_NOC		172
54962306a36Sopenharmony_ci#define SRST_ROM			173
55062306a36Sopenharmony_ci#define SRST_CRYPTO0_S			174
55162306a36Sopenharmony_ci#define SRST_CRYPTO0_M			175
55262306a36Sopenharmony_ci
55362306a36Sopenharmony_ci/* cru_softrst_con11 */
55462306a36Sopenharmony_ci#define SRST_P_DCF			176
55562306a36Sopenharmony_ci#define SRST_CM0S_NOC			177
55662306a36Sopenharmony_ci#define SRST_CM0S			178
55762306a36Sopenharmony_ci#define SRST_CM0S_DBG			179
55862306a36Sopenharmony_ci#define SRST_CM0S_PO			180
55962306a36Sopenharmony_ci#define SRST_CRYPTO0			181
56062306a36Sopenharmony_ci#define SRST_P_PERILP1_SGRF		182
56162306a36Sopenharmony_ci#define SRST_P_PERILP1_GRF		183
56262306a36Sopenharmony_ci#define SRST_CRYPTO1_S			184
56362306a36Sopenharmony_ci#define SRST_CRYPTO1_M			185
56462306a36Sopenharmony_ci#define SRST_CRYPTO1			186
56562306a36Sopenharmony_ci#define SRST_GIC_NOC			188
56662306a36Sopenharmony_ci#define SRST_SD_NOC			189
56762306a36Sopenharmony_ci#define SRST_SDIOAUDIO_BRG		190
56862306a36Sopenharmony_ci
56962306a36Sopenharmony_ci/* cru_softrst_con12 */
57062306a36Sopenharmony_ci#define SRST_H_PERILP1			192
57162306a36Sopenharmony_ci#define SRST_H_PERILP1_NOC		193
57262306a36Sopenharmony_ci#define SRST_H_I2S0_8CH			194
57362306a36Sopenharmony_ci#define SRST_H_I2S1_8CH			195
57462306a36Sopenharmony_ci#define SRST_H_I2S2_8CH			196
57562306a36Sopenharmony_ci#define SRST_H_SPDIF_8CH		197
57662306a36Sopenharmony_ci#define SRST_P_PERILP1_NOC		198
57762306a36Sopenharmony_ci#define SRST_P_EFUSE_1024		199
57862306a36Sopenharmony_ci#define SRST_P_EFUSE_1024S		200
57962306a36Sopenharmony_ci#define SRST_P_I2C0			201
58062306a36Sopenharmony_ci#define SRST_P_I2C1			202
58162306a36Sopenharmony_ci#define SRST_P_I2C2			203
58262306a36Sopenharmony_ci#define SRST_P_I2C3			204
58362306a36Sopenharmony_ci#define SRST_P_I2C4			205
58462306a36Sopenharmony_ci#define SRST_P_I2C5			206
58562306a36Sopenharmony_ci#define SRST_P_MAILBOX0			207
58662306a36Sopenharmony_ci
58762306a36Sopenharmony_ci/* cru_softrst_con13 */
58862306a36Sopenharmony_ci#define SRST_P_UART0			208
58962306a36Sopenharmony_ci#define SRST_P_UART1			209
59062306a36Sopenharmony_ci#define SRST_P_UART2			210
59162306a36Sopenharmony_ci#define SRST_P_UART3			211
59262306a36Sopenharmony_ci#define SRST_P_SARADC			212
59362306a36Sopenharmony_ci#define SRST_P_TSADC			213
59462306a36Sopenharmony_ci#define SRST_P_SPI0			214
59562306a36Sopenharmony_ci#define SRST_P_SPI1			215
59662306a36Sopenharmony_ci#define SRST_P_SPI2			216
59762306a36Sopenharmony_ci#define SRST_P_SPI3			217
59862306a36Sopenharmony_ci#define SRST_P_SPI4			218
59962306a36Sopenharmony_ci#define SRST_SPI0			219
60062306a36Sopenharmony_ci#define SRST_SPI1			220
60162306a36Sopenharmony_ci#define SRST_SPI2			221
60262306a36Sopenharmony_ci#define SRST_SPI3			222
60362306a36Sopenharmony_ci#define SRST_SPI4			223
60462306a36Sopenharmony_ci
60562306a36Sopenharmony_ci/* cru_softrst_con14 */
60662306a36Sopenharmony_ci#define SRST_I2S0_8CH			224
60762306a36Sopenharmony_ci#define SRST_I2S1_8CH			225
60862306a36Sopenharmony_ci#define SRST_I2S2_8CH			226
60962306a36Sopenharmony_ci#define SRST_SPDIF_8CH			227
61062306a36Sopenharmony_ci#define SRST_UART0			228
61162306a36Sopenharmony_ci#define SRST_UART1			229
61262306a36Sopenharmony_ci#define SRST_UART2			230
61362306a36Sopenharmony_ci#define SRST_UART3			231
61462306a36Sopenharmony_ci#define SRST_TSADC			232
61562306a36Sopenharmony_ci#define SRST_I2C0			233
61662306a36Sopenharmony_ci#define SRST_I2C1			234
61762306a36Sopenharmony_ci#define SRST_I2C2			235
61862306a36Sopenharmony_ci#define SRST_I2C3			236
61962306a36Sopenharmony_ci#define SRST_I2C4			237
62062306a36Sopenharmony_ci#define SRST_I2C5			238
62162306a36Sopenharmony_ci#define SRST_SDIOAUDIO_NOC		239
62262306a36Sopenharmony_ci
62362306a36Sopenharmony_ci/* cru_softrst_con15 */
62462306a36Sopenharmony_ci#define SRST_A_VIO_NOC			240
62562306a36Sopenharmony_ci#define SRST_A_HDCP_NOC			241
62662306a36Sopenharmony_ci#define SRST_A_HDCP			242
62762306a36Sopenharmony_ci#define SRST_H_HDCP_NOC			243
62862306a36Sopenharmony_ci#define SRST_H_HDCP			244
62962306a36Sopenharmony_ci#define SRST_P_HDCP_NOC			245
63062306a36Sopenharmony_ci#define SRST_P_HDCP			246
63162306a36Sopenharmony_ci#define SRST_P_HDMI_CTRL		247
63262306a36Sopenharmony_ci#define SRST_P_DP_CTRL			248
63362306a36Sopenharmony_ci#define SRST_S_DP_CTRL			249
63462306a36Sopenharmony_ci#define SRST_C_DP_CTRL			250
63562306a36Sopenharmony_ci#define SRST_P_MIPI_DSI0		251
63662306a36Sopenharmony_ci#define SRST_P_MIPI_DSI1		252
63762306a36Sopenharmony_ci#define SRST_DP_CORE			253
63862306a36Sopenharmony_ci#define SRST_DP_I2S			254
63962306a36Sopenharmony_ci
64062306a36Sopenharmony_ci/* cru_softrst_con16 */
64162306a36Sopenharmony_ci#define SRST_GASKET			256
64262306a36Sopenharmony_ci#define SRST_VIO_GRF			258
64362306a36Sopenharmony_ci#define SRST_DPTX_SPDIF_REC		259
64462306a36Sopenharmony_ci#define SRST_HDMI_CTRL			260
64562306a36Sopenharmony_ci#define SRST_HDCP_CTRL			261
64662306a36Sopenharmony_ci#define SRST_A_ISP0_NOC			262
64762306a36Sopenharmony_ci#define SRST_A_ISP1_NOC			263
64862306a36Sopenharmony_ci#define SRST_H_ISP0_NOC			266
64962306a36Sopenharmony_ci#define SRST_H_ISP1_NOC			267
65062306a36Sopenharmony_ci#define SRST_H_ISP0			268
65162306a36Sopenharmony_ci#define SRST_H_ISP1			269
65262306a36Sopenharmony_ci#define SRST_ISP0			270
65362306a36Sopenharmony_ci#define SRST_ISP1			271
65462306a36Sopenharmony_ci
65562306a36Sopenharmony_ci/* cru_softrst_con17 */
65662306a36Sopenharmony_ci#define SRST_A_VOP0_NOC			272
65762306a36Sopenharmony_ci#define SRST_A_VOP1_NOC			273
65862306a36Sopenharmony_ci#define SRST_A_VOP0			274
65962306a36Sopenharmony_ci#define SRST_A_VOP1			275
66062306a36Sopenharmony_ci#define SRST_H_VOP0_NOC			276
66162306a36Sopenharmony_ci#define SRST_H_VOP1_NOC			277
66262306a36Sopenharmony_ci#define SRST_H_VOP0			278
66362306a36Sopenharmony_ci#define SRST_H_VOP1			279
66462306a36Sopenharmony_ci#define SRST_D_VOP0			280
66562306a36Sopenharmony_ci#define SRST_D_VOP1			281
66662306a36Sopenharmony_ci#define SRST_VOP0_PWM			282
66762306a36Sopenharmony_ci#define SRST_VOP1_PWM			283
66862306a36Sopenharmony_ci#define SRST_P_EDP_NOC			284
66962306a36Sopenharmony_ci#define SRST_P_EDP_CTRL			285
67062306a36Sopenharmony_ci
67162306a36Sopenharmony_ci/* cru_softrst_con18 */
67262306a36Sopenharmony_ci#define SRST_A_GPU			288
67362306a36Sopenharmony_ci#define SRST_A_GPU_NOC			289
67462306a36Sopenharmony_ci#define SRST_A_GPU_GRF			290
67562306a36Sopenharmony_ci#define SRST_PVTM_GPU			291
67662306a36Sopenharmony_ci#define SRST_A_USB3_NOC			292
67762306a36Sopenharmony_ci#define SRST_A_USB3_OTG0		293
67862306a36Sopenharmony_ci#define SRST_A_USB3_OTG1		294
67962306a36Sopenharmony_ci#define SRST_A_USB3_GRF			295
68062306a36Sopenharmony_ci#define SRST_PMU			296
68162306a36Sopenharmony_ci
68262306a36Sopenharmony_ci/* cru_softrst_con19 */
68362306a36Sopenharmony_ci#define SRST_P_TIMER0_5			304
68462306a36Sopenharmony_ci#define SRST_TIMER0			305
68562306a36Sopenharmony_ci#define SRST_TIMER1			306
68662306a36Sopenharmony_ci#define SRST_TIMER2			307
68762306a36Sopenharmony_ci#define SRST_TIMER3			308
68862306a36Sopenharmony_ci#define SRST_TIMER4			309
68962306a36Sopenharmony_ci#define SRST_TIMER5			310
69062306a36Sopenharmony_ci#define SRST_P_TIMER6_11		311
69162306a36Sopenharmony_ci#define SRST_TIMER6			312
69262306a36Sopenharmony_ci#define SRST_TIMER7			313
69362306a36Sopenharmony_ci#define SRST_TIMER8			314
69462306a36Sopenharmony_ci#define SRST_TIMER9			315
69562306a36Sopenharmony_ci#define SRST_TIMER10			316
69662306a36Sopenharmony_ci#define SRST_TIMER11			317
69762306a36Sopenharmony_ci#define SRST_P_INTR_ARB_PMU		318
69862306a36Sopenharmony_ci#define SRST_P_ALIVE_SGRF		319
69962306a36Sopenharmony_ci
70062306a36Sopenharmony_ci/* cru_softrst_con20 */
70162306a36Sopenharmony_ci#define SRST_P_GPIO2			320
70262306a36Sopenharmony_ci#define SRST_P_GPIO3			321
70362306a36Sopenharmony_ci#define SRST_P_GPIO4			322
70462306a36Sopenharmony_ci#define SRST_P_GRF			323
70562306a36Sopenharmony_ci#define SRST_P_ALIVE_NOC		324
70662306a36Sopenharmony_ci#define SRST_P_WDT0			325
70762306a36Sopenharmony_ci#define SRST_P_WDT1			326
70862306a36Sopenharmony_ci#define SRST_P_INTR_ARB			327
70962306a36Sopenharmony_ci#define SRST_P_UPHY0_DPTX		328
71062306a36Sopenharmony_ci#define SRST_P_UPHY0_APB		330
71162306a36Sopenharmony_ci#define SRST_P_UPHY0_TCPHY		332
71262306a36Sopenharmony_ci#define SRST_P_UPHY1_TCPHY		333
71362306a36Sopenharmony_ci#define SRST_P_UPHY0_TCPDCTRL		334
71462306a36Sopenharmony_ci#define SRST_P_UPHY1_TCPDCTRL		335
71562306a36Sopenharmony_ci
71662306a36Sopenharmony_ci/* pmu soft-reset indices */
71762306a36Sopenharmony_ci
71862306a36Sopenharmony_ci/* pmu_cru_softrst_con0 */
71962306a36Sopenharmony_ci#define SRST_P_NOC			0
72062306a36Sopenharmony_ci#define SRST_P_INTMEM			1
72162306a36Sopenharmony_ci#define SRST_H_CM0S			2
72262306a36Sopenharmony_ci#define SRST_H_CM0S_NOC			3
72362306a36Sopenharmony_ci#define SRST_DBG_CM0S			4
72462306a36Sopenharmony_ci#define SRST_PO_CM0S			5
72562306a36Sopenharmony_ci#define SRST_P_SPI6			6
72662306a36Sopenharmony_ci#define SRST_SPI6			7
72762306a36Sopenharmony_ci#define SRST_P_TIMER_0_1		8
72862306a36Sopenharmony_ci#define SRST_P_TIMER_0			9
72962306a36Sopenharmony_ci#define SRST_P_TIMER_1			10
73062306a36Sopenharmony_ci#define SRST_P_UART4			11
73162306a36Sopenharmony_ci#define SRST_UART4			12
73262306a36Sopenharmony_ci#define SRST_P_WDT			13
73362306a36Sopenharmony_ci
73462306a36Sopenharmony_ci/* pmu_cru_softrst_con1 */
73562306a36Sopenharmony_ci#define SRST_P_I2C6			16
73662306a36Sopenharmony_ci#define SRST_P_I2C7			17
73762306a36Sopenharmony_ci#define SRST_P_I2C8			18
73862306a36Sopenharmony_ci#define SRST_P_MAILBOX			19
73962306a36Sopenharmony_ci#define SRST_P_RKPWM			20
74062306a36Sopenharmony_ci#define SRST_P_PMUGRF			21
74162306a36Sopenharmony_ci#define SRST_P_SGRF			22
74262306a36Sopenharmony_ci#define SRST_P_GPIO0			23
74362306a36Sopenharmony_ci#define SRST_P_GPIO1			24
74462306a36Sopenharmony_ci#define SRST_P_CRU			25
74562306a36Sopenharmony_ci#define SRST_P_INTR			26
74662306a36Sopenharmony_ci#define SRST_PVTM			27
74762306a36Sopenharmony_ci#define SRST_I2C6			28
74862306a36Sopenharmony_ci#define SRST_I2C7			29
74962306a36Sopenharmony_ci#define SRST_I2C8			30
75062306a36Sopenharmony_ci
75162306a36Sopenharmony_ci#endif
752