18c2ecf20Sopenharmony_ciSTMicroelectronics STi family Sysconfig Peripheral SoftReset Controller
28c2ecf20Sopenharmony_ci=============================================================================
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciThis binding describes a reset controller device that is used to enable and
58c2ecf20Sopenharmony_cidisable on-chip peripheral controllers such as USB and SATA, using
68c2ecf20Sopenharmony_ci"softreset" control bits found in the STi family SoC system configuration
78c2ecf20Sopenharmony_ciregisters.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciThe actual action taken when softreset is asserted is hardware dependent.
108c2ecf20Sopenharmony_ciHowever, when asserted it may not be possible to access the hardware's
118c2ecf20Sopenharmony_ciregisters and after an assert/deassert sequence the hardware's previous state
128c2ecf20Sopenharmony_cimay no longer be valid.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciPlease refer to reset.txt in this directory for common reset
158c2ecf20Sopenharmony_cicontroller binding usage.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciRequired properties:
188c2ecf20Sopenharmony_ci- compatible: Should be "st,stih407-softreset";
198c2ecf20Sopenharmony_ci- #reset-cells: 1, see below
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciexample:
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci	softreset: softreset-controller {
248c2ecf20Sopenharmony_ci		#reset-cells = <1>;
258c2ecf20Sopenharmony_ci		compatible = "st,stih407-softreset";
268c2ecf20Sopenharmony_ci	};
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciSpecifying softreset control of devices
308c2ecf20Sopenharmony_ci=======================================
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ciDevice nodes should specify the reset channel required in their "resets"
338c2ecf20Sopenharmony_ciproperty, containing a phandle to the softreset device node and an
348c2ecf20Sopenharmony_ciindex specifying which channel to use, as described in reset.txt
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ciexample:
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci	ethernet0{
398c2ecf20Sopenharmony_ci		resets			= <&softreset STIH415_ETH0_SOFTRESET>;
408c2ecf20Sopenharmony_ci	};
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ciMacro definitions for the supported reset channels can be found in:
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciinclude/dt-bindings/reset/stih407-resets.h
45