xref: /freebsd/sys/contrib/device-tree/Bindings/serial/st,asc.yaml (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1*01950c46SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*01950c46SEmmanuel Vadot%YAML 1.2
3*01950c46SEmmanuel Vadot---
4*01950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/serial/st,asc.yaml#
5*01950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*01950c46SEmmanuel Vadot
7*01950c46SEmmanuel Vadottitle: STMicroelectronics STi SoCs Serial Port
8*01950c46SEmmanuel Vadot
9*01950c46SEmmanuel Vadotmaintainers:
10*01950c46SEmmanuel Vadot  - Patrice Chotard <patrice.chotard@foss.st.com>
11*01950c46SEmmanuel Vadot
12*01950c46SEmmanuel VadotallOf:
13*01950c46SEmmanuel Vadot  - $ref: serial.yaml#
14*01950c46SEmmanuel Vadot
15*01950c46SEmmanuel Vadotproperties:
16*01950c46SEmmanuel Vadot  compatible:
17*01950c46SEmmanuel Vadot    const: st,asc
18*01950c46SEmmanuel Vadot
19*01950c46SEmmanuel Vadot  reg:
20*01950c46SEmmanuel Vadot    maxItems: 1
21*01950c46SEmmanuel Vadot
22*01950c46SEmmanuel Vadot  interrupts:
23*01950c46SEmmanuel Vadot    maxItems: 1
24*01950c46SEmmanuel Vadot
25*01950c46SEmmanuel Vadot  clocks:
26*01950c46SEmmanuel Vadot    maxItems: 1
27*01950c46SEmmanuel Vadot
28*01950c46SEmmanuel Vadot  st,hw-flow-ctrl:
29*01950c46SEmmanuel Vadot    description: When set, enable hardware flow control.
30*01950c46SEmmanuel Vadot    type: boolean
31*01950c46SEmmanuel Vadot
32*01950c46SEmmanuel Vadot  st,force-m1:
33*01950c46SEmmanuel Vadot    description: When set, force asc to be in Mode-1. This is recommended for
34*01950c46SEmmanuel Vadot      high bit rates above 19.2K.
35*01950c46SEmmanuel Vadot    type: boolean
36*01950c46SEmmanuel Vadot
37*01950c46SEmmanuel Vadotrequired:
38*01950c46SEmmanuel Vadot  - compatible
39*01950c46SEmmanuel Vadot  - reg
40*01950c46SEmmanuel Vadot  - interrupts
41*01950c46SEmmanuel Vadot  - clocks
42*01950c46SEmmanuel Vadot
43*01950c46SEmmanuel VadotunevaluatedProperties: false
44*01950c46SEmmanuel Vadot
45*01950c46SEmmanuel Vadotexamples:
46*01950c46SEmmanuel Vadot  - |
47*01950c46SEmmanuel Vadot    #include <dt-bindings/clock/stih407-clks.h>
48*01950c46SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
49*01950c46SEmmanuel Vadot    serial@9830000 {
50*01950c46SEmmanuel Vadot        compatible = "st,asc";
51*01950c46SEmmanuel Vadot        reg = <0x9830000 0x2c>;
52*01950c46SEmmanuel Vadot        interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
53*01950c46SEmmanuel Vadot        clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
54*01950c46SEmmanuel Vadot    };
55*01950c46SEmmanuel Vadot...
56