xref: /freebsd/sys/contrib/device-tree/Bindings/reset/renesas,rzv2h-usb2phy-reset.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1ae5de77eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2ae5de77eSEmmanuel Vadot%YAML 1.2
3ae5de77eSEmmanuel Vadot---
4ae5de77eSEmmanuel Vadot$id: http://devicetree.org/schemas/reset/renesas,rzv2h-usb2phy-reset.yaml#
5ae5de77eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6ae5de77eSEmmanuel Vadot
7ae5de77eSEmmanuel Vadottitle: Renesas RZ/V2H(P) USB2PHY Port reset Control
8ae5de77eSEmmanuel Vadot
9ae5de77eSEmmanuel Vadotmaintainers:
10ae5de77eSEmmanuel Vadot  - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
11ae5de77eSEmmanuel Vadot
12ae5de77eSEmmanuel Vadotdescription:
13ae5de77eSEmmanuel Vadot  The RZ/V2H(P) USB2PHY Control mainly controls Port reset and power down of the
14ae5de77eSEmmanuel Vadot  USB2.0 PHY.
15ae5de77eSEmmanuel Vadot
16ae5de77eSEmmanuel Vadotproperties:
17ae5de77eSEmmanuel Vadot  compatible:
18*833e5d42SEmmanuel Vadot    oneOf:
19*833e5d42SEmmanuel Vadot      - items:
20*833e5d42SEmmanuel Vadot          - const: renesas,r9a09g056-usb2phy-reset # RZ/V2N
21*833e5d42SEmmanuel Vadot          - const: renesas,r9a09g057-usb2phy-reset
22*833e5d42SEmmanuel Vadot
23*833e5d42SEmmanuel Vadot      - const: renesas,r9a09g057-usb2phy-reset # RZ/V2H(P)
24ae5de77eSEmmanuel Vadot
25ae5de77eSEmmanuel Vadot  reg:
26ae5de77eSEmmanuel Vadot    maxItems: 1
27ae5de77eSEmmanuel Vadot
28ae5de77eSEmmanuel Vadot  clocks:
29ae5de77eSEmmanuel Vadot    maxItems: 1
30ae5de77eSEmmanuel Vadot
31ae5de77eSEmmanuel Vadot  resets:
32ae5de77eSEmmanuel Vadot    maxItems: 1
33ae5de77eSEmmanuel Vadot
34ae5de77eSEmmanuel Vadot  power-domains:
35ae5de77eSEmmanuel Vadot    maxItems: 1
36ae5de77eSEmmanuel Vadot
37ae5de77eSEmmanuel Vadot  '#reset-cells':
38ae5de77eSEmmanuel Vadot    const: 0
39ae5de77eSEmmanuel Vadot
40ae5de77eSEmmanuel Vadotrequired:
41ae5de77eSEmmanuel Vadot  - compatible
42ae5de77eSEmmanuel Vadot  - reg
43ae5de77eSEmmanuel Vadot  - clocks
44ae5de77eSEmmanuel Vadot  - resets
45ae5de77eSEmmanuel Vadot  - power-domains
46ae5de77eSEmmanuel Vadot  - '#reset-cells'
47ae5de77eSEmmanuel Vadot
48ae5de77eSEmmanuel VadotadditionalProperties: false
49ae5de77eSEmmanuel Vadot
50ae5de77eSEmmanuel Vadotexamples:
51ae5de77eSEmmanuel Vadot  - |
52ae5de77eSEmmanuel Vadot    #include <dt-bindings/clock/renesas,r9a09g057-cpg.h>
53ae5de77eSEmmanuel Vadot
54ae5de77eSEmmanuel Vadot    reset-controller@15830000 {
55ae5de77eSEmmanuel Vadot        compatible = "renesas,r9a09g057-usb2phy-reset";
56ae5de77eSEmmanuel Vadot        reg = <0x15830000 0x10000>;
57ae5de77eSEmmanuel Vadot        clocks = <&cpg CPG_MOD 0xb6>;
58ae5de77eSEmmanuel Vadot        resets = <&cpg 0xaf>;
59ae5de77eSEmmanuel Vadot        power-domains = <&cpg>;
60ae5de77eSEmmanuel Vadot        #reset-cells = <0>;
61ae5de77eSEmmanuel Vadot    };
62