Ingenic JZ47xx USB IP

Schema identifier ($id): "http://devicetree.org/schemas/usb/ingenic,musb.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^usb@.*"

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "ingenic,jz4770-musb", "ingenic,jz4740-musb"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "ingenic,jz4725b-musb"

Item 2

Exact value (const): "ingenic,jz4740-musb"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "udc"

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "mc"

phys — required here #

Maximum number of items (maxItems): 1

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

Value type (type): "boolean"

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts", "interrupt-names", "phys"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/ingenic,jz4740-cgu.h>
usb_phy: usb-phy {
  compatible = "usb-nop-xceiv";
  #phy-cells = <0>;
};

udc: usb@13040000 {
  compatible = "ingenic,jz4740-musb";
  reg = <0x13040000 0x10000>;

  interrupt-parent = <&intc>;
  interrupts = <24>;
  interrupt-names = "mc";

  clocks = <&cgu JZ4740_CLK_UDC>;
  clock-names = "udc";

  phys = <&usb_phy>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page