xref: /linux/Documentation/devicetree/bindings/serial/renesas,scifb.yaml (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1384d00faSGeert Uytterhoeven# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2384d00faSGeert Uytterhoeven%YAML 1.2
3384d00faSGeert Uytterhoeven---
4cb95de8dSRob Herring$id: http://devicetree.org/schemas/serial/renesas,scifb.yaml#
5cb95de8dSRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
6384d00faSGeert Uytterhoeven
7384d00faSGeert Uytterhoeventitle: Renesas Serial Communications Interface with FIFO B (SCIFB)
8384d00faSGeert Uytterhoeven
9384d00faSGeert Uytterhoevenmaintainers:
10384d00faSGeert Uytterhoeven  - Geert Uytterhoeven <geert+renesas@glider.be>
11384d00faSGeert Uytterhoeven
12384d00faSGeert UytterhoevenallOf:
13384d00faSGeert Uytterhoeven  - $ref: serial.yaml#
14384d00faSGeert Uytterhoeven
15384d00faSGeert Uytterhoevenproperties:
16384d00faSGeert Uytterhoeven  compatible:
17384d00faSGeert Uytterhoeven    oneOf:
18384d00faSGeert Uytterhoeven      - items:
19384d00faSGeert Uytterhoeven          - enum:
20384d00faSGeert Uytterhoeven              - renesas,scifb-r8a73a4      # R-Mobile APE6
21384d00faSGeert Uytterhoeven              - renesas,scifb-r8a7740      # R-Mobile A1
22384d00faSGeert Uytterhoeven              - renesas,scifb-sh73a0       # SH-Mobile AG5
23384d00faSGeert Uytterhoeven          - const: renesas,scifb           # generic SCIFB compatible UART
24384d00faSGeert Uytterhoeven
25384d00faSGeert Uytterhoeven      - items:
26384d00faSGeert Uytterhoeven          - enum:
273cf1601aSLad Prabhakar              - renesas,scifb-r8a7742      # RZ/G1H
28384d00faSGeert Uytterhoeven              - renesas,scifb-r8a7743      # RZ/G1M
29384d00faSGeert Uytterhoeven              - renesas,scifb-r8a7744      # RZ/G1N
30384d00faSGeert Uytterhoeven              - renesas,scifb-r8a7745      # RZ/G1E
31384d00faSGeert Uytterhoeven              - renesas,scifb-r8a7790      # R-Car H2
32384d00faSGeert Uytterhoeven              - renesas,scifb-r8a7791      # R-Car M2-W
33384d00faSGeert Uytterhoeven              - renesas,scifb-r8a7793      # R-Car M2-N
34384d00faSGeert Uytterhoeven              - renesas,scifb-r8a7794      # R-Car E2
35384d00faSGeert Uytterhoeven          - const: renesas,rcar-gen2-scifb # R-Car Gen2 and RZ/G1
36384d00faSGeert Uytterhoeven          - const: renesas,scifb           # generic SCIFB compatible UART
37384d00faSGeert Uytterhoeven
38384d00faSGeert Uytterhoeven  reg:
39384d00faSGeert Uytterhoeven    maxItems: 1
40384d00faSGeert Uytterhoeven
41384d00faSGeert Uytterhoeven  interrupts:
42384d00faSGeert Uytterhoeven    maxItems: 1
43384d00faSGeert Uytterhoeven
44384d00faSGeert Uytterhoeven  clocks:
45384d00faSGeert Uytterhoeven    maxItems: 1
46384d00faSGeert Uytterhoeven
47384d00faSGeert Uytterhoeven  clock-names:
48384d00faSGeert Uytterhoeven    enum:
49384d00faSGeert Uytterhoeven      - fck # UART functional clock
50384d00faSGeert Uytterhoeven
51384d00faSGeert Uytterhoeven  power-domains:
52384d00faSGeert Uytterhoeven    maxItems: 1
53384d00faSGeert Uytterhoeven
54384d00faSGeert Uytterhoeven  resets:
55384d00faSGeert Uytterhoeven    maxItems: 1
56384d00faSGeert Uytterhoeven
57384d00faSGeert Uytterhoeven  dmas:
580499220dSRob Herring    minItems: 2
590499220dSRob Herring    maxItems: 4
60384d00faSGeert Uytterhoeven    description:
61384d00faSGeert Uytterhoeven      Must contain a list of pairs of references to DMA specifiers, one for
62384d00faSGeert Uytterhoeven      transmission, and one for reception.
63384d00faSGeert Uytterhoeven
64384d00faSGeert Uytterhoeven  dma-names:
65384d00faSGeert Uytterhoeven    minItems: 2
66384d00faSGeert Uytterhoeven    maxItems: 4
67384d00faSGeert Uytterhoeven    items:
68384d00faSGeert Uytterhoeven      enum:
69384d00faSGeert Uytterhoeven        - tx
70384d00faSGeert Uytterhoeven        - rx
71384d00faSGeert Uytterhoeven
72384d00faSGeert Uytterhoevenrequired:
73384d00faSGeert Uytterhoeven  - compatible
74384d00faSGeert Uytterhoeven  - reg
75384d00faSGeert Uytterhoeven  - interrupts
76384d00faSGeert Uytterhoeven  - clocks
77384d00faSGeert Uytterhoeven  - clock-names
78384d00faSGeert Uytterhoeven  - power-domains
79384d00faSGeert Uytterhoeven
80384d00faSGeert Uytterhoevenif:
81384d00faSGeert Uytterhoeven  properties:
82384d00faSGeert Uytterhoeven    compatible:
83384d00faSGeert Uytterhoeven      contains:
84384d00faSGeert Uytterhoeven        enum:
85384d00faSGeert Uytterhoeven          - renesas,rcar-gen2-scifb
86384d00faSGeert Uytterhoeventhen:
87384d00faSGeert Uytterhoeven  required:
88384d00faSGeert Uytterhoeven    - resets
89384d00faSGeert Uytterhoeven
90*22088bbbSKrzysztof KozlowskiunevaluatedProperties: false
91*22088bbbSKrzysztof Kozlowski
92384d00faSGeert Uytterhoevenexamples:
93384d00faSGeert Uytterhoeven  - |
94384d00faSGeert Uytterhoeven    #include <dt-bindings/clock/r8a7740-clock.h>
95384d00faSGeert Uytterhoeven    #include <dt-bindings/interrupt-controller/arm-gic.h>
96384d00faSGeert Uytterhoeven    scifb: serial@e6c30000 {
97384d00faSGeert Uytterhoeven        compatible = "renesas,scifb-r8a7740", "renesas,scifb";
98384d00faSGeert Uytterhoeven        reg = <0xe6c30000 0x100>;
99384d00faSGeert Uytterhoeven        interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
100384d00faSGeert Uytterhoeven        clocks = <&mstp2_clks R8A7740_CLK_SCIFB>;
101384d00faSGeert Uytterhoeven        clock-names = "fck";
102384d00faSGeert Uytterhoeven        power-domains = <&pd_a3sp>;
103384d00faSGeert Uytterhoeven    };
104