Renesas USBHS (HS-USB) controller
Schema identifier ($id): "http://devicetree.org/schemas/usb/renesas,usbhs.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
Exact value (
const):"renesas,usbhs-r7s72100"Item 2
Exact value (
const):"renesas,rza1-usbhs"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"renesas,rza2-usbhs"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,usbhs-r9a07g043","renesas,usbhs-r9a07g044","renesas,usbhs-r9a07g054","renesas,usbhs-r9a08g045","renesas,usbhs-r9a09g047","renesas,usbhs-r9a09g056","renesas,usbhs-r9a09g057"Item 2
Exact value (
const):"renesas,rzg2l-usbhs"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,usbhs-r8a7742","renesas,usbhs-r8a7743","renesas,usbhs-r8a7744","renesas,usbhs-r8a7745","renesas,usbhs-r8a77470","renesas,usbhs-r8a7790","renesas,usbhs-r8a7791","renesas,usbhs-r8a7792","renesas,usbhs-r8a7793","renesas,usbhs-r8a7794"Item 2
Exact value (
const):"renesas,rcar-gen2-usbhs"
Rule 5
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,usbhs-r8a774a1","renesas,usbhs-r8a774b1","renesas,usbhs-r8a774c0","renesas,usbhs-r8a774e1","renesas,usbhs-r8a7795","renesas,usbhs-r8a7796","renesas,usbhs-r8a77961","renesas,usbhs-r8a77965","renesas,usbhs-r8a77990","renesas,usbhs-r8a77995"Item 2
Exact value (
const):"renesas,rcar-gen3-usbhs"
Rule 6
Exact value (
const):"renesas,usbhs-r9a09g077"
Rule 7
Array item rules (
items)Item 1
Exact value (
const):"renesas,usbhs-r9a09g087"Item 2
Exact value (
const):"renesas,usbhs-r9a09g077"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
USB 2.0 host
Item 2
USB 2.0 peripheral
Item 3
USB 2.0 clock selector
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
renesas,buswait — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Integer to use BUSWAIT register.
renesas,enable-gpio — not listed as required here #
Deprecated (deprecated): true
Maximum number of items (maxItems): 1
renesas,enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
gpio specifier to check GPIO determining if USB function should be enabled.
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"
dmas — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
dma-names — not listed as required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
Exact value (
const):"ch0"
Item 2
Exact value (
const):"ch1"
Item 3
Exact value (
const):"ch2"
Item 4
Exact value (
const):"ch3"
dr_mode — not listed as required here #
true — No constraints added by this property rule.
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
USB 2.0 host
Item 2
USB 2.0 peripheral
Required in this object (required): "compatible", "reg", "clocks", "interrupts"
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,rzg2l-usbhs"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereArray item rules (
items)Item 1
U2P_IXL_INT
Item 2
U2P_INT_DMA[0]
Item 3
U2P_INT_DMA[1]
Item 4
U2P_INT_DMAERR
When the condition does not match (
else) #Condition (
if)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,usbhs-r9a09g077"When the condition matches (
then)Properties and child nodes (
properties)
resets— not listed as required here
false— Not permitted by this property rule.
clocks— not listed as required hereMaximum number of items (
maxItems):1
interrupts— not listed as required hereArray item rules (
items)Item 1
USB function interrupt USB_FI
Item 2
USB function DMA0 transmit completion interrupt USB_FDMA0
Item 3
USB function DMA1 transmit completion interrupt USB_FDMA1
When the condition does not match (
else)Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum 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/r8a7790-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7790-sysc.h>
usbhs: usb@e6590000 {
compatible = "renesas,usbhs-r8a7790", "renesas,rcar-gen2-usbhs";
reg = <0xe6590000 0x100>;
interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 704>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only
Line 16: RZ/A1
Line 21: RZ/A2
Line 26: RZ/G2UL and RZ/Five
Line 27: RZ/G2{L,LC}
Line 28: RZ/V2L
Line 29: RZ/G3S
Line 30: RZ/G3E
Line 31: RZ/V2N
Line 32: RZ/V2H(P)
Line 37: RZ/G1H
Line 38: RZ/G1M
Line 39: RZ/G1N
Line 40: RZ/G1E
Line 41: RZ/G1C
Line 42: R-Car H2
Line 43: R-Car M2-W
Line 44: R-Car V2H
Line 45: R-Car M2-N
Line 46: R-Car E2
Line 51: RZ/G2M
Line 52: RZ/G2N
Line 53: RZ/G2E
Line 54: RZ/G2H
Line 55: R-Car H3
Line 56: R-Car M3-W
Line 57: R-Car M3-W+
Line 58: R-Car M3-N
Line 59: R-Car E3
Line 60: R-Car D3
Line 63: RZ/T2H
Line 66: RZ/N2H
Line 67: RZ/T2H