xref: /freebsd/sys/contrib/device-tree/Bindings/phy/cdns,salvo-phy.yaml (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2# Copyright (c) 2020 NXP
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/phy/cdns,salvo-phy.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Cadence SALVO PHY
9
10maintainers:
11  - Peter Chen <peter.chen@nxp.com>
12
13properties:
14  compatible:
15    enum:
16      - nxp,salvo-phy
17
18  reg:
19    maxItems: 1
20
21  clocks:
22    maxItems: 1
23
24  clock-names:
25    items:
26      - const: salvo_phy_clk
27
28  power-domains:
29    maxItems: 1
30
31  "#phy-cells":
32    const: 0
33
34  cdns,usb2-disconnect-threshold-microvolt:
35    description: The microvolt threshold value utilized for detecting
36      USB disconnection event.
37    enum: [575, 610, 645]
38    default: 575
39
40required:
41  - compatible
42  - reg
43  - "#phy-cells"
44
45additionalProperties: false
46
47examples:
48  - |
49    #include <dt-bindings/firmware/imx/rsrc.h>
50
51    usb3phy: usb3-phy@5b160000 {
52        compatible = "nxp,salvo-phy";
53        reg = <0x5b160000 0x40000>;
54        clocks = <&usb3_lpcg 4>;
55        clock-names = "salvo_phy_clk";
56        power-domains = <&pd IMX_SC_R_USB_2_PHY>;
57        #phy-cells = <0>;
58    };
59