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

Configure Feed

Select the types of activity you want to include in your feed.

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

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

Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20250506220012.2545470-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Rob Herring (Arm) and committed by
Greg Kroah-Hartman
1dd62443 30b3aeca

+46 -19
-19
Documentation/devicetree/bindings/serial/arm,mps2-uart.txt
··· 1 - ARM MPS2 UART 2 - 3 - Required properties: 4 - - compatible : Should be "arm,mps2-uart" 5 - - reg : Address and length of the register set 6 - - interrupts : Reference to the UART RX, TX and overrun interrupts 7 - 8 - Required clocking property: 9 - - clocks : The input clock of the UART 10 - 11 - 12 - Examples: 13 - 14 - uart0: serial@40004000 { 15 - compatible = "arm,mps2-uart"; 16 - reg = <0x40004000 0x1000>; 17 - interrupts = <0 1 12>; 18 - clocks = <&sysclk>; 19 - };
+46
Documentation/devicetree/bindings/serial/arm,mps2-uart.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/serial/arm,mps2-uart.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Arm MPS2 UART 8 + 9 + maintainers: 10 + - Vladimir Murzin <vladimir.murzin@arm.com> 11 + 12 + allOf: 13 + - $ref: /schemas/serial/serial.yaml# 14 + 15 + properties: 16 + compatible: 17 + const: arm,mps2-uart 18 + 19 + reg: 20 + maxItems: 1 21 + 22 + interrupts: 23 + items: 24 + - description: RX interrupt 25 + - description: TX interrupt 26 + - description: Overrun interrupt 27 + 28 + clocks: 29 + maxItems: 1 30 + 31 + required: 32 + - compatible 33 + - reg 34 + - interrupts 35 + - clocks 36 + 37 + unevaluatedProperties: false 38 + 39 + examples: 40 + - | 41 + serial@40004000 { 42 + compatible = "arm,mps2-uart"; 43 + reg = <0x40004000 0x1000>; 44 + interrupts = <0>, <1>, <12>; 45 + clocks = <&sysclk>; 46 + };