linux-loongson/Documentation/devicetree/bindings/serial/snps,arc-uart.yaml
Rob Herring (Arm) 6259530ccd dt-bindings: serial: Convert snps,arc-uart to DT schema
Convert the Synopsys ARC UART binding to DT schema. Drop the "aliases"
portion which is not relevant to this schema.

Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org>
Link: https://lore.kernel.org/r/20250507154909.1602497-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-21 13:36:42 +02:00

52 lines
977 B
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/serial/snps,arc-uart.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Synopsys ARC UART
maintainers:
- Vineet Gupta <vgupta@kernel.org>
description:
Synopsys ARC UART is a non-standard UART used in some of the ARC FPGA boards.
allOf:
- $ref: /schemas/serial/serial.yaml#
properties:
compatible:
const: snps,arc-uart
reg:
maxItems: 1
interrupts:
maxItems: 1
clock-frequency:
description: the input clock frequency for the UART
current-speed:
description: baud rate for UART
required:
- compatible
- reg
- interrupts
- clock-frequency
- current-speed
unevaluatedProperties: false
examples:
- |
serial@c0fc1000 {
compatible = "snps,arc-uart";
reg = <0xc0fc1000 0x100>;
interrupts = <5>;
clock-frequency = <80000000>;
current-speed = <115200>;
};