113 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/serial/renesas,scifa.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Renesas Serial Communications Interface with FIFO A (SCIFA)8 9maintainers:10 - Geert Uytterhoeven <geert+renesas@glider.be>11 12allOf:13 - $ref: serial.yaml#14 15properties:16 compatible:17 oneOf:18 - items:19 - enum:20 - renesas,scifa-r8a73a4 # R-Mobile APE621 - renesas,scifa-r8a7740 # R-Mobile A122 - renesas,scifa-sh73a0 # SH-Mobile AG523 - const: renesas,scifa # generic SCIFA compatible UART24 25 - items:26 - enum:27 - renesas,scifa-r8a7742 # RZ/G1H28 - renesas,scifa-r8a7743 # RZ/G1M29 - renesas,scifa-r8a7744 # RZ/G1N30 - renesas,scifa-r8a7745 # RZ/G1E31 - renesas,scifa-r8a7790 # R-Car H232 - renesas,scifa-r8a7791 # R-Car M2-W33 - renesas,scifa-r8a7793 # R-Car M2-N34 - renesas,scifa-r8a7794 # R-Car E235 - const: renesas,rcar-gen2-scifa # R-Car Gen2 and RZ/G136 - const: renesas,scifa # generic SCIFA compatible UART37 38 reg:39 maxItems: 140 41 interrupts:42 maxItems: 143 44 clocks:45 maxItems: 146 47 clock-names:48 enum:49 - fck # UART functional clock50 51 power-domains:52 maxItems: 153 54 resets:55 maxItems: 156 57 dmas:58 minItems: 259 maxItems: 460 description:61 Must contain a list of pairs of references to DMA specifiers, one for62 transmission, and one for reception.63 64 dma-names:65 minItems: 266 maxItems: 467 items:68 enum:69 - tx70 - rx71 72required:73 - compatible74 - reg75 - interrupts76 - clocks77 - clock-names78 - power-domains79 80if:81 properties:82 compatible:83 contains:84 enum:85 - renesas,rcar-gen2-scifa86then:87 required:88 - resets89 90unevaluatedProperties: false91 92examples:93 - |94 #include <dt-bindings/clock/r8a7790-cpg-mssr.h>95 #include <dt-bindings/interrupt-controller/arm-gic.h>96 #include <dt-bindings/power/r8a7790-sysc.h>97 aliases {98 serial0 = &scifa0;99 };100 101 scifa0: serial@e6c40000 {102 compatible = "renesas,scifa-r8a7790", "renesas,rcar-gen2-scifa",103 "renesas,scifa";104 reg = <0xe6c40000 64>;105 interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;106 clocks = <&cpg CPG_MOD 204>;107 clock-names = "fck";108 power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;109 resets = <&cpg 204>;110 dmas = <&dmac0 0x21>, <&dmac0 0x22>, <&dmac1 0x21>, <&dmac1 0x22>;111 dma-names = "tx", "rx", "tx", "rx";112 };113