Debian Codegraph @

Documentation/devicetree/bindings/phy/renesas,rzg3e-usb3-phy.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/phy/renesas,rzg3e-usb3-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Renesas RZ/G3E USB 3.0 PHY
8
9 maintainers:
10 - Biju Das <[email protected]>
11
12 properties:
13 compatible:
14 oneOf:
15 - const: renesas,r9a09g047-usb3-phy # RZ/G3E
16
17 - items:
18 - enum:
19 - renesas,r9a09g056-usb3-phy # RZ/V2N
20 - renesas,r9a09g057-usb3-phy # RZ/V2H(P)
21 - const: renesas,r9a09g047-usb3-phy
22
23 reg:
24 maxItems: 1
25
26 clocks:
27 items:
28 - description: APB bus clock
29 - description: USB 2.0 PHY reference clock
30 - description: USB 3.0 PHY reference clock
31
32 clock-names:
33 items:
34 - const: pclk
35 - const: core
36 - const: ref_alt_clk_p
37
38 power-domains:
39 maxItems: 1
40
41 resets:
42 maxItems: 1
43
44 '#phy-cells':
45 const: 0
46
47 required:
48 - compatible
49 - reg
50 - clocks
51 - clock-names
52 - power-domains
53 - resets
54 - '#phy-cells'
55
56 additionalProperties: false
57
58 examples:
59 - |
60 #include <dt-bindings/clock/renesas,r9a09g047-cpg.h>
61
62 usb-phy@15870000 {
63 compatible = "renesas,r9a09g047-usb3-phy";
64 reg = <0x15870000 0x10000>;
65 clocks = <&cpg CPG_MOD 0xb0>, <&cpg CPG_CORE 13>, <&cpg CPG_CORE 12>;
66 clock-names = "pclk", "core", "ref_alt_clk_p";
67 power-domains = <&cpg>;
68 resets = <&cpg 0xaa>;
69 #phy-cells = <0>;
70 };