Skip to content

Commit 18931af

Browse files
bijudaspH5
authored andcommitted
dt-bindings: reset: Document RZ/G2L USBPHY Control bindings
Add device tree binding document for RZ/G2L USBPHY Control Device. It mainly controls reset and power down of the USB/PHY. Signed-off-by: Biju Das <[email protected]> Reviewed-by: Lad Prabhakar <[email protected]> Reviewed-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philipp Zabel <[email protected]>
1 parent 28edf1d commit 18931af

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/reset/renesas,rzg2l-usbphy-ctrl.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Renesas RZ/G2L USBPHY Control
8+
9+
maintainers:
10+
- Biju Das <[email protected]>
11+
12+
description:
13+
The RZ/G2L USBPHY Control mainly controls reset and power down of the
14+
USB/PHY.
15+
16+
properties:
17+
compatible:
18+
items:
19+
- enum:
20+
- renesas,r9a07g044-usbphy-ctrl # RZ/G2{L,LC}
21+
- const: renesas,rzg2l-usbphy-ctrl
22+
23+
reg:
24+
maxItems: 1
25+
26+
clocks:
27+
maxItems: 1
28+
29+
resets:
30+
maxItems: 1
31+
32+
power-domains:
33+
maxItems: 1
34+
35+
'#reset-cells':
36+
const: 1
37+
description: |
38+
The phandle's argument in the reset specifier is the PHY reset associated
39+
with the USB port.
40+
0 = Port 1 Phy reset
41+
1 = Port 2 Phy reset
42+
43+
required:
44+
- compatible
45+
- reg
46+
- clocks
47+
- resets
48+
- power-domains
49+
- '#reset-cells'
50+
51+
additionalProperties: false
52+
53+
examples:
54+
- |
55+
#include <dt-bindings/clock/r9a07g044-cpg.h>
56+
57+
phyrst: usbphy-ctrl@11c40000 {
58+
compatible = "renesas,r9a07g044-usbphy-ctrl",
59+
"renesas,rzg2l-usbphy-ctrl";
60+
reg = <0x11c40000 0x10000>;
61+
clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>;
62+
resets = <&cpg R9A07G044_USB_PRESETN>;
63+
power-domains = <&cpg>;
64+
#reset-cells = <1>;
65+
};

0 commit comments

Comments
 (0)