summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>2014-03-11 13:24:55 +0400
committerSrinivas Kandagatla <srinivas.kandagatla@st.com>2014-03-11 14:02:51 +0400
commit6b7f06cc805bb4755e69cd916b3f565947e0a77a (patch)
tree087a444745f1a096da308014bd2afc077a08f471 /include/dt-bindings
parent7ec5183a0ab1930b071c3c68a7d3b08e29b8bb78 (diff)
downloadlinux-6b7f06cc805bb4755e69cd916b3f565947e0a77a.tar.xz
ARM: STi: STiH415: Add reset controller support.
This patch adds a reset controller node to the SOC device tree and also adds new header files with reset lines required for other device tree nodes. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/reset-controller/stih415-resets.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/reset-controller/stih415-resets.h b/include/dt-bindings/reset-controller/stih415-resets.h
new file mode 100644
index 000000000000..2d54e68c2d95
--- /dev/null
+++ b/include/dt-bindings/reset-controller/stih415-resets.h
@@ -0,0 +1,19 @@
+/*
+ * This header provides constants for the reset controller
+ * based peripheral powerdown requests on the STMicroelectronics
+ * STiH415 SoC.
+ */
+#ifndef _DT_BINDINGS_RESET_CONTROLLER_STIH415
+#define _DT_BINDINGS_RESET_CONTROLLER_STIH415
+
+#define STIH415_EMISS_POWERDOWN 0
+#define STIH415_NAND_POWERDOWN 1
+#define STIH415_KEYSCAN_POWERDOWN 2
+#define STIH415_USB0_POWERDOWN 3
+#define STIH415_USB1_POWERDOWN 4
+#define STIH415_USB2_POWERDOWN 5
+#define STIH415_SATA0_POWERDOWN 6
+#define STIH415_SATA1_POWERDOWN 7
+#define STIH415_PCIE_POWERDOWN 8
+
+#endif /* _DT_BINDINGS_RESET_CONTROLLER_STIH415 */