TI's AM62 wrapper module for the Synopsys USBSS-DRD controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/ti,am62-usb.yaml#"

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

Maintainers (maintainers): "Aswath Govindraju <a-govindraju@ti.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ti,am62-usb"

reg — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

USB CFG register space

Item 2

USB PHY2 register space

ranges — not listed as required here #

true — No constraints added by this property rule.

power-domains — required here #

PM domain provider node and an args specifier containing the USB ISO device id value. See, Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml

Maximum number of items (maxItems): 1

clocks — required here #

Clock phandle to usb2_refclk

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ref"

ti,vbus-divider — not listed as required here #

Should be present if USB VBUS line is connected to the VBUS pin of the SoC via a 1/3 voltage divider.

Value type (type): "boolean"

ti,syscon-phy-pll-refclk — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

Array item rules (items) #

Item 1

Array item rules (items)

Item 1

Phandle to the SYSCON entry

Item 2

USB phy control register offset within SYSCON

Specifier for conveying frequency of ref clock input, for the operation of USB2PHY.

#address-cells — not listed as required here #

Exact value (const): 2

#size-cells — not listed as required here #

Exact value (const): 2

Properties matching a name pattern (patternProperties) #

^usb@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): snps,dwc3.yaml#

Required child node

Required in this object (required): "compatible", "reg", "power-domains", "clocks", "clock-names", "ti,syscon-phy-pll-refclk"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/soc/ti,sci_pm_domain.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/gpio/gpio.h>

bus {
  #address-cells = <2>;
  #size-cells = <2>;

  usbss1: usb@f910000 {
    compatible = "ti,am62-usb";
    reg = <0x00 0x0f910000 0x00 0x800>,
          <0x00 0x0f918000 0x00 0x400>;
    clocks = <&k3_clks 162 3>;
    clock-names = "ref";
    ti,syscon-phy-pll-refclk = <&wkup_conf 0x4018>;
    power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>;
    #address-cells = <2>;
    #size-cells = <2>;

    usb@31100000 {
      compatible = "snps,dwc3";
      reg = <0x00 0x31100000 0x00 0x50000>;
      interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */
                   <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; /* irq.0 */
      interrupt-names = "host", "peripheral";
      maximum-speed = "high-speed";
      dr_mode = "otg";
    };
  };
};

Source notes #

Annotations retained from the schema source

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

Edit this page