xref: /freebsd/sys/contrib/device-tree/Bindings/phy/lantiq,ase-usb2-phy.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*833e5d42SEmmanuel Vadot%YAML 1.2
3*833e5d42SEmmanuel Vadot---
4*833e5d42SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/lantiq,ase-usb2-phy.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Lantiq XWAY SoC RCU USB 1.1/2.0 PHY
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotmaintainers:
10*833e5d42SEmmanuel Vadot  - Hauke Mehrtens <hauke@hauke-m.de>
11*833e5d42SEmmanuel Vadot
12*833e5d42SEmmanuel Vadotdescription:
13*833e5d42SEmmanuel Vadot  This node has to be a sub node of the Lantiq RCU block.
14*833e5d42SEmmanuel Vadot
15*833e5d42SEmmanuel Vadotproperties:
16*833e5d42SEmmanuel Vadot  compatible:
17*833e5d42SEmmanuel Vadot    items:
18*833e5d42SEmmanuel Vadot      - enum:
19*833e5d42SEmmanuel Vadot          - lantiq,ase-usb2-phy
20*833e5d42SEmmanuel Vadot          - lantiq,danube-usb2-phy
21*833e5d42SEmmanuel Vadot          - lantiq,xrx100-usb2-phy
22*833e5d42SEmmanuel Vadot          - lantiq,xrx200-usb2-phy
23*833e5d42SEmmanuel Vadot          - lantiq,xrx300-usb2-phy
24*833e5d42SEmmanuel Vadot
25*833e5d42SEmmanuel Vadot  reg:
26*833e5d42SEmmanuel Vadot    items:
27*833e5d42SEmmanuel Vadot      - description: Offset of the USB PHY configuration register
28*833e5d42SEmmanuel Vadot      - description: Offset of the USB Analog configuration register
29*833e5d42SEmmanuel Vadot
30*833e5d42SEmmanuel Vadot  clocks:
31*833e5d42SEmmanuel Vadot    maxItems: 1
32*833e5d42SEmmanuel Vadot
33*833e5d42SEmmanuel Vadot  clock-names:
34*833e5d42SEmmanuel Vadot    items:
35*833e5d42SEmmanuel Vadot      - const: phy
36*833e5d42SEmmanuel Vadot
37*833e5d42SEmmanuel Vadot  resets:
38*833e5d42SEmmanuel Vadot    minItems: 1
39*833e5d42SEmmanuel Vadot    maxItems: 2
40*833e5d42SEmmanuel Vadot
41*833e5d42SEmmanuel Vadot  reset-names:
42*833e5d42SEmmanuel Vadot    minItems: 1
43*833e5d42SEmmanuel Vadot    items:
44*833e5d42SEmmanuel Vadot      - enum: [ phy, ctrl ]
45*833e5d42SEmmanuel Vadot      - const: ctrl
46*833e5d42SEmmanuel Vadot
47*833e5d42SEmmanuel Vadot  '#phy-cells':
48*833e5d42SEmmanuel Vadot    const: 0
49*833e5d42SEmmanuel Vadot
50*833e5d42SEmmanuel Vadotrequired:
51*833e5d42SEmmanuel Vadot  - compatible
52*833e5d42SEmmanuel Vadot  - reg
53*833e5d42SEmmanuel Vadot  - clocks
54*833e5d42SEmmanuel Vadot  - clock-names
55*833e5d42SEmmanuel Vadot  - resets
56*833e5d42SEmmanuel Vadot  - reset-names
57*833e5d42SEmmanuel Vadot  - '#phy-cells'
58*833e5d42SEmmanuel Vadot
59*833e5d42SEmmanuel VadotadditionalProperties: false
60*833e5d42SEmmanuel Vadot
61*833e5d42SEmmanuel Vadotexamples:
62*833e5d42SEmmanuel Vadot  - |
63*833e5d42SEmmanuel Vadot    usb2-phy@18 {
64*833e5d42SEmmanuel Vadot        compatible = "lantiq,xrx200-usb2-phy";
65*833e5d42SEmmanuel Vadot        reg = <0x18 4>, <0x38 4>;
66*833e5d42SEmmanuel Vadot        clocks = <&pmu 1>;
67*833e5d42SEmmanuel Vadot        clock-names = "phy";
68*833e5d42SEmmanuel Vadot        resets = <&reset1 4 4>, <&reset0 4 4>;
69*833e5d42SEmmanuel Vadot        reset-names = "phy", "ctrl";
70*833e5d42SEmmanuel Vadot        #phy-cells = <0>;
71*833e5d42SEmmanuel Vadot    };
72