From: john@phrozen.org (John Crispin)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] reset: mediatek: Add MT2701 ethsys reset controller include file
Date: Mon, 23 Jan 2017 13:48:27 +0100 [thread overview]
Message-ID: <1485175707-58528-3-git-send-email-john@phrozen.org> (raw)
In-Reply-To: <1485175707-58528-1-git-send-email-john@phrozen.org>
Add the missing reset bits of the ethsys core to the mt2701-reset include
file, so that we can reference them from within a devicetree file.
Signed-off-by: John Crispin <john@phrozen.org>
---
include/dt-bindings/reset/mt2701-resets.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/include/dt-bindings/reset/mt2701-resets.h b/include/dt-bindings/reset/mt2701-resets.h
index aaf0305..21deb54 100644
--- a/include/dt-bindings/reset/mt2701-resets.h
+++ b/include/dt-bindings/reset/mt2701-resets.h
@@ -80,4 +80,11 @@
#define MT2701_HIFSYS_PCIE1_RST 25
#define MT2701_HIFSYS_PCIE2_RST 26
+/* ETHSYS resets */
+#define MT2701_ETHSYS_SYS_RST 0
+#define MT2701_ETHSYS_MCM_RST 2
+#define MT2701_ETHSYS_FE_RST 6
+#define MT2701_ETHSYS_GMAC_RST 23
+#define MT2701_ETHSYS_PPE_RST 31
+
#endif /* _DT_BINDINGS_RESET_CONTROLLER_MT2701 */
--
1.7.10.4
next prev parent reply other threads:[~2017-01-23 12:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-23 12:48 [PATCH 0/2] clk: mediatek: add missing ethernet reset definition John Crispin
2017-01-23 12:48 ` [PATCH 1/2] clk: mediatek: add mt2701 ethernet reset John Crispin
2017-04-22 2:14 ` Stephen Boyd
2017-01-23 12:48 ` John Crispin [this message]
2017-01-27 0:14 ` [PATCH 0/2] clk: mediatek: add missing ethernet reset definition Stephen Boyd
2017-01-27 5:00 ` John Crispin
2017-04-19 17:18 ` Stephen Boyd
2017-04-19 19:17 ` John Crispin
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=1485175707-58528-3-git-send-email-john@phrozen.org \
--to=john@phrozen.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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).