summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/reset
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-01-23 13:48:27 +0100
committerStephen Boyd <sboyd@codeaurora.org>2017-04-21 19:20:34 -0700
commit7c2adaf11036654e4a5f5da0bf09916901f3e1ec (patch)
tree0cf3872838ef488b84bf0c8f7eac02162de5e347 /include/dt-bindings/reset
parentdb9c4a1e6581e45976526eb45c032a73f944dd8a (diff)
downloadlinux-7c2adaf11036654e4a5f5da0bf09916901f3e1ec.tar.bz2
reset: mediatek: Add MT2701 ethsys reset controller include file
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> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'include/dt-bindings/reset')
-rw-r--r--include/dt-bindings/reset/mt2701-resets.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/mt2701-resets.h b/include/dt-bindings/reset/mt2701-resets.h
index aaf03057f755..21deb547cfa4 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 */