diff options
author | Filip Kokosinski <fkokosinski@antmicro.com> | 2020-10-13 16:46:05 +0200 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2020-11-09 13:07:00 +0100 |
commit | 79c5ef07d91eee6832bebd98f775a06ed7dd2151 (patch) | |
tree | 464da9a1d2e680f30ec32ec8235577edaa22d4c4 /Documentation | |
parent | drivers/soc/litex: add LiteX SoC Controller driver (diff) | |
download | linux-79c5ef07d91eee6832bebd98f775a06ed7dd2151.tar.xz linux-79c5ef07d91eee6832bebd98f775a06ed7dd2151.zip |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/serial/litex,liteuart.yaml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/litex,liteuart.yaml b/Documentation/devicetree/bindings/serial/litex,liteuart.yaml new file mode 100644 index 000000000000..bc79b3cca542 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/litex,liteuart.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/serial/litex,liteuart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LiteUART serial controller + +maintainers: + - Karol Gugala <kgugala@antmicro.com> + - Mateusz Holenko <mholenko@antmicro.com> + +description: | + LiteUART serial controller is a part of the LiteX FPGA SoC builder. It supports + multiple CPU architectures, currently including e.g. OpenRISC and RISC-V. + +properties: + compatible: + const: litex,liteuart + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + uart0: serial@e0001800 { + compatible = "litex,liteuart"; + reg = <0xe0001800 0x100>; + interrupts = <2>; + }; |