xref: /src/sys/contrib/device-tree/Bindings/phy/st,stih407-usb2-phy.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
11fcc28bcSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
21fcc28bcSEmmanuel Vadot%YAML 1.2
31fcc28bcSEmmanuel Vadot---
41fcc28bcSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/st,stih407-usb2-phy.yaml#
51fcc28bcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
61fcc28bcSEmmanuel Vadot
71fcc28bcSEmmanuel Vadottitle: STMicroelectronics STiH407 USB PHY controller
81fcc28bcSEmmanuel Vadot
91fcc28bcSEmmanuel Vadotmaintainers:
101fcc28bcSEmmanuel Vadot  - Patrice Chotard <patrice.chotard@foss.st.com>
111fcc28bcSEmmanuel Vadot
121fcc28bcSEmmanuel Vadotdescription:
131fcc28bcSEmmanuel Vadot  The USB picoPHY device is the PHY for both USB2 and USB3 host controllers
141fcc28bcSEmmanuel Vadot  (when controlling usb2/1.1 devices) available on STiH407 SoC family from
151fcc28bcSEmmanuel Vadot  STMicroelectronics.
161fcc28bcSEmmanuel Vadot
171fcc28bcSEmmanuel Vadotproperties:
181fcc28bcSEmmanuel Vadot  compatible:
191fcc28bcSEmmanuel Vadot    const: st,stih407-usb2-phy
201fcc28bcSEmmanuel Vadot
211fcc28bcSEmmanuel Vadot  st,syscfg:
221fcc28bcSEmmanuel Vadot    description: Phandle to the syscfg bank
231fcc28bcSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
241fcc28bcSEmmanuel Vadot    items:
251fcc28bcSEmmanuel Vadot      - items:
261fcc28bcSEmmanuel Vadot          - description: phandle to syscfg
271fcc28bcSEmmanuel Vadot          - description: phyparam register offset
281fcc28bcSEmmanuel Vadot          - description: phyctrl register offset
291fcc28bcSEmmanuel Vadot
301fcc28bcSEmmanuel Vadot  resets:
311fcc28bcSEmmanuel Vadot    items:
321fcc28bcSEmmanuel Vadot      - description: Phandle and reset specifier pair for the whole phy.
331fcc28bcSEmmanuel Vadot      - description: Phandle and reset specifier pair for the port.
341fcc28bcSEmmanuel Vadot
351fcc28bcSEmmanuel Vadot  reset-names:
361fcc28bcSEmmanuel Vadot    items:
371fcc28bcSEmmanuel Vadot      - const: global
381fcc28bcSEmmanuel Vadot      - const: port
391fcc28bcSEmmanuel Vadot
401fcc28bcSEmmanuel Vadot  "#phy-cells":
411fcc28bcSEmmanuel Vadot    const: 0
421fcc28bcSEmmanuel Vadot
431fcc28bcSEmmanuel Vadotrequired:
441fcc28bcSEmmanuel Vadot  - compatible
451fcc28bcSEmmanuel Vadot  - st,syscfg
461fcc28bcSEmmanuel Vadot  - resets
471fcc28bcSEmmanuel Vadot  - reset-names
481fcc28bcSEmmanuel Vadot  - "#phy-cells"
491fcc28bcSEmmanuel Vadot
501fcc28bcSEmmanuel VadotadditionalProperties: false
511fcc28bcSEmmanuel Vadot
521fcc28bcSEmmanuel Vadotexamples:
531fcc28bcSEmmanuel Vadot  - |
541fcc28bcSEmmanuel Vadot    #include <dt-bindings/reset/stih407-resets.h>
551fcc28bcSEmmanuel Vadot    usb-phy {
561fcc28bcSEmmanuel Vadot        compatible = "st,stih407-usb2-phy";
571fcc28bcSEmmanuel Vadot        #phy-cells = <0>;
581fcc28bcSEmmanuel Vadot        st,syscfg = <&syscfg_core 0x100 0xf4>;
591fcc28bcSEmmanuel Vadot        resets = <&softreset STIH407_PICOPHY_SOFTRESET>,
601fcc28bcSEmmanuel Vadot                 <&picophyreset STIH407_PICOPHY0_RESET>;
611fcc28bcSEmmanuel Vadot        reset-names = "global", "port";
621fcc28bcSEmmanuel Vadot    };
631fcc28bcSEmmanuel Vadot...
64