xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/reset/snps,hsdk-reset.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBinding for the Synopsys HSDK reset controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis binding uses the common reset binding[1].
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun[1] Documentation/devicetree/bindings/reset/reset.txt
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun- compatible: should be "snps,hsdk-reset".
9*4882a593Smuzhiyun- reg: should always contain 2 pairs address - length: first for reset
10*4882a593Smuzhiyun  configuration register and second for corresponding SW reset and status bits
11*4882a593Smuzhiyun  register.
12*4882a593Smuzhiyun- #reset-cells: from common reset binding; Should always be set to 1.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExample:
15*4882a593Smuzhiyun	reset: reset@880 {
16*4882a593Smuzhiyun		compatible = "snps,hsdk-reset";
17*4882a593Smuzhiyun		#reset-cells = <1>;
18*4882a593Smuzhiyun		reg = <0x8A0 0x4>, <0xFF0 0x4>;
19*4882a593Smuzhiyun	};
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunSpecifying reset lines connected to IP modules:
22*4882a593Smuzhiyun	ethernet@.... {
23*4882a593Smuzhiyun		....
24*4882a593Smuzhiyun		resets = <&reset HSDK_V1_ETH_RESET>;
25*4882a593Smuzhiyun		....
26*4882a593Smuzhiyun	};
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunThe index could be found in <dt-bindings/reset/snps,hsdk-reset.h>
29