aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-05-24 04:19:08 -0400
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-05-24 04:46:12 -0400
commit128987916f50d38baa3fad7c1a6dea82f31e6d8c (patch)
treefc72101c1d0a9a1f50e835a6c2d3f26a2ffb3f53
parentdd9bf8634029fb00fb4797e9ccd648e1335119cb (diff)
reset: add DT bindings header for Gemini reset controller
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: Philipp Zabel <p.zabel@pengutronix.de>
-rw-r--r--include/dt-bindings/reset/cortina,gemini-reset.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/cortina,gemini-reset.h b/include/dt-bindings/reset/cortina,gemini-reset.h
new file mode 100644
index 000000000000..0b886aee65e3
--- /dev/null
+++ b/include/dt-bindings/reset/cortina,gemini-reset.h
@@ -0,0 +1,36 @@
1#ifndef _DT_BINDINGS_RESET_CORTINA_GEMINI_H
2#define _DT_BINDINGS_RESET_CORTINA_GEMINI_H
3
4#define GEMINI_RESET_DRAM 0
5#define GEMINI_RESET_FLASH 1
6#define GEMINI_RESET_IDE 2
7#define GEMINI_RESET_RAID 3
8#define GEMINI_RESET_SECURITY 4
9#define GEMINI_RESET_GMAC0 5
10#define GEMINI_RESET_GMAC1 6
11#define GEMINI_RESET_PCI 7
12#define GEMINI_RESET_USB0 8
13#define GEMINI_RESET_USB1 9
14#define GEMINI_RESET_DMAC 10
15#define GEMINI_RESET_APB 11
16#define GEMINI_RESET_LPC 12
17#define GEMINI_RESET_LCD 13
18#define GEMINI_RESET_INTCON0 14
19#define GEMINI_RESET_INTCON1 15
20#define GEMINI_RESET_RTC 16
21#define GEMINI_RESET_TIMER 17
22#define GEMINI_RESET_UART 18
23#define GEMINI_RESET_SSP 19
24#define GEMINI_RESET_GPIO0 20
25#define GEMINI_RESET_GPIO1 21
26#define GEMINI_RESET_GPIO2 22
27#define GEMINI_RESET_WDOG 23
28#define GEMINI_RESET_EXTERN 24
29#define GEMINI_RESET_CIR 25
30#define GEMINI_RESET_SATA0 26
31#define GEMINI_RESET_SATA1 27
32#define GEMINI_RESET_TVC 28
33#define GEMINI_RESET_CPU1 30
34#define GEMINI_RESET_GLOBAL 31
35
36#endif