xref: /freebsd/sys/contrib/device-tree/Bindings/reset/oxnas,reset.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotOxford Semiconductor OXNAS SoC Family RESET Controller
2*c66ec88fSEmmanuel Vadot================================================
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotPlease also refer to reset.txt in this directory for common reset
5*c66ec88fSEmmanuel Vadotcontroller binding usage.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired properties:
8*c66ec88fSEmmanuel Vadot- compatible: For OX810SE, should be "oxsemi,ox810se-reset"
9*c66ec88fSEmmanuel Vadot	      For OX820, should be "oxsemi,ox820-reset"
10*c66ec88fSEmmanuel Vadot- #reset-cells: 1, see below
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel VadotParent node should have the following properties :
13*c66ec88fSEmmanuel Vadot- compatible: For OX810SE, should be :
14*c66ec88fSEmmanuel Vadot			"oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd"
15*c66ec88fSEmmanuel Vadot	      For OX820, should be :
16*c66ec88fSEmmanuel Vadot			"oxsemi,ox820-sys-ctrl", "syscon", "simple-mfd"
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotReset indices are in dt-bindings include files :
19*c66ec88fSEmmanuel Vadot- For OX810SE: include/dt-bindings/reset/oxsemi,ox810se.h
20*c66ec88fSEmmanuel Vadot- For OX820: include/dt-bindings/reset/oxsemi,ox820.h
21*c66ec88fSEmmanuel Vadot
22*c66ec88fSEmmanuel Vadotexample:
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadotsys: sys-ctrl@000000 {
25*c66ec88fSEmmanuel Vadot	compatible = "oxsemi,ox810se-sys-ctrl", "syscon", "simple-mfd";
26*c66ec88fSEmmanuel Vadot	reg = <0x000000 0x100000>;
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot	reset: reset-controller {
29*c66ec88fSEmmanuel Vadot		compatible = "oxsemi,ox810se-reset";
30*c66ec88fSEmmanuel Vadot		#reset-cells = <1>;
31*c66ec88fSEmmanuel Vadot	};
32*c66ec88fSEmmanuel Vadot};
33