Renesas R-Car generation 3 USB 2.0 PHY

Schema identifier ($id): "http://devicetree.org/schemas/phy/renesas,usb2-phy.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>"

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,usb2-phy-r8a77470", "renesas,usb2-phy-r9a08g045", "renesas,usb2-phy-r9a09g057"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "renesas,usb2-phy-r7s9210", "renesas,usb2-phy-r8a774a1", "renesas,usb2-phy-r8a774b1", "renesas,usb2-phy-r8a774c0", "renesas,usb2-phy-r8a774e1", "renesas,usb2-phy-r8a7795", "renesas,usb2-phy-r8a7796", "renesas,usb2-phy-r8a77961", "renesas,usb2-phy-r8a77965", "renesas,usb2-phy-r8a77990", "renesas,usb2-phy-r8a77995"

Item 2

Exact value (const): "renesas,rcar-gen3-usb2-phy"

Rule 3

Array item rules (items)

Item 1

Allowed values (enum): "renesas,usb2-phy-r9a07g043", "renesas,usb2-phy-r9a07g044", "renesas,usb2-phy-r9a07g054"

Item 2

Exact value (const): "renesas,rzg2l-usb2-phy"

Rule 4

Array item rules (items)

Item 1

Allowed values (enum): "renesas,usb2-phy-r9a09g047", "renesas,usb2-phy-r9a09g056"

Item 2

Exact value (const): "renesas,usb2-phy-r9a09g057"

Rule 5

Exact value (const): "renesas,usb2-phy-r9a09g077"

Rule 6

Array item rules (items)

Item 1

Exact value (const): "renesas,usb2-phy-r9a09g087"

Item 2

Exact value (const): "renesas,usb2-phy-r9a09g077"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "fck"

Item 2

Exact value (const): "usb_x1"

#phy-cells — required here #

Allowed values (enum): 0, 1

The phandle's argument in the PHY specifier is the INT_STATUS bit of controller. - 1 = USBH_INTA (OHCI) - 2 = USBH_INTB (EHCI) - 3 = UCOM_INT (OTG and BC)

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

reset of USB 2.0 host side

Item 2

reset of USB 2.0 peripheral side

vbus-supply — not listed as required here #

Phandle to a regulator that provides power to the VBUS. This regulator will be managed during the PHY power on/off sequence.

vbus-regulator — not listed as required here #

Shared schema rule ($ref): /schemas/regulator/regulator.yaml#

USB VBUS internal regulator

Value type (type): "object"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

renesas,no-otg-pins — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

specify when a board does not provide proper otg pins.

dr_mode — not listed as required here #

true — No constraints added by this property rule.

mux-states — not listed as required here #

phandle to a mux controller node that select the source for USB VBUS.

Maximum number of items (maxItems): 1

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "renesas,usb2-phy-r7s9210"

When the condition matches (then) #

Required in this object (required): "clock-names"

Required in this object (required): "compatible", "reg", "clocks", "#phy-cells"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "renesas,usb2-phy-r9a09g057", "renesas,usb2-phy-r9a08g045", "renesas,rzg2l-usb2-phy"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Required in this object (required): "resets"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "renesas,usb2-phy-r9a09g077"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

resets — 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/r8a7795-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>

usb-phy@ee080200 {
    compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
    reg = <0xee080200 0x700>;
    interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_MOD 703>;
    #phy-cells = <1>;
};

usb-phy@ee0a0200 {
    compatible = "renesas,usb2-phy-r8a7795", "renesas,rcar-gen3-usb2-phy";
    reg = <0xee0a0200 0x700>;
    clocks = <&cpg CPG_MOD 702>;
    #phy-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 17: RZ/G1C

Line 18: RZ/G3S

Line 19: RZ/V2H(P)

Line 23: RZ/A2

Line 24: RZ/G2M

Line 25: RZ/G2N

Line 26: RZ/G2E

Line 27: RZ/G2H

Line 28: R-Car H3

Line 29: R-Car M3-W

Line 30: R-Car M3-W+

Line 31: R-Car M3-N

Line 32: R-Car E3

Line 33: R-Car D3

Line 38: RZ/G2UL

Line 39: RZ/G2{L,LC}

Line 40: RZ/V2L

Line 45: RZ/G3E

Line 46: RZ/V2N

Line 49: RZ/T2H

Line 52: RZ/N2H

Line 69: and 0 is deprecated.

Edit this page