162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2018 Bitmain Ltd.
462306a36Sopenharmony_ci * Copyright (c) 2019 Linaro Ltd.
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _DT_BINDINGS_BM1880_RESET_H
862306a36Sopenharmony_ci#define _DT_BINDINGS_BM1880_RESET_H
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#define BM1880_RST_MAIN_AP		0
1162306a36Sopenharmony_ci#define BM1880_RST_SECOND_AP		1
1262306a36Sopenharmony_ci#define BM1880_RST_DDR			2
1362306a36Sopenharmony_ci#define BM1880_RST_VIDEO		3
1462306a36Sopenharmony_ci#define BM1880_RST_JPEG			4
1562306a36Sopenharmony_ci#define BM1880_RST_VPP			5
1662306a36Sopenharmony_ci#define BM1880_RST_GDMA			6
1762306a36Sopenharmony_ci#define BM1880_RST_AXI_SRAM		7
1862306a36Sopenharmony_ci#define BM1880_RST_TPU			8
1962306a36Sopenharmony_ci#define BM1880_RST_USB			9
2062306a36Sopenharmony_ci#define BM1880_RST_ETH0			10
2162306a36Sopenharmony_ci#define BM1880_RST_ETH1			11
2262306a36Sopenharmony_ci#define BM1880_RST_NAND			12
2362306a36Sopenharmony_ci#define BM1880_RST_EMMC			13
2462306a36Sopenharmony_ci#define BM1880_RST_SD			14
2562306a36Sopenharmony_ci#define BM1880_RST_SDMA			15
2662306a36Sopenharmony_ci#define BM1880_RST_I2S0			16
2762306a36Sopenharmony_ci#define BM1880_RST_I2S1			17
2862306a36Sopenharmony_ci#define BM1880_RST_UART0_1_CLK		18
2962306a36Sopenharmony_ci#define BM1880_RST_UART0_1_ACLK		19
3062306a36Sopenharmony_ci#define BM1880_RST_UART2_3_CLK		20
3162306a36Sopenharmony_ci#define BM1880_RST_UART2_3_ACLK		21
3262306a36Sopenharmony_ci#define BM1880_RST_MINER		22
3362306a36Sopenharmony_ci#define BM1880_RST_I2C0			23
3462306a36Sopenharmony_ci#define BM1880_RST_I2C1			24
3562306a36Sopenharmony_ci#define BM1880_RST_I2C2			25
3662306a36Sopenharmony_ci#define BM1880_RST_I2C3			26
3762306a36Sopenharmony_ci#define BM1880_RST_I2C4			27
3862306a36Sopenharmony_ci#define BM1880_RST_PWM0			28
3962306a36Sopenharmony_ci#define BM1880_RST_PWM1			29
4062306a36Sopenharmony_ci#define BM1880_RST_PWM2			30
4162306a36Sopenharmony_ci#define BM1880_RST_PWM3			31
4262306a36Sopenharmony_ci#define BM1880_RST_SPI			32
4362306a36Sopenharmony_ci#define BM1880_RST_GPIO0		33
4462306a36Sopenharmony_ci#define BM1880_RST_GPIO1		34
4562306a36Sopenharmony_ci#define BM1880_RST_GPIO2		35
4662306a36Sopenharmony_ci#define BM1880_RST_EFUSE		36
4762306a36Sopenharmony_ci#define BM1880_RST_WDT			37
4862306a36Sopenharmony_ci#define BM1880_RST_AHB_ROM		38
4962306a36Sopenharmony_ci#define BM1880_RST_SPIC			39
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci#endif /* _DT_BINDINGS_BM1880_RESET_H */
52