Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/include/dt-bindings/reset/cix,sky1-system-control.h
170891 views
1
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2
/* Author: Jerry Zhu <[email protected]> */
3
#ifndef DT_BINDING_RESET_CIX_SKY1_SYSTEM_CONTROL_H
4
#define DT_BINDING_RESET_CIX_SKY1_SYSTEM_CONTROL_H
5
6
/* func reset for sky1 fch */
7
#define SW_I3C0_RST_FUNC_G_N 0
8
#define SW_I3C0_RST_FUNC_I_N 1
9
#define SW_I3C1_RST_FUNC_G_N 2
10
#define SW_I3C1_RST_FUNC_I_N 3
11
#define SW_UART0_RST_FUNC_N 4
12
#define SW_UART1_RST_FUNC_N 5
13
#define SW_UART2_RST_FUNC_N 6
14
#define SW_UART3_RST_FUNC_N 7
15
#define SW_TIMER_RST_FUNC_N 8
16
17
/* apb reset for sky1 fch */
18
#define SW_I3C0_RST_APB_N 9
19
#define SW_I3C1_RST_APB_N 10
20
#define SW_DMA_RST_AXI_N 11
21
#define SW_UART0_RST_APB_N 12
22
#define SW_UART1_RST_APB_N 13
23
#define SW_UART2_RST_APB_N 14
24
#define SW_UART3_RST_APB_N 15
25
#define SW_SPI0_RST_APB_N 16
26
#define SW_SPI1_RST_APB_N 17
27
#define SW_I2C0_RST_APB_N 18
28
#define SW_I2C1_RST_APB_N 19
29
#define SW_I2C2_RST_APB_N 20
30
#define SW_I2C3_RST_APB_N 21
31
#define SW_I2C4_RST_APB_N 22
32
#define SW_I2C5_RST_APB_N 23
33
#define SW_I2C6_RST_APB_N 24
34
#define SW_I2C7_RST_APB_N 25
35
#define SW_GPIO_RST_APB_N 26
36
37
/* fch rst for xspi */
38
#define SW_XSPI_REG_RST_N 27
39
#define SW_XSPI_SYS_RST_N 28
40
41
#endif
42
43