18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2018 Bitmain Ltd.
48c2ecf20Sopenharmony_ci * Copyright (c) 2019 Linaro Ltd.
58c2ecf20Sopenharmony_ci */
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifndef _DT_BINDINGS_BM1880_RESET_H
88c2ecf20Sopenharmony_ci#define _DT_BINDINGS_BM1880_RESET_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#define BM1880_RST_MAIN_AP		0
118c2ecf20Sopenharmony_ci#define BM1880_RST_SECOND_AP		1
128c2ecf20Sopenharmony_ci#define BM1880_RST_DDR			2
138c2ecf20Sopenharmony_ci#define BM1880_RST_VIDEO		3
148c2ecf20Sopenharmony_ci#define BM1880_RST_JPEG			4
158c2ecf20Sopenharmony_ci#define BM1880_RST_VPP			5
168c2ecf20Sopenharmony_ci#define BM1880_RST_GDMA			6
178c2ecf20Sopenharmony_ci#define BM1880_RST_AXI_SRAM		7
188c2ecf20Sopenharmony_ci#define BM1880_RST_TPU			8
198c2ecf20Sopenharmony_ci#define BM1880_RST_USB			9
208c2ecf20Sopenharmony_ci#define BM1880_RST_ETH0			10
218c2ecf20Sopenharmony_ci#define BM1880_RST_ETH1			11
228c2ecf20Sopenharmony_ci#define BM1880_RST_NAND			12
238c2ecf20Sopenharmony_ci#define BM1880_RST_EMMC			13
248c2ecf20Sopenharmony_ci#define BM1880_RST_SD			14
258c2ecf20Sopenharmony_ci#define BM1880_RST_SDMA			15
268c2ecf20Sopenharmony_ci#define BM1880_RST_I2S0			16
278c2ecf20Sopenharmony_ci#define BM1880_RST_I2S1			17
288c2ecf20Sopenharmony_ci#define BM1880_RST_UART0_1_CLK		18
298c2ecf20Sopenharmony_ci#define BM1880_RST_UART0_1_ACLK		19
308c2ecf20Sopenharmony_ci#define BM1880_RST_UART2_3_CLK		20
318c2ecf20Sopenharmony_ci#define BM1880_RST_UART2_3_ACLK		21
328c2ecf20Sopenharmony_ci#define BM1880_RST_MINER		22
338c2ecf20Sopenharmony_ci#define BM1880_RST_I2C0			23
348c2ecf20Sopenharmony_ci#define BM1880_RST_I2C1			24
358c2ecf20Sopenharmony_ci#define BM1880_RST_I2C2			25
368c2ecf20Sopenharmony_ci#define BM1880_RST_I2C3			26
378c2ecf20Sopenharmony_ci#define BM1880_RST_I2C4			27
388c2ecf20Sopenharmony_ci#define BM1880_RST_PWM0			28
398c2ecf20Sopenharmony_ci#define BM1880_RST_PWM1			29
408c2ecf20Sopenharmony_ci#define BM1880_RST_PWM2			30
418c2ecf20Sopenharmony_ci#define BM1880_RST_PWM3			31
428c2ecf20Sopenharmony_ci#define BM1880_RST_SPI			32
438c2ecf20Sopenharmony_ci#define BM1880_RST_GPIO0		33
448c2ecf20Sopenharmony_ci#define BM1880_RST_GPIO1		34
458c2ecf20Sopenharmony_ci#define BM1880_RST_GPIO2		35
468c2ecf20Sopenharmony_ci#define BM1880_RST_EFUSE		36
478c2ecf20Sopenharmony_ci#define BM1880_RST_WDT			37
488c2ecf20Sopenharmony_ci#define BM1880_RST_AHB_ROM		38
498c2ecf20Sopenharmony_ci#define BM1880_RST_SPIC			39
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ci#endif /* _DT_BINDINGS_BM1880_RESET_H */
52