aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/serial/ti,pruss-uart.yaml
blob: 68ff66b8385bf66cc3494bd3a6d93280cf687f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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>;
    };