Commit 7282b8ad authored by Rob Herring (Arm)'s avatar Rob Herring (Arm) Committed by Greg Kroah-Hartman
Browse files

dt-bindings: serial: Convert arm,sbsa-uart to DT schema



Convert the Arm SBSA UART binding to DT schema. It is a straight-forward
conversion.

Signed-off-by: default avatar"Rob Herring (Arm)" <robh@kernel.org>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
Link: https://lore.kernel.org/r/20250506220016.2545637-1-robh@kernel.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6259530c
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
---
$id: http://devicetree.org/schemas/serial/arm,sbsa-uart.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ARM SBSA UART

maintainers:
  - Andre Przywara <andre.przywara@arm.com>

description:
  This UART uses a subset of the PL011 registers and consequently lives in the
  PL011 driver. It's baudrate and other communication parameters cannot be
  adjusted at runtime, so it lacks a clock specifier here.

allOf:
  - $ref: /schemas/serial/serial.yaml#

properties:
  compatible:
    const: arm,sbsa-uart

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  current-speed:
    description: fixed baud rate set by the firmware

required:
  - compatible
  - reg
  - interrupts
  - current-speed

unevaluatedProperties: false
+0 −10
Original line number Diff line number Diff line
* ARM SBSA defined generic UART
This UART uses a subset of the PL011 registers and consequently lives
in the PL011 driver. It's baudrate and other communication parameters
cannot be adjusted at runtime, so it lacks a clock specifier here.

Required properties:
- compatible: must be "arm,sbsa-uart"
- reg: exactly one register range
- interrupts: exactly one interrupt specifier
- current-speed: the (fixed) baud rate set by the firmware