summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial/st,asc.yaml
blob: f2083388f36b4866727ab92c6bfe12c32965fd9b (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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/serial/st,asc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: STMicroelectronics STi SoCs Serial Port

maintainers:
  - Patrice Chotard <patrice.chotard@foss.st.com>

allOf:
  - $ref: serial.yaml#

properties:
  compatible:
    const: st,asc

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  st,hw-flow-ctrl:
    description: When set, enable hardware flow control.
    type: boolean

  st,force-m1:
    description: When set, force asc to be in Mode-1. This is recommended for
      high bit rates above 19.2K.
    type: boolean

required:
  - compatible
  - reg
  - interrupts
  - clocks

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/stih407-clks.h>
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    serial@9830000 {
        compatible = "st,asc";
        reg = <0x9830000 0x2c>;
        interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
    };
...