mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

Convert the Conexant Digicolor USART binding to DT schema. It is a straight-forward conversion. Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org> Acked-by: Baruch Siach <baruch@tkos.co.il> Link: https://lore.kernel.org/r/20250506220025.2545995-1-robh@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
49 lines
955 B
YAML
49 lines
955 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/serial/cnxt,cx92755-usart.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Conexant Digicolor USART
|
|
|
|
maintainers:
|
|
- Baruch Siach <baruch@tkos.co.il>
|
|
|
|
description: >
|
|
Note: this binding is only applicable for using the USART peripheral as UART.
|
|
USART also support synchronous serial protocols like SPI and I2S.
|
|
Use the binding that matches the wiring of your system.
|
|
|
|
allOf:
|
|
- $ref: /schemas/serial/serial.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: cnxt,cx92755-usart
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
clocks:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- interrupts
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
serial@f0000740 {
|
|
compatible = "cnxt,cx92755-usart";
|
|
reg = <0xf0000740 0x20>;
|
|
clocks = <&main_clk>;
|
|
interrupts = <44>;
|
|
};
|