From a5427e4e38a22f7e0ced0b7bd6cb16873a2644b7 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Wed, 25 Mar 2020 10:54:42 +0100 Subject: [PATCH] dt-bindings: serial: Document serialN aliases Document the format of aliases referring to UARTs. Signed-off-by: Geert Uytterhoeven Signed-off-by: Rob Herring --- Documentation/devicetree/bindings/serial/serial.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml index dd97ecd..53204d9 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(@.*)?$" -- 2.7.4