xref: /freebsd/sys/contrib/device-tree/Bindings/phy/st,stih407-usb2-phy.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1*84943d6fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*84943d6fSEmmanuel Vadot%YAML 1.2
3*84943d6fSEmmanuel Vadot---
4*84943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/st,stih407-usb2-phy.yaml#
5*84943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*84943d6fSEmmanuel Vadot
7*84943d6fSEmmanuel Vadottitle: STMicroelectronics STiH407 USB PHY controller
8*84943d6fSEmmanuel Vadot
9*84943d6fSEmmanuel Vadotmaintainers:
10*84943d6fSEmmanuel Vadot  - Patrice Chotard <patrice.chotard@foss.st.com>
11*84943d6fSEmmanuel Vadot
12*84943d6fSEmmanuel Vadotdescription:
13*84943d6fSEmmanuel Vadot  The USB picoPHY device is the PHY for both USB2 and USB3 host controllers
14*84943d6fSEmmanuel Vadot  (when controlling usb2/1.1 devices) available on STiH407 SoC family from
15*84943d6fSEmmanuel Vadot  STMicroelectronics.
16*84943d6fSEmmanuel Vadot
17*84943d6fSEmmanuel Vadotproperties:
18*84943d6fSEmmanuel Vadot  compatible:
19*84943d6fSEmmanuel Vadot    const: st,stih407-usb2-phy
20*84943d6fSEmmanuel Vadot
21*84943d6fSEmmanuel Vadot  st,syscfg:
22*84943d6fSEmmanuel Vadot    description: Phandle to the syscfg bank
23*84943d6fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
24*84943d6fSEmmanuel Vadot    items:
25*84943d6fSEmmanuel Vadot      - items:
26*84943d6fSEmmanuel Vadot          - description: phandle to syscfg
27*84943d6fSEmmanuel Vadot          - description: phyparam register offset
28*84943d6fSEmmanuel Vadot          - description: phyctrl register offset
29*84943d6fSEmmanuel Vadot
30*84943d6fSEmmanuel Vadot  resets:
31*84943d6fSEmmanuel Vadot    items:
32*84943d6fSEmmanuel Vadot      - description: Phandle and reset specifier pair for the whole phy.
33*84943d6fSEmmanuel Vadot      - description: Phandle and reset specifier pair for the port.
34*84943d6fSEmmanuel Vadot
35*84943d6fSEmmanuel Vadot  reset-names:
36*84943d6fSEmmanuel Vadot    items:
37*84943d6fSEmmanuel Vadot      - const: global
38*84943d6fSEmmanuel Vadot      - const: port
39*84943d6fSEmmanuel Vadot
40*84943d6fSEmmanuel Vadot  "#phy-cells":
41*84943d6fSEmmanuel Vadot    const: 0
42*84943d6fSEmmanuel Vadot
43*84943d6fSEmmanuel Vadotrequired:
44*84943d6fSEmmanuel Vadot  - compatible
45*84943d6fSEmmanuel Vadot  - st,syscfg
46*84943d6fSEmmanuel Vadot  - resets
47*84943d6fSEmmanuel Vadot  - reset-names
48*84943d6fSEmmanuel Vadot  - "#phy-cells"
49*84943d6fSEmmanuel Vadot
50*84943d6fSEmmanuel VadotadditionalProperties: false
51*84943d6fSEmmanuel Vadot
52*84943d6fSEmmanuel Vadotexamples:
53*84943d6fSEmmanuel Vadot  - |
54*84943d6fSEmmanuel Vadot    #include <dt-bindings/reset/stih407-resets.h>
55*84943d6fSEmmanuel Vadot    usb-phy {
56*84943d6fSEmmanuel Vadot        compatible = "st,stih407-usb2-phy";
57*84943d6fSEmmanuel Vadot        #phy-cells = <0>;
58*84943d6fSEmmanuel Vadot        st,syscfg = <&syscfg_core 0x100 0xf4>;
59*84943d6fSEmmanuel Vadot        resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
60*84943d6fSEmmanuel Vadot                 <&picophyreset STIH407_PICOPHY0_RESET>;
61*84943d6fSEmmanuel Vadot        reset-names = "global", "port";
62*84943d6fSEmmanuel Vadot    };
63*84943d6fSEmmanuel Vadot...
64