xref: /linux/Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml (revision 8e1bb4a41aa78d6105e59186af3dcd545fc66e70)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2
3%YAML 1.2
4---
5$id: http://devicetree.org/schemas/serial/esp,esp32-uart.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: ESP32xx UART controllers
9
10maintainers:
11  - Max Filippov <jcmvbkbc@gmail.com>
12
13description:
14  ESP32 UART controller is a part of the ESP32 SoC.
15  ESP32S3 UART controller is a part of the ESP32S3 SoC.
16  Both SoCs are produced by Espressif Systems Co. Ltd.
17
18allOf:
19  - $ref: serial.yaml#
20
21properties:
22  compatible:
23    enum:
24      - esp,esp32-uart
25      - esp,esp32s3-uart
26
27  reg:
28    maxItems: 1
29
30  interrupts:
31    maxItems: 1
32
33  clocks:
34    maxItems: 1
35
36required:
37  - compatible
38  - reg
39  - interrupts
40  - clocks
41
42additionalProperties: false
43
44examples:
45  - |
46    serial@60000000 {
47      compatible = "esp,esp32s3-uart";
48      reg = <0x60000000 0x80>;
49      interrupts = <27 1 0>;
50      clocks = <&serial_clk>;
51    };
52