USB2 ChipIdea USB controller
Schema identifier ($id): "http://devicetree.org/schemas/usb/ci-hdrc-usb2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Xu Yang <xu.yang_2@nxp.com>", "Peng Fan <peng.fan@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"chipidea,usb2","lsi,zevio-usb","nuvoton,npcm750-udc","nvidia,tegra20-ehci","nvidia,tegra20-udc","nvidia,tegra30-ehci","nvidia,tegra30-udc","nvidia,tegra114-udc","nvidia,tegra124-udc","nxp,s32g2-usb","qcom,ci-hdrc"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"nvidia,tegra114-ehci","nvidia,tegra124-ehci","nvidia,tegra210-ehci"Item 2
Exact value (
const):"nvidia,tegra30-ehci"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"xlnx,zynq-usb-2.20a"Item 2
Exact value (
const):"chipidea,usb2"
Rule 4
Array item rules (
items)Item 1
Item 2
Exact value (
const):"nuvoton,npcm750-udc"
Rule 5
Array item rules (
items)Item 1
Item 2
Exact value (
const):"nxp,s32g2-usb"
clocks — not listed as 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
Maximum number of items (maxItems): 2
operating-points-v2 — not listed as required here #
A phandle to the OPP table containing the performance states.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
phy-select — not listed as required here #
Phandler of TCSR node with two argument that indicate register offset, and phy index
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Array item rules (items) #
Item 1
phandle to TCSR node
Item 2
register offset
Item 3
phy index
nvidia,phy — not listed as required here #
phandle of usb phy that connects to the port. Use "phys" instead.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Deprecated (deprecated): true
nvidia,needs-double-reset — not listed as required here #
Indicates double reset or not.
Value type (type): "boolean"
Deprecated (deprecated): true
ulpi — not listed as required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^phy(-[0-9])?$ — name matches this regular expression
The phy child node for Qcom chips.
Value type (type): "object"
Shared schema rule ($ref): /schemas/phy/qcom,usb-hs-phy.yaml
Required in this object (required): "compatible"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):chipidea,usb2-common.yaml#
Rule 2 #
Shared schema rule (
$ref):usb-hcd.yaml#
Rule 3 #
Shared schema rule (
$ref):usb-drd.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/berlin2.h>
usb@f7ed0000 {
compatible = "chipidea,usb2";
reg = <0xf7ed0000 0x10000>;
interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&chip CLKID_USB0>;
phys = <&usb_phy0>;
phy-names = "usb-phy";
vbus-supply = <®_usb0_vbus>;
itc-setting = <0x4>; /* 4 micro-frames */
/* Incremental burst of unspecified length */
ahb-burst-config = <0x0>;
tx-burst-size-dword = <0x10>; /* 64 bytes */
rx-burst-size-dword = <0x10>;
extcon = <0>, <&usb_id>;
phy-clkgate-delay-us = <400>;
mux-controls = <&usb_switch>;
mux-control-names = "usb_switch";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)