summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/reset/snps,hsdk-reset.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2017-10-03 18:10:12 -0700
committerOlof Johansson <olof@lixom.net>2017-10-03 18:10:12 -0700
commit180eb4f17eab106982ef100787a485974bef4749 (patch)
tree90931a381f883b79d1c363efb5697903d602bf62 /include/dt-bindings/reset/snps,hsdk-reset.h
parent5f3daa2393889cf1bbcbc8209b292fb2db4a8806 (diff)
parent544e3bf4f0e8278400f19ca7918a3cdf2548b4eb (diff)
downloadlinux-180eb4f17eab106982ef100787a485974bef4749.tar.bz2
Merge tag 'reset-fixes-for-4.14' of git://git.pengutronix.de/git/pza/linux into fixes
Reset controller fixes for v4.14 - Remove misleading HSDK v1 suffix, as there is no v2 planned - Add missing DT binding documentation for HSDK reset driver - Fix HSDK reset driver dependencies * tag 'reset-fixes-for-4.14' of git://git.pengutronix.de/git/pza/linux: reset: Restrict RESET_HSDK to ARC_SOC_HSDK or COMPILE_TEST ARC: reset: remove the misleading v1 suffix all over ARC: reset: add missing DT binding documentation for HSDKv1 reset driver ARC: reset: Only build on archs that have IOMEM Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/dt-bindings/reset/snps,hsdk-reset.h')
-rw-r--r--include/dt-bindings/reset/snps,hsdk-reset.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/snps,hsdk-reset.h b/include/dt-bindings/reset/snps,hsdk-reset.h
new file mode 100644
index 000000000000..e1a643e4bc91
--- /dev/null
+++ b/include/dt-bindings/reset/snps,hsdk-reset.h
@@ -0,0 +1,17 @@
+/**
+ * This header provides index for the HSDK reset controller.
+ */
+#ifndef _DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK
+#define _DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK
+
+#define HSDK_APB_RESET 0
+#define HSDK_AXI_RESET 1
+#define HSDK_ETH_RESET 2
+#define HSDK_USB_RESET 3
+#define HSDK_SDIO_RESET 4
+#define HSDK_HDMI_RESET 5
+#define HSDK_GFX_RESET 6
+#define HSDK_DMAC_RESET 7
+#define HSDK_EBI_RESET 8
+
+#endif /*_DT_BINDINGS_RESET_CONTROLLER_SNPS_HSDK*/