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

dt-bindings: serial: document LiteUART bindings

Add documentation for LiteUART devicetree bindings.

Signed-off-by: Filip Kokosinski <fkokosinski@antmicro.com>
Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>

authored by

Filip Kokosinski and committed by
Stafford Horne
79c5ef07 22447a99

+38
+38
Documentation/devicetree/bindings/serial/litex,liteuart.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/litex,liteuart.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: LiteUART serial controller 9 + 10 + maintainers: 11 + - Karol Gugala <kgugala@antmicro.com> 12 + - Mateusz Holenko <mholenko@antmicro.com> 13 + 14 + description: | 15 + LiteUART serial controller is a part of the LiteX FPGA SoC builder. It supports 16 + multiple CPU architectures, currently including e.g. OpenRISC and RISC-V. 17 + 18 + properties: 19 + compatible: 20 + const: litex,liteuart 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + interrupts: 26 + maxItems: 1 27 + 28 + required: 29 + - compatible 30 + - reg 31 + 32 + examples: 33 + - | 34 + uart0: serial@e0001800 { 35 + compatible = "litex,liteuart"; 36 + reg = <0xe0001800 0x100>; 37 + interrupts = <2>; 38 + };