summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-03-25 12:54:42 +0300
committerRob Herring <robh@kernel.org>2020-04-01 00:25:44 +0300
commita5427e4e38a22f7e0ced0b7bd6cb16873a2644b7 (patch)
tree833cfda8f4a59d16b040e875609445bf53a913d8
parent27f747b12313d0ec1823c68f0ff2a369d77ec2f0 (diff)
downloadlinux-a5427e4e38a22f7e0ced0b7bd6cb16873a2644b7.tar.xz
dt-bindings: serial: Document serialN aliases
Document the format of aliases referring to UARTs. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rob Herring <robh@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/serial/serial.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml
index dd97ecd1a7fe..53204d90d0c7 100644
--- a/Documentation/devicetree/bindings/serial/serial.yaml
+++ b/Documentation/devicetree/bindings/serial/serial.yaml
@@ -15,6 +15,10 @@ description:
device tree. Whether these properties apply to a particular device depends
on the DT bindings for the actual device.
+ Each enabled UART may have an optional "serialN" alias in the "aliases" node,
+ where N is the port number (non-negative decimal integer) as printed on the
+ label next to the physical port.
+
properties:
$nodename:
pattern: "^serial(@.*)?$"