From: Weijie Gao <weijie.gao@mediatek.com>
To: <u-boot@lists.denx.de>
Cc: GSS_MTK_Uboot_upstream <GSS_MTK_Uboot_upstream@mediatek.com>,
Weijie Gao <weijie.gao@mediatek.com>
Subject: [PATCH v2 04/14] reset: mtmips: add reset controller support for MediaTek MT7621 SoC
Date: Fri, 19 Nov 2021 09:36:07 +0800 [thread overview]
Message-ID: <f7054582e064afa7568bb15ffd554972f849e121.1637285375.git.weijie.gao@mediatek.com> (raw)
In-Reply-To: <cover.1637285375.git.weijie.gao@mediatek.com>
This patch adds reset controller bits definition header file for MediaTek
MT7621 SoC
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
---
v2 changes: none
---
include/dt-bindings/reset/mt7621-reset.h | 38 ++++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 include/dt-bindings/reset/mt7621-reset.h
diff --git a/include/dt-bindings/reset/mt7621-reset.h b/include/dt-bindings/reset/mt7621-reset.h
new file mode 100644
index 0000000000..e129c531fc
--- /dev/null
+++ b/include/dt-bindings/reset/mt7621-reset.h
@@ -0,0 +1,38 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (C) 2021 MediaTek Inc. All rights reserved.
+ *
+ * Author: Weijie Gao <weijie.gao@mediatek.com>
+ */
+
+#ifndef _DT_BINDINGS_MT7621_RESET_H_
+#define _DT_BINDINGS_MT7621_RESET_H_
+
+#define RST_PPE 31
+#define RST_SDXC 30
+#define RST_CRYPTO 29
+#define RST_AUX_STCK 28
+#define RST_PCIE2 26
+#define RST_PCIE1 25
+#define RST_PCIE0 24
+#define RST_GMAC 23
+#define RST_UART3 21
+#define RST_UART2 20
+#define RST_UART1 19
+#define RST_SPI 18
+#define RST_I2S 17
+#define RST_I2C 16
+#define RST_NFI 15
+#define RST_GDMA 14
+#define RST_PIO 13
+#define RST_PCM 11
+#define RST_MC 10
+#define RST_INTC 9
+#define RST_TIMER 8
+#define RST_SPDIFTX 7
+#define RST_FE 6
+#define RST_HSDMA 5
+#define RST_MCM 2
+#define RST_SYS 0
+
+#endif /* _DT_BINDINGS_MT7621_RESET_H_ */
--
2.17.1
next prev parent reply other threads:[~2021-11-19 1:36 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-19 1:35 [PATCH v2 00/14] Add support for MediaTek MT7621 SoC Weijie Gao
2021-11-19 1:35 ` [PATCH v2 01/14] mips: mtmips: add " Weijie Gao
2021-11-19 1:35 ` [PATCH v2 02/14] mips: mtmips: add two reference boards for mt7621 Weijie Gao
2021-11-19 1:35 ` [PATCH v2 03/14] clk: mtmips: add clock driver for MediaTek MT7621 SoC Weijie Gao
2021-11-26 17:44 ` Sean Anderson
2021-12-03 10:06 ` Weijie Gao
2021-12-15 16:11 ` Sean Anderson
2021-12-27 8:06 ` Weijie Gao
2021-12-31 2:30 ` Sean Anderson
2021-11-19 1:36 ` Weijie Gao [this message]
2021-11-19 1:36 ` [PATCH v2 05/14] pinctrl: mtmips: add support " Weijie Gao
2021-11-19 1:36 ` [PATCH v2 06/14] nand: raw: " Weijie Gao
2021-11-19 1:36 ` [PATCH v2 07/14] usb: xhci-mtk: " Weijie Gao
2021-11-19 1:36 ` [PATCH v2 08/14] phy: mtk-tphy: " Weijie Gao
2021-11-19 1:36 ` [PATCH v2 09/14] spi: " Weijie Gao
2021-11-19 1:36 ` [PATCH v2 10/14] gpio: " Weijie Gao
2021-11-19 1:36 ` [PATCH v2 11/14] watchdog: " Weijie Gao
2021-11-19 1:37 ` [PATCH v2 12/14] mmc: mediatek: " Weijie Gao
2021-11-22 23:41 ` Jaehoon Chung
2021-11-19 1:37 ` [PATCH v2 13/14] net: " Weijie Gao
2021-11-21 19:14 ` Ramon Fried
2021-11-22 8:09 ` Weijie Gao
2021-11-19 1:37 ` [PATCH v2 14/14] MAINTAINERS: update maintainer for MediaTek MIPS platform Weijie Gao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7054582e064afa7568bb15ffd554972f849e121.1637285375.git.weijie.gao@mediatek.com \
--to=weijie.gao@mediatek.com \
--cc=GSS_MTK_Uboot_upstream@mediatek.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).