Renesas USB xHCI controllers
Schema identifier ($id): "http://devicetree.org/schemas/usb/renesas,usb-xhci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>", "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,xhci-r8a7742","renesas,xhci-r8a7743","renesas,xhci-r8a7744","renesas,xhci-r8a7790","renesas,xhci-r8a7791","renesas,xhci-r8a7793"Item 2
Exact value (
const):"renesas,rcar-gen2-xhci"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,xhci-r8a774a1","renesas,xhci-r8a774b1","renesas,xhci-r8a774c0","renesas,xhci-r8a774e1","renesas,xhci-r8a7795","renesas,xhci-r8a7796","renesas,xhci-r8a77961","renesas,xhci-r8a77965","renesas,xhci-r8a77990"Item 2
Exact value (
const):"renesas,rcar-gen3-xhci"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a09g011-xhci","renesas,r9a09g055-xhci"Item 2
Exact value (
const):"renesas,rzv2m-xhci"
reg — 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 for host
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 #
Array item rules (items) #
Item 1
Exact value (
const):"usb"
power-domains — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "power-domains", "resets"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):usb-xhci.yaml
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
clock-names— required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
Properties not evaluated by applicable rules (unevaluatedProperties) #
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>
xhci0: usb@ee000000 {
compatible = "renesas,xhci-r8a7795", "renesas,rcar-gen3-xhci";
reg = <0xee000000 0xc00>;
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 328>;
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
resets = <&cpg 328>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 18: RZ/G1H
Line 19: RZ/G1M
Line 20: RZ/G1N
Line 21: R-Car H2
Line 22: R-Car M2-W
Line 23: R-Car M2-N
Line 24: R-Car Gen2 and RZ/G1
Line 27: RZ/G2M
Line 28: RZ/G2N
Line 29: RZ/G2E
Line 30: RZ/G2H
Line 31: R-Car H3
Line 32: R-Car M3-W
Line 33: R-Car M3-W+
Line 34: R-Car M3-N
Line 35: R-Car E3
Line 36: R-Car Gen3 and RZ/G2
Line 39: RZ/V2M
Line 40: RZ/V2MA
Line 41: RZ/{V2M, V2MA}