Microchip USB2514 Hub Controller
Schema identifier ($id): "http://devicetree.org/schemas/usb/microchip,usb2514.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"usb424,2412","usb424,2417","usb424,2514","usb424,2517"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"usb424,2514"
reg — required here #
true — No constraints added by this property rule.
reset-gpios — not listed as required here #
GPIO connected to the RESET_N pin.
vdd-supply — not listed as required here #
3.3V power supply.
vdda-supply — not listed as required here #
3.3V analog power supply.
clocks — not listed as required here #
External 24MHz clock connected to the CLKIN pin.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties matching a name pattern (patternProperties) #
^.*@[0-9a-f]{1,2}$ — name matches this regular expression #
The hard wired USB devices
Value type (type): "object"
Shared schema rule ($ref): /schemas/usb/usb-device.yaml
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):usb-device.yaml#
Rule 2 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"usb424,2514"When the condition matches (
then) #Properties and child nodes (
properties)
vdda-supply— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/gpio/gpio.h>
usb {
#address-cells = <1>;
#size-cells = <0>;
usb-hub@1 {
compatible = "usb424,2514";
reg = <1>;
clocks = <&clks IMX6QDL_CLK_CKO>;
reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
vdd-supply = <®_3v3_hub>;
vdda-supply = <®_3v3a_hub>;
#address-cells = <1>;
#size-cells = <0>;
ethernet@1 {
compatible = "usbb95,772b";
reg = <1>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause