summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/nxp,ptn3222.yaml
blob: acec5bb2391d72cdd84480207aed1c90c2c1b5f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/nxp,ptn3222.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NXP PTN3222 1-port eUSB2 to USB2 redriver

maintainers:
  - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

properties:
  compatible:
    enum:
      - nxp,ptn3222

  reg:
    maxItems: 1

  "#phy-cells":
    const: 0

  vdd1v8-supply:
    description: power supply (1.8V)

  vdd3v3-supply:
    description: power supply (3.3V)

  reset-gpios: true

required:
  - compatible
  - reg
  - '#phy-cells'

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        redriver@4f {
            compatible = "nxp,ptn3222";
            reg = <0x4f>;
            #phy-cells = <0>;
            vdd3v3-supply = <&vreg_3p3>;
            vdd1v8-supply = <&vreg_1p8>;
            reset-gpios = <&gpio_reset GPIO_ACTIVE_LOW>;
        };
    };
...