]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
reset: mediatek: Add MT2701 ethsys reset controller include file
authorJohn Crispin <john@phrozen.org>
Mon, 23 Jan 2017 12:48:27 +0000 (13:48 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 22 Apr 2017 02:20:34 +0000 (19:20 -0700)
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>
include/dt-bindings/reset/mt2701-resets.h

index aaf03057f755c3657e779f24bb821c150a82f413..21deb547cfa404cdc544936dafbbe09b24a7ef4d 100644 (file)
 #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 */