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