]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
reset: add DT bindings header for Gemini reset controller
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 18 Jun 2017 21:55:48 +0000 (23:55 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 20 Jun 2017 00:24:58 +0000 (17:24 -0700)
This adds the DT binding macros used by the reset controller.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
include/dt-bindings/reset/cortina,gemini-reset.h [new file with mode: 0644]

diff --git a/include/dt-bindings/reset/cortina,gemini-reset.h b/include/dt-bindings/reset/cortina,gemini-reset.h
new file mode 100644 (file)
index 0000000..0b886ae
--- /dev/null
@@ -0,0 +1,36 @@
+#ifndef _DT_BINDINGS_RESET_CORTINA_GEMINI_H
+#define _DT_BINDINGS_RESET_CORTINA_GEMINI_H
+
+#define GEMINI_RESET_DRAM      0
+#define GEMINI_RESET_FLASH     1
+#define GEMINI_RESET_IDE       2
+#define GEMINI_RESET_RAID      3
+#define GEMINI_RESET_SECURITY  4
+#define GEMINI_RESET_GMAC0     5
+#define GEMINI_RESET_GMAC1     6
+#define GEMINI_RESET_PCI       7
+#define GEMINI_RESET_USB0      8
+#define GEMINI_RESET_USB1      9
+#define GEMINI_RESET_DMAC      10
+#define GEMINI_RESET_APB       11
+#define GEMINI_RESET_LPC       12
+#define GEMINI_RESET_LCD       13
+#define GEMINI_RESET_INTCON0   14
+#define GEMINI_RESET_INTCON1   15
+#define GEMINI_RESET_RTC       16
+#define GEMINI_RESET_TIMER     17
+#define GEMINI_RESET_UART      18
+#define GEMINI_RESET_SSP       19
+#define GEMINI_RESET_GPIO0     20
+#define GEMINI_RESET_GPIO1     21
+#define GEMINI_RESET_GPIO2     22
+#define GEMINI_RESET_WDOG      23
+#define GEMINI_RESET_EXTERN    24
+#define GEMINI_RESET_CIR       25
+#define GEMINI_RESET_SATA0     26
+#define GEMINI_RESET_SATA1     27
+#define GEMINI_RESET_TVC       28
+#define GEMINI_RESET_CPU1      30
+#define GEMINI_RESET_GLOBAL    31
+
+#endif