aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt
diff options
context:
space:
mode:
authorGravatar Vineet Gupta <Vineet.Gupta1@synopsys.com> 2017-08-31 11:06:07 -0700
committerGravatar Philipp Zabel <p.zabel@pengutronix.de> 2017-09-18 13:02:03 +0200
commit13541226dc056fa3f54417ce12f18ba711a1591c (patch)
tree164b3545a4777727e5c41fa26a21a5d81acfbfbf /Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt
parentARC: reset: add missing DT binding documentation for HSDKv1 reset driver (diff)
downloadlinux-13541226dc056fa3f54417ce12f18ba711a1591c.tar.gz
linux-13541226dc056fa3f54417ce12f18ba711a1591c.tar.bz2
linux-13541226dc056fa3f54417ce12f18ba711a1591c.zip
ARC: reset: remove the misleading v1 suffix all over
There is no plan yet to do a v2 board. And even if we were to do it only some IPs would actually change, so it be best to add suffixes at that point, not now ! Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt')
-rw-r--r--Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt b/Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt
new file mode 100644
index 000000000000..830069b1c37c
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt
@@ -0,0 +1,28 @@
+Binding for the Synopsys HSDK reset controller
+
+This binding uses the common reset binding[1].
+
+[1] Documentation/devicetree/bindings/reset/reset.txt
+
+Required properties:
+- compatible: should be "snps,hsdk-reset".
+- reg: should always contain 2 pairs address - length: first for reset
+ configuration register and second for corresponding SW reset and status bits
+ register.
+- #reset-cells: from common reset binding; Should always be set to 1.
+
+Example:
+ reset: reset@880 {
+ compatible = "snps,hsdk-reset";
+ #reset-cells = <1>;
+ reg = <0x8A0 0x4>, <0xFF0 0x4>;
+ };
+
+Specifying reset lines connected to IP modules:
+ ethernet@.... {
+ ....
+ resets = <&reset HSDK_V1_ETH_RESET>;
+ ....
+ };
+
+The index could be found in <dt-bindings/reset/snps,hsdk-reset.h>