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