Browse Source

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>
John Crispin 8 years ago
parent
commit
7c2adaf110
1 changed files with 7 additions and 0 deletions
  1. 7 0
      include/dt-bindings/reset/mt2701-resets.h

+ 7 - 0
include/dt-bindings/reset/mt2701-resets.h

@@ -80,4 +80,11 @@
 #define MT2701_HIFSYS_PCIE1_RST			25
 #define MT2701_HIFSYS_PCIE1_RST			25
 #define MT2701_HIFSYS_PCIE2_RST			26
 #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 */
 #endif  /* _DT_BINDINGS_RESET_CONTROLLER_MT2701 */