xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,snps-eusb2-repeater.yaml (revision aa1a8ff2d6dbc51ef058f46f3db5a8bb77967145)
1cb7aa33aSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2cb7aa33aSEmmanuel Vadot%YAML 1.2
3cb7aa33aSEmmanuel Vadot---
4cb7aa33aSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,snps-eusb2-repeater.yaml#
5cb7aa33aSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6cb7aa33aSEmmanuel Vadot
7cb7aa33aSEmmanuel Vadottitle: Qualcomm Synopsis eUSB2 to USB 2.0 repeater
8cb7aa33aSEmmanuel Vadot
9cb7aa33aSEmmanuel Vadotmaintainers:
10cb7aa33aSEmmanuel Vadot  - Abel Vesa <abel.vesa@linaro.org>
11cb7aa33aSEmmanuel Vadot
12cb7aa33aSEmmanuel Vadotdescription:
13cb7aa33aSEmmanuel Vadot  eUSB2 repeater converts between eUSB2 and USB 2.0 signaling levels and
14cb7aa33aSEmmanuel Vadot  allows a eUSB2 PHY to connect to legacy USB 2.0 products
15cb7aa33aSEmmanuel Vadot
16cb7aa33aSEmmanuel Vadotproperties:
17cb7aa33aSEmmanuel Vadot  compatible:
18*aa1a8ff2SEmmanuel Vadot    oneOf:
19*aa1a8ff2SEmmanuel Vadot      - items:
20*aa1a8ff2SEmmanuel Vadot          - enum:
21*aa1a8ff2SEmmanuel Vadot              - qcom,pm7550ba-eusb2-repeater
22*aa1a8ff2SEmmanuel Vadot          - const: qcom,pm8550b-eusb2-repeater
23*aa1a8ff2SEmmanuel Vadot      - const: qcom,pm8550b-eusb2-repeater
24cb7aa33aSEmmanuel Vadot
25cb7aa33aSEmmanuel Vadot  reg:
26cb7aa33aSEmmanuel Vadot    maxItems: 1
27cb7aa33aSEmmanuel Vadot
28cb7aa33aSEmmanuel Vadot  "#phy-cells":
29cb7aa33aSEmmanuel Vadot    const: 0
30cb7aa33aSEmmanuel Vadot
31cb7aa33aSEmmanuel Vadot  vdd18-supply: true
32cb7aa33aSEmmanuel Vadot
33cb7aa33aSEmmanuel Vadot  vdd3-supply: true
34cb7aa33aSEmmanuel Vadot
35cb7aa33aSEmmanuel Vadotrequired:
36cb7aa33aSEmmanuel Vadot  - compatible
37cb7aa33aSEmmanuel Vadot  - reg
38cb7aa33aSEmmanuel Vadot  - "#phy-cells"
39cb7aa33aSEmmanuel Vadot
40cb7aa33aSEmmanuel VadotadditionalProperties: false
41cb7aa33aSEmmanuel Vadot
42cb7aa33aSEmmanuel Vadotexamples:
43cb7aa33aSEmmanuel Vadot  - |
44cb7aa33aSEmmanuel Vadot    #include <dt-bindings/spmi/spmi.h>
45cb7aa33aSEmmanuel Vadot
46cb7aa33aSEmmanuel Vadot    pmic@7 {
47cb7aa33aSEmmanuel Vadot      reg = <0x7 SPMI_USID>;
48cb7aa33aSEmmanuel Vadot      #address-cells = <1>;
49cb7aa33aSEmmanuel Vadot      #size-cells = <0>;
50cb7aa33aSEmmanuel Vadot
51cb7aa33aSEmmanuel Vadot      pm8550b_eusb2_repeater: phy@fd00 {
52cb7aa33aSEmmanuel Vadot        compatible = "qcom,pm8550b-eusb2-repeater";
53cb7aa33aSEmmanuel Vadot        reg = <0xfd00>;
54cb7aa33aSEmmanuel Vadot        #phy-cells = <0>;
55cb7aa33aSEmmanuel Vadot      };
56cb7aa33aSEmmanuel Vadot    };
57cb7aa33aSEmmanuel Vadot...
58