Renesas RZ/{G2L,V2L} USBPHY Control
Schema identifier ($id): "http://devicetree.org/schemas/reset/renesas,rzg2l-usbphy-ctrl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Biju Das <biju.das.jz@bp.renesas.com>"
The RZ/G2L USBPHY Control mainly controls reset and power down of the USB/PHY.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a07g043-usbphy-ctrl","renesas,r9a07g044-usbphy-ctrl","renesas,r9a07g054-usbphy-ctrl"Item 2
Exact value (
const):"renesas,rzg2l-usbphy-ctrl"
Rule 2
Exact value (
const):"renesas,r9a08g045-usbphy-ctrl"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
power-domains — required here #
Maximum number of items (maxItems): 1
#reset-cells — required here #
Exact value (const): 1
The phandle's argument in the reset specifier is the PHY reset associated with the USB port. 0 = Port 1 Phy reset 1 = Port 2 Phy reset
regulator-vbus — required here #
Value type (type): "object"
USB VBUS regulator
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
renesas,sysc-pwrrdy — not listed as required here #
The system controller PWRRDY indicates to the USB PHY if the power supply is ready. PWRRDY needs to be set during power-on before applying any other settings. It also needs to be set before powering off the USB.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
Array item rules (
items)Item 1
System controller phandle required by USB PHY CTRL driver to set PWRRDY
Item 2
Register offset associated with PWRRDY
Item 3
Register bitmask associated with PWRRDY
Required in this object (required): "compatible", "reg", "clocks", "resets", "power-domains", "#reset-cells", "regulator-vbus"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a08g045-usbphy-ctrl"When the condition matches (
then) #When the condition does not match (
else) #Properties and child nodes (
properties)
renesas,sysc-pwrrdy— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r9a07g044-cpg.h>
phyrst: usbphy-ctrl@11c40000 {
compatible = "renesas,r9a07g044-usbphy-ctrl",
"renesas,rzg2l-usbphy-ctrl";
reg = <0x11c40000 0x10000>;
clocks = <&cpg CPG_MOD R9A07G044_USB_PCLK>;
resets = <&cpg R9A07G044_USB_PRESETN>;
power-domains = <&cpg>;
#reset-cells = <1>;
regulator-vbus {
regulator-name = "vbus";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 21: RZ/G2UL and RZ/Five
Line 22: RZ/G2{L,LC}
Line 23: RZ/V2L
Line 25: RZ/G3S