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

%YAML 1.2
---
$id: http://devicetree.org/schemas/serial/esp,esp32-acm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ESP32S3 ACM gadget controller

maintainers:
  - Max Filippov <jcmvbkbc@gmail.com>

description:
  Fixed function USB CDC-ACM gadget controller of the Espressif ESP32S3 SoC.

allOf:
  - $ref: serial.yaml#

properties:
  compatible:
    const: esp,esp32s3-acm

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts

additionalProperties: false

examples:
  - |
    serial@60038000 {
      compatible = "esp,esp32s3-acm";
      reg = <0x60038000 0x1000>;
      interrupts = <96 3 0>;
    };
