summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>2017-07-19 21:45:11 +0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2017-07-20 11:48:16 +0200
commite0be864f14240cb1bd92247a672796239d6ef2fa (patch)
tree4825cd819df5de3a3c6283e65b228174f05507eb /include/dt-bindings
parent21240eb94f1f6df30aa88f7e7b754ed46024d666 (diff)
downloadop-kernel-dev-e0be864f14240cb1bd92247a672796239d6ef2fa.zip
op-kernel-dev-e0be864f14240cb1bd92247a672796239d6ef2fa.tar.gz
ARC: reset: introduce HSDKv1 reset driver
The HSDK v1 periphery IPs can be reset by accessing some registers from the CGU block. The list of available reset lines is documented in the DT bindings. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/reset/snps,hsdk-v1-reset.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/snps,hsdk-v1-reset.h b/include/dt-bindings/reset/snps,hsdk-v1-reset.h
new file mode 100644
index 0000000..d898c89
--- /dev/null
+++ b/include/dt-bindings/reset/snps,hsdk-v1-reset.h
@@ -0,0 +1,17 @@
+/**
+ * This header provides index for the HSDK v1 reset controller.
+ */
+#ifndef _DT_BINDINGS_RESET_CONTROLLER_HSDK_V1
+#define _DT_BINDINGS_RESET_CONTROLLER_HSDK_V1
+
+#define HSDK_V1_APB_RESET 0
+#define HSDK_V1_AXI_RESET 1
+#define HSDK_V1_ETH_RESET 2
+#define HSDK_V1_USB_RESET 3
+#define HSDK_V1_SDIO_RESET 4
+#define HSDK_V1_HDMI_RESET 5
+#define HSDK_V1_GFX_RESET 6
+#define HSDK_V1_DMAC_RESET 7
+#define HSDK_V1_EBI_RESET 8
+
+#endif /*_DT_BINDINGS_RESET_CONTROLLER_HSDK_V1*/
OpenPOWER on IntegriCloud