# Copyright (c) 2022 Nuvoton Technology Corporation
# SPDX-License-Identifier: Apache-2.0

description: Nuvoton NuMaker USB 1.1 device controller

compatible: "nuvoton,numaker-usbd"

include: [usb-ep.yaml, reset-device.yaml, pinctrl-device.yaml]

properties:
  reg:
    required: true

  interrupts:
    required: true

  resets:
    required: true

  clocks:
    required: true

  dma-buffer-size:
    type: int
    required: true
    description: |
      Size of DMA buffer in bytes

  disallow-iso-in-out-same-number:
    type: boolean
    description: |
      Some soc series don't allow Isochronous IN/OUT endpoints to be assigned the same numbers,
      for example, 0x82 (for Isochronous IN) and 0x02 (for Isochronous OUT) are disallowed.
