# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/ti,am335x-usb-ctrl-module.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TI AM335x USB Control Module

maintainers:
  - Sebastian Andrzej Siewior <bigeasy@linutronix.de>

properties:
  compatible:
    const: ti,am335x-usb-ctrl-module

  reg:
    maxItems: 2

  reg-names:
    items:
      - const: phy_ctrl
      - const: wakeup

required:
  - compatible
  - reg
  - reg-names

additionalProperties: false

examples:
  - |
    control@44e10000 {
        compatible = "ti,am335x-usb-ctrl-module";
        reg = <0x44e10620 0x10>,
              <0x44e10648 0x4>;
        reg-names = "phy_ctrl", "wakeup";
    };