Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: serial: document esp32-uart

Add documentation for the ESP32xx UART controllers.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231010085926.1021667-3-jcmvbkbc@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Max Filippov and committed by
Greg Kroah-Hartman
99508020 23bf72fa

+51
+51
Documentation/devicetree/bindings/serial/esp,esp32-uart.yaml
··· 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 + 8 + title: ESP32xx UART controllers 9 + 10 + maintainers: 11 + - Max Filippov <jcmvbkbc@gmail.com> 12 + 13 + description: 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 + 18 + allOf: 19 + - $ref: serial.yaml# 20 + 21 + properties: 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 + 36 + required: 37 + - compatible 38 + - reg 39 + - interrupts 40 + - clocks 41 + 42 + additionalProperties: false 43 + 44 + examples: 45 + - | 46 + serial@60000000 { 47 + compatible = "esp,esp32s3-uart"; 48 + reg = <0x60000000 0x80>; 49 + interrupts = <27 1 0>; 50 + clocks = <&serial_clk>; 51 + };