aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>2020-12-22 00:11:48 +0100
committerGrzegorz Jaszczyk <grzegorz.jaszczyk@linaro.org>2020-12-22 16:29:05 +0100
commit784ce98ed8c50318afcfbd858ef8512a16e1acf2 (patch)
tree90a1087d49354e915b906dd058c23b2f2c0a8042
parent7bbe33297cd960cfdd684acdbbc7e321dfb8facc (diff)
downloadlinux-784ce98ed8c50318afcfbd858ef8512a16e1acf2.tar.gz
TEMP: dt-bindings: serial: add pruss-uart binding
Add example PRU consumer driver binding which references remoteproc/ti,pru-consumer.yaml# Based on: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-5.4.y&id=ea3785c68164a257da3efae50ffb984e697b17fa
-rw-r--r--Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml64
1 files changed, 64 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml b/Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml
new file mode 100644
index 000000000000..f68be7a037a6
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml
@@ -0,0 +1,64 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/serial/ti,pruss-uart.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: TI PRUSS serial UART
+
+maintainers:
+ - Bin Liu <b-liu@ti.com>
+
+description: |
+ The PRU-ICSS module has a serial UART peripheral, which is based on
+ industry standard TL16C550, with 16-bytes TX/RX FIFOs.
+
+allOf:
+ - $ref: /schemas/serial.yaml#
+ - $ref: /schemas/remoteproc/ti,pru-consumer.yaml#
+
+properties:
+ compatible:
+ items:
+ - const: ti,pruss-uart
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+ description: |
+ UART interrupt, which is PRU UART uint System Event id
+
+ ti,prus:
+ maxItems: 1
+
+ firmware-name:
+ maxItems: 1
+
+ ti,pruss-gp-mux-sel:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - interrupt-parent
+ - interrupts
+ # - ti,prus
+
+additionalProperties: false
+
+examples:
+ - |
+ pruss_uart: serial@28000 {
+ compatible = "ti,pruss-uart";
+ reg = <0x28000 0x38>;
+ clocks = <&dpll_per_m2_ck>;
+ interrupt-parent = <&pruss_intc>;
+ interrupts = <6>;
+ ti,prus = <&pru0>;
+ ti,pruss-gp-mux-sel = <7>;
+ };