summaryrefslogtreecommitdiffstats
path: root/dts/include/dt-bindings/reset/stericsson,db8500-prcc-reset.h
blob: ea906896c70f3ae34372ebcb51b83a7f03620d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _DT_BINDINGS_STE_PRCC_RESET
#define _DT_BINDINGS_STE_PRCC_RESET

#define DB8500_PRCC_1				1
#define DB8500_PRCC_2				2
#define DB8500_PRCC_3				3
#define DB8500_PRCC_6				6

/* Reset lines on PRCC 1 */
#define DB8500_PRCC_1_RESET_UART0		0
#define DB8500_PRCC_1_RESET_UART1		1
#define DB8500_PRCC_1_RESET_I2C1		2
#define DB8500_PRCC_1_RESET_MSP0		3
#define DB8500_PRCC_1_RESET_MSP1		4
#define DB8500_PRCC_1_RESET_SDI0		5
#define DB8500_PRCC_1_RESET_I2C2		6
#define DB8500_PRCC_1_RESET_SPI3		7
#define DB8500_PRCC_1_RESET_SLIMBUS0		8
#define DB8500_PRCC_1_RESET_I2C4		9
#define DB8500_PRCC_1_RESET_MSP3		10
#define DB8500_PRCC_1_RESET_PER_MSP3		11
#define DB8500_PRCC_1_RESET_PER_MSP1		12
#define DB8500_PRCC_1_RESET_PER_MSP0		13
#define DB8500_PRCC_1_RESET_PER_SLIMBUS		14

/* Reset lines on PRCC 2 */
#define DB8500_PRCC_2_RESET_I2C3		0
#define DB8500_PRCC_2_RESET_PWL			1
#define DB8500_PRCC_2_RESET_SDI4		2
#define DB8500_PRCC_2_RESET_MSP2		3
#define DB8500_PRCC_2_RESET_SDI1		4
#define DB8500_PRCC_2_RESET_SDI3		5
#define DB8500_PRCC_2_RESET_HSIRX		6
#define DB8500_PRCC_2_RESET_HSITX		7
#define DB8500_PRCC_1_RESET_PER_MSP2		8

/* Reset lines on PRCC 3 */
#define DB8500_PRCC_3_RESET_SSP0		1
#define DB8500_PRCC_3_RESET_SSP1		2
#define DB8500_PRCC_3_RESET_I2C0		3
#define DB8500_PRCC_3_RESET_SDI2		4
#define DB8500_PRCC_3_RESET_SKE			5
#define DB8500_PRCC_3_RESET_UART2		6
#define DB8500_PRCC_3_RESET_SDI5		7

/* Reset lines on PRCC 6 */
#define DB8500_PRCC_3_RESET_RNG			0

#endif