| # 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. |
| |
| allow-disable-usb-on-unplug: |
| type: boolean |
| description: | |
| Supports USB controller can be disabled temporarily when USB cable is unplugged |
| and then enabled back when the cable is re-plugged. |
| |
| disable-vbus-detect: |
| type: boolean |
| description: | |
| Nuvoton USBD peripheral supports VBUS detect functionality, but some PCB designs |
| may choose to use mutually exclusive USB-C peripheral for VBUS detection. |
| In this case, the USB controller backed VBUS detect functionality won't work and |
| needs to be disabled. |