new file mode 100644
@@ -0,0 +1,64 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/serial/ni,ni16550.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: NI 16550 asynchronous serial interface (UART)
+
+maintainers:
+ - Brenda Streiff <brenda.streiff@ni.com>
+
+allOf:
+ - $ref: serial.yaml#
+
+properties:
+ compatible:
+ const: ni,ni16550
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ clock-names:
+ items:
+ - const: baudclk
+
+ # legacy clock property; prefer 'clocks' instead
+ clock-frequency: true
+
+ ni,serial-port-mode:
+ description: Indicates whether this is an RS-232 or RS-485 serial port.
+ $ref: /schemas/types.yaml#/definitions/string
+ enum: [ RS-232, RS-485 ]
+ default: RS-485
+
+required:
+ - compatible
+ - reg
+ - interrupts
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ serial@80000000 {
+ compatible = "ni,ni16550";
+ reg = <0x80000000 0x8>;
+ interrupts = <0 30 4>;
+ clock-names = "baudclk";
+ clocks = <&clk_uart>;
+ ni,serial-port-mode = "RS-232";
+ };
+
+ clk_uart: clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <58824000>;
+ };
+...
Add bindings for the NI 16550 UART. Signed-off-by: Brenda Streiff <brenda.streiff@ni.com> Cc: Gratian Crisan <gratian.crisan@ni.com> Cc: Jason Smith <jason.smith@ni.com> --- .../bindings/serial/ni,ni16550.yaml | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/ni,ni16550.yaml