Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ast10x0_reset.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Aspeed Technology Inc.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RESET_AST10X0_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_RESET_AST10X0_H_
9
10#define ASPEED_RESET_GRP_0_OFFSET (0)
11#define ASPEED_RESET_GRP_1_OFFSET (32)
12
13#define ASPEED_RESET_HACE (ASPEED_RESET_GRP_0_OFFSET + 4)
14#define ASPEED_RESET_USB (ASPEED_RESET_GRP_0_OFFSET + 3)
15#define ASPEED_RESET_SRAM (ASPEED_RESET_GRP_0_OFFSET + 0)
16
17#define ASPEED_RESET_UART4 (ASPEED_RESET_GRP_1_OFFSET + 31)
18#define ASPEED_RESET_UART3 (ASPEED_RESET_GRP_1_OFFSET + 30)
19#define ASPEED_RESET_UART2 (ASPEED_RESET_GRP_1_OFFSET + 29)
20#define ASPEED_RESET_UART1 (ASPEED_RESET_GRP_1_OFFSET + 28)
21
22#define ASPEED_RESET_JTAG_M0 (ASPEED_RESET_GRP_1_OFFSET + 26)
23#define ASPEED_RESET_ESPI (ASPEED_RESET_GRP_1_OFFSET + 25)
24
25#define ASPEED_RESET_ADC (ASPEED_RESET_GRP_1_OFFSET + 23)
26#define ASPEED_RESET_JTAG_M1 (ASPEED_RESET_GRP_1_OFFSET + 22)
27
28#define ASPEED_RESET_MAC (ASPEED_RESET_GRP_1_OFFSET + 20)
29
30#define ASPEED_RESET_I3C3 (ASPEED_RESET_GRP_1_OFFSET + 11)
31#define ASPEED_RESET_I3C2 (ASPEED_RESET_GRP_1_OFFSET + 10)
32#define ASPEED_RESET_I3C1 (ASPEED_RESET_GRP_1_OFFSET + 9)
33#define ASPEED_RESET_I3C0 (ASPEED_RESET_GRP_1_OFFSET + 8)
34#define ASPEED_RESET_I3C (ASPEED_RESET_GRP_1_OFFSET + 7)
35#define ASPEED_RESET_PWM_TACH (ASPEED_RESET_GRP_1_OFFSET + 5)
36#define ASPEED_RESET_PECI (ASPEED_RESET_GRP_1_OFFSET + 4)
37#define ASPEED_RESET_MII (ASPEED_RESET_GRP_1_OFFSET + 3)
38#define ASPEED_RESET_I2C (ASPEED_RESET_GRP_1_OFFSET + 2)
39
40#define ASPEED_RESET_LPC (ASPEED_RESET_GRP_1_OFFSET + 0)
41
42#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_RESET_AST10X0_H_ */