xref: /freebsd/sys/contrib/device-tree/Bindings/reset/renesas,rzg2l-usbphy-ctrl.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/reset/renesas,rzg2l-usbphy-ctrl.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7c9ccf3a3SEmmanuel Vadottitle: Renesas RZ/{G2L,V2L} USBPHY Control
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - Biju Das <biju.das.jz@bp.renesas.com>
11354d7675SEmmanuel Vadot
12354d7675SEmmanuel Vadotdescription:
13354d7675SEmmanuel Vadot  The RZ/G2L USBPHY Control mainly controls reset and power down of the
14354d7675SEmmanuel Vadot  USB/PHY.
15354d7675SEmmanuel Vadot
16354d7675SEmmanuel Vadotproperties:
17354d7675SEmmanuel Vadot  compatible:
18354d7675SEmmanuel Vadot    items:
19354d7675SEmmanuel Vadot      - enum:
20*8d13bc63SEmmanuel Vadot          - renesas,r9a07g043-usbphy-ctrl # RZ/G2UL and RZ/Five
21354d7675SEmmanuel Vadot          - renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC}
22c9ccf3a3SEmmanuel Vadot          - renesas,r9a07g054-usbphy-ctrl # RZ/V2L
23354d7675SEmmanuel Vadot      - const: renesas,rzg2l-usbphy-ctrl
24354d7675SEmmanuel Vadot
25354d7675SEmmanuel Vadot  reg:
26354d7675SEmmanuel Vadot    maxItems: 1
27354d7675SEmmanuel Vadot
28354d7675SEmmanuel Vadot  clocks:
29354d7675SEmmanuel Vadot    maxItems: 1
30354d7675SEmmanuel Vadot
31354d7675SEmmanuel Vadot  resets:
32354d7675SEmmanuel Vadot    maxItems: 1
33354d7675SEmmanuel Vadot
34354d7675SEmmanuel Vadot  power-domains:
35354d7675SEmmanuel Vadot    maxItems: 1
36354d7675SEmmanuel Vadot
37354d7675SEmmanuel Vadot  '#reset-cells':
38354d7675SEmmanuel Vadot    const: 1
39354d7675SEmmanuel Vadot    description: |
40354d7675SEmmanuel Vadot      The phandle's argument in the reset specifier is the PHY reset associated
41354d7675SEmmanuel Vadot      with the USB port.
42354d7675SEmmanuel Vadot      0 = Port 1 Phy reset
43354d7675SEmmanuel Vadot      1 = Port 2 Phy reset
44354d7675SEmmanuel Vadot
45354d7675SEmmanuel Vadotrequired:
46354d7675SEmmanuel Vadot  - compatible
47354d7675SEmmanuel Vadot  - reg
48354d7675SEmmanuel Vadot  - clocks
49354d7675SEmmanuel Vadot  - resets
50354d7675SEmmanuel Vadot  - power-domains
51354d7675SEmmanuel Vadot  - '#reset-cells'
52354d7675SEmmanuel Vadot
53354d7675SEmmanuel VadotadditionalProperties: false
54354d7675SEmmanuel Vadot
55354d7675SEmmanuel Vadotexamples:
56354d7675SEmmanuel Vadot  - |
57354d7675SEmmanuel Vadot    #include <dt-bindings/clock/r9a07g044-cpg.h>
58354d7675SEmmanuel Vadot
59354d7675SEmmanuel Vadot    phyrst: usbphy-ctrl@11c40000 {
60354d7675SEmmanuel Vadot        compatible = "renesas,r9a07g044-usbphy-ctrl",
61354d7675SEmmanuel Vadot                     "renesas,rzg2l-usbphy-ctrl";
62354d7675SEmmanuel Vadot        reg = <0x11c40000 0x10000>;
63354d7675SEmmanuel Vadot        clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>;
64354d7675SEmmanuel Vadot        resets = <&cpg R9A07G044_USB_PRESETN>;
65354d7675SEmmanuel Vadot        power-domains = <&cpg>;
66354d7675SEmmanuel Vadot        #reset-cells = <1>;
67354d7675SEmmanuel Vadot    };
68