1*b550b8a4SPhilipp Zabel# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*b550b8a4SPhilipp Zabel%YAML 1.2
3*b550b8a4SPhilipp Zabel---
4*b550b8a4SPhilipp Zabel$id: http://devicetree.org/schemas/reset/st,stih407-picophyreset.yaml#
5*b550b8a4SPhilipp Zabel$schema: http://devicetree.org/meta-schemas/core.yaml#
6*b550b8a4SPhilipp Zabel
7*b550b8a4SPhilipp Zabeltitle: STMicroelectronics STi family Sysconfig Picophy SoftReset Controller
8*b550b8a4SPhilipp Zabel
9*b550b8a4SPhilipp Zabelmaintainers:
10*b550b8a4SPhilipp Zabel  - Peter Griffin <peter.griffin@linaro.org>
11*b550b8a4SPhilipp Zabel
12*b550b8a4SPhilipp Zabeldescription: |
13*b550b8a4SPhilipp Zabel  This binding describes a reset controller device that is used to enable and
14*b550b8a4SPhilipp Zabel  disable on-chip PicoPHY USB2 phy(s) using "softreset" control bits found in
15*b550b8a4SPhilipp Zabel  the STi family SoC system configuration registers.
16*b550b8a4SPhilipp Zabel
17*b550b8a4SPhilipp Zabel  The actual action taken when softreset is asserted is hardware dependent.
18*b550b8a4SPhilipp Zabel  However, when asserted it may not be possible to access the hardware's
19*b550b8a4SPhilipp Zabel  registers and after an assert/deassert sequence the hardware's previous state
20*b550b8a4SPhilipp Zabel  may no longer be valid.
21*b550b8a4SPhilipp Zabel
22*b550b8a4SPhilipp Zabelproperties:
23*b550b8a4SPhilipp Zabel  compatible:
24*b550b8a4SPhilipp Zabel    const: st,stih407-picophyreset
25*b550b8a4SPhilipp Zabel
26*b550b8a4SPhilipp Zabel  '#reset-cells':
27*b550b8a4SPhilipp Zabel    const: 1
28*b550b8a4SPhilipp Zabel
29*b550b8a4SPhilipp Zabelrequired:
30*b550b8a4SPhilipp Zabel  - compatible
31*b550b8a4SPhilipp Zabel  - '#reset-cells'
32*b550b8a4SPhilipp Zabel
33*b550b8a4SPhilipp ZabeladditionalProperties: false
34*b550b8a4SPhilipp Zabel
35*b550b8a4SPhilipp Zabelexamples:
36*b550b8a4SPhilipp Zabel  - |
37*b550b8a4SPhilipp Zabel    #include <dt-bindings/reset/stih407-resets.h>
38*b550b8a4SPhilipp Zabel
39*b550b8a4SPhilipp Zabel    picophyreset: picophyreset-controller {
40*b550b8a4SPhilipp Zabel        compatible = "st,stih407-picophyreset";
41*b550b8a4SPhilipp Zabel        #reset-cells = <1>;
42*b550b8a4SPhilipp Zabel    };
43*b550b8a4SPhilipp Zabel
44*b550b8a4SPhilipp Zabel    // Specifying picophyreset control of devices
45*b550b8a4SPhilipp Zabel    usb2_picophy0: usbpicophy {
46*b550b8a4SPhilipp Zabel        resets = <&picophyreset STIH407_PICOPHY0_RESET>;
47*b550b8a4SPhilipp Zabel    };
48