Renesas USB 3.0 Peripheral controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/renesas,usb3-peri.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,r8a774a1-usb3-peri", "renesas,r8a774b1-usb3-peri", "renesas,r8a774c0-usb3-peri", "renesas,r8a774e1-usb3-peri", "renesas,r8a7795-usb3-peri", "renesas,r8a7796-usb3-peri", "renesas,r8a77961-usb3-peri", "renesas,r8a77965-usb3-peri", "renesas,r8a77990-usb3-peri"

Item 2

Exact value (const): "renesas,rcar-gen3-usb3-peri"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "renesas,r9a09g011-usb3-peri", "renesas,r9a09g055-usb3-peri"

Item 2

Exact value (const): "renesas,rzv2m-usb3-peri"

reg — not listed as required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Main clock

Item 2

Register access clock

clock-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "axi"

Item 2

Exact value (const): "reg"

phys — not listed as required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Exact value (const): "usb"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

resets — not listed as required here #

Maximum number of items (maxItems): 1

usb-role-switch — not listed as required here #

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

Support role switch.

companion — not listed as required here #

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

phandle of a companion.

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

any connector to the data bus of this controller should be modelled using the OF graph bindings specified, if the "usb-role-switch" property is used.

Properties and child nodes (properties) #

port@0 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

High Speed (HS) data bus.

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Super Speed (SS) data bus.

Required in this object (required): "port@0", "port@1"

Required in this object (required): "compatible", "interrupts", "clocks"

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,rzv2m-usb3-peri"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

clock-names — required here

Minimum number of items (minItems): 2

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

When the condition does not match (else) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/r8a774c0-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a774c0-sysc.h>

usb3_peri0: usb@ee020000 {
    compatible = "renesas,r8a774c0-usb3-peri", "renesas,rcar-gen3-usb3-peri";
    reg = <0xee020000 0x400>;
    interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&cpg CPG_MOD 328>;
    companion = <&xhci0>;
    usb-role-switch;

    ports {
        #address-cells = <1>;
        #size-cells = <0>;
        port@0 {
            reg = <0>;
            usb3_hs_ep: endpoint {
                remote-endpoint = <&hs_ep>;
            };
        };
        port@1 {
            reg = <1>;
            usb3_role_switch: endpoint {
                remote-endpoint = <&hd3ss3220_out_ep>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Line 17: RZ/G2M

Line 18: RZ/G2N

Line 19: RZ/G2E

Line 20: RZ/G2H

Line 21: R-Car H3

Line 22: R-Car M3-W

Line 23: R-Car M3-W+

Line 24: R-Car M3-N

Line 25: R-Car E3

Line 30: RZ/V2M

Line 31: RZ/V2MA

Edit this page