1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/serial/rene 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: Renesas High Speed Serial Communication 8 9 maintainers: 10 - Geert Uytterhoeven <geert+renesas@glider.be 11 12 allOf: 13 - $ref: serial.yaml# 14 15 properties: 16 compatible: 17 oneOf: 18 - items: 19 - enum: 20 - renesas,hscif-r8a7778 # R 21 - renesas,hscif-r8a7779 # R 22 - const: renesas,rcar-gen1-hscif # R 23 - const: renesas,hscif # g 24 25 - items: 26 - enum: 27 - renesas,hscif-r8a7742 # R 28 - renesas,hscif-r8a7743 # R 29 - renesas,hscif-r8a7744 # R 30 - renesas,hscif-r8a7745 # R 31 - renesas,hscif-r8a77470 # R 32 - renesas,hscif-r8a7790 # R 33 - renesas,hscif-r8a7791 # R 34 - renesas,hscif-r8a7792 # R 35 - renesas,hscif-r8a7793 # R 36 - renesas,hscif-r8a7794 # R 37 - const: renesas,rcar-gen2-hscif # R 38 - const: renesas,hscif # g 39 40 - items: 41 - enum: 42 - renesas,hscif-r8a774a1 # R 43 - renesas,hscif-r8a774b1 # R 44 - renesas,hscif-r8a774c0 # R 45 - renesas,hscif-r8a774e1 # R 46 - renesas,hscif-r8a7795 # R 47 - renesas,hscif-r8a7796 # R 48 - renesas,hscif-r8a77961 # R 49 - renesas,hscif-r8a77965 # R 50 - renesas,hscif-r8a77970 # R 51 - renesas,hscif-r8a77980 # R 52 - renesas,hscif-r8a77990 # R 53 - renesas,hscif-r8a77995 # R 54 - const: renesas,rcar-gen3-hscif # R 55 - const: renesas,hscif # g 56 57 - items: 58 - enum: 59 - renesas,hscif-r8a779a0 # R 60 - renesas,hscif-r8a779f0 # R 61 - renesas,hscif-r8a779g0 # R 62 - renesas,hscif-r8a779h0 # R 63 - const: renesas,rcar-gen4-hscif # R 64 - const: renesas,hscif # g 65 66 reg: 67 maxItems: 1 68 69 interrupts: 70 maxItems: 1 71 72 clocks: 73 minItems: 1 74 maxItems: 4 75 76 clock-names: 77 minItems: 1 78 maxItems: 4 79 items: 80 enum: 81 - fck # UART functional clock 82 - hsck # optional external clock input 83 - brg_int # optional internal clock so 84 - scif_clk # optional external clock s 85 86 power-domains: 87 maxItems: 1 88 89 resets: 90 maxItems: 1 91 92 dmas: 93 minItems: 2 94 maxItems: 4 95 description: 96 Must contain a list of pairs of referenc 97 transmission, and one for reception. 98 99 dma-names: 100 minItems: 2 101 maxItems: 4 102 items: 103 enum: 104 - tx 105 - rx 106 107 required: 108 - compatible 109 - reg 110 - interrupts 111 - clocks 112 - clock-names 113 - power-domains 114 115 if: 116 properties: 117 compatible: 118 contains: 119 enum: 120 - renesas,rcar-gen2-hscif 121 - renesas,rcar-gen3-hscif 122 - renesas,rcar-gen4-hscif 123 then: 124 required: 125 - resets 126 127 unevaluatedProperties: false 128 129 examples: 130 - | 131 #include <dt-bindings/clock/r8a7795-cpg-ms 132 #include <dt-bindings/interrupt-controller 133 #include <dt-bindings/power/r8a7795-sysc.h 134 aliases { 135 serial1 = &hscif1; 136 }; 137 138 hscif1: serial@e6550000 { 139 compatible = "renesas,hscif-r8a7795", 140 "renesas,hscif"; 141 reg = <0xe6550000 96>; 142 interrupts = <GIC_SPI 155 IRQ_TYPE_LEV 143 clocks = <&cpg CPG_MOD 519>, <&cpg CPG 144 <&scif_clk>; 145 clock-names = "fck", "brg_int", "scif_ 146 dmas = <&dmac1 0x33>, <&dmac1 0x32>, < 147 dma-names = "tx", "rx", "tx", "rx"; 148 power-domains = <&sysc R8A7795_PD_ALWA 149 resets = <&cpg 519>; 150 uart-has-rtscts; 151 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.