100b228c4f3b2023cacf2b349f71067cb02334d6
[openwrt/staging/neocturne.git] /
1 From 03035a6566300808c8845799b2f9ceca471aa61a Mon Sep 17 00:00:00 2001
2 From: Weijie Gao <weijie.gao@mediatek.com>
3 Date: Fri, 20 May 2022 11:22:41 +0800
4 Subject: [PATCH 09/25] reset: mtmips: add reset controller support for
5 MediaTek MT7621 SoC
6
7 This patch adds reset controller bits definition header file for MediaTek
8 MT7621 SoC
9
10 Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
11 ---
12 include/dt-bindings/reset/mt7621-reset.h | 38 ++++++++++++++++++++++++
13 1 file changed, 38 insertions(+)
14 create mode 100644 include/dt-bindings/reset/mt7621-reset.h
15
16 --- /dev/null
17 +++ b/include/dt-bindings/reset/mt7621-reset.h
18 @@ -0,0 +1,38 @@
19 +/* SPDX-License-Identifier: GPL-2.0 */
20 +/*
21 + * Copyright (C) 2022 MediaTek Inc. All rights reserved.
22 + *
23 + * Author: Weijie Gao <weijie.gao@mediatek.com>
24 + */
25 +
26 +#ifndef _DT_BINDINGS_MT7621_RESET_H_
27 +#define _DT_BINDINGS_MT7621_RESET_H_
28 +
29 +#define RST_PPE 31
30 +#define RST_SDXC 30
31 +#define RST_CRYPTO 29
32 +#define RST_AUX_STCK 28
33 +#define RST_PCIE2 26
34 +#define RST_PCIE1 25
35 +#define RST_PCIE0 24
36 +#define RST_GMAC 23
37 +#define RST_UART3 21
38 +#define RST_UART2 20
39 +#define RST_UART1 19
40 +#define RST_SPI 18
41 +#define RST_I2S 17
42 +#define RST_I2C 16
43 +#define RST_NFI 15
44 +#define RST_GDMA 14
45 +#define RST_PIO 13
46 +#define RST_PCM 11
47 +#define RST_MC 10
48 +#define RST_INTC 9
49 +#define RST_TIMER 8
50 +#define RST_SPDIFTX 7
51 +#define RST_FE 6
52 +#define RST_HSDMA 5
53 +#define RST_MCM 2
54 +#define RST_SYS 0
55 +
56 +#endif /* _DT_BINDINGS_MT7621_RESET_H_ */